class ConstantData

Declaration

class ConstantData : public Constant { /* full declaration omitted */ };

Description

Base class for constants with no operands. These constants have no operands; they represent their data directly. Since they can be in use by unrelated modules (and are never based on GlobalValues), it never makes sense to RAUW them.

Declared at: llvm/include/llvm/IR/Constants.h:51

Inherits from: Constant

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasMetadata
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 32
public static MaximumAlignment = 1ULL << MaxAlignmentExponent

Method Overview

Inherited from Constant:

Inherited from User:

Inherited from Value:

Methods

ConstantData(llvm::Type* Ty,
             llvm::Value::ValueTy VT)

Declared at: llvm/include/llvm/IR/Constants.h:59

Parameters

llvm::Type* Ty
llvm::Value::ValueTy VT

ConstantData(const llvm::ConstantData&)

Declared at: llvm/include/llvm/IR/Constants.h:66

Parameters

const llvm::ConstantData&

static bool classof(const llvm::Value* V)

Description

Methods to support type inquiry through isa, cast, and dyn_cast.

Declared at: llvm/include/llvm/IR/Constants.h:69

Parameters

const llvm::Value* V

llvm::Value* handleOperandChangeImpl(
    llvm::Value* From,
    llvm::Value* To)

Declared at: llvm/include/llvm/IR/Constants.h:54

Parameters

llvm::Value* From
llvm::Value* To