LLVM: llvm::MachineConstantPoolEntry Class Reference (original) (raw)
This class is a data container for one entry in a MachineConstantPool. More...
#include "[llvm/CodeGen/MachineConstantPool.h](MachineConstantPool%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
MachineConstantPoolEntry (const Constant *V, Align A) | |
MachineConstantPoolEntry (MachineConstantPoolValue *V, Align A) | |
bool | isMachineConstantPoolEntry () const |
isMachineConstantPoolEntry - Return true if the MachineConstantPoolEntry is indeed a target specific constantpool entry, not a wrapper over a Constant. | |
Align | getAlign () const |
unsigned | getSizeInBytes (const DataLayout &DL) const |
bool | needsRelocation () const |
This method classifies the entry according to whether or not it may generate a relocation entry. | |
SectionKind | getSectionKind (const DataLayout *DL) const |
Public Attributes | |
---|---|
union { | |
const Constant * ConstVal | |
MachineConstantPoolValue * MachineCPVal | |
} | Val |
The constant itself. | |
Align | Alignment |
The required alignment for this entry. | |
bool | IsMachineConstantPoolEntry |
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. An entry in a MachineConstantPool
Definition at line 67 of file MachineConstantPool.h.
llvm::MachineConstantPoolEntry::MachineConstantPoolEntry ( const Constant * V, Align A ) | inline |
---|
◆ MachineConstantPoolEntry() [2/2]
◆ getAlign()
Align llvm::MachineConstantPoolEntry::getAlign ( ) const | inline |
---|
◆ getSectionKind()
◆ getSizeInBytes()
◆ isMachineConstantPoolEntry()
bool llvm::MachineConstantPoolEntry::isMachineConstantPoolEntry ( ) const | inline |
---|
◆ needsRelocation()
bool MachineConstantPoolEntry::needsRelocation | ( | ) | const |
---|
◆ Alignment
Align llvm::MachineConstantPoolEntry::Alignment
◆ ConstVal
◆ IsMachineConstantPoolEntry
bool llvm::MachineConstantPoolEntry::IsMachineConstantPoolEntry
◆ MachineCPVal
◆
union { ... } llvm::MachineConstantPoolEntry::Val
The documentation for this class was generated from the following files:
- include/llvm/CodeGen/MachineConstantPool.h
- lib/CodeGen/MachineFunction.cpp