llvm::MachineConstantPoolEntry

One entry in a MachineConstantPool.

Synopsis

Declared in <llvm/CodeGen/MachineConstantPool.h>

class MachineConstantPoolEntry;

Description

This class is a data container for one entry in a MachineConstantPool. It contains a pointer to the value and an offset from the start of the constant pool.

Types

NameDescription
Unnamed union The constant itself.

Member Functions

NameDescription
MachineConstantPoolEntry [constructor]Constructors
getAlign Return the required alignment for this entry.
getSectionKind Return the section kind for this constant pool entry.
getSizeInBytes Return the size in bytes of this entry's value.
isMachineConstantPoolEntry isMachineConstantPoolEntry - Return true if the MachineConstantPoolEntry is indeed a target specific constantpool entry, not a wrapper over a Constant.
needsRelocation Return true if this entry may generate a relocation.

Data Members

NameDescription
Alignment The required alignment for this entry.
IsMachineConstantPoolEntry True if Val holds a MachineConstantPoolValue rather than a Constant.
Val The constant itself.