LLVM API Documentation
#include <MachineConstantPool.h>
Public Member Functions | |
| MachineConstantPoolEntry (Constant *V, unsigned O) | |
| MachineConstantPoolEntry (MachineConstantPoolValue *V, unsigned O) | |
| bool | isMachineConstantPoolEntry () const |
| int | getOffset () const |
| const Type * | getType () const |
Public Attributes | |
| union { | |
| Constant * ConstVal | |
| MachineConstantPoolValue * MachineCPVal | |
| } | Val |
| The constant itself. | |
| unsigned | Offset |
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.
Definition at line 64 of file MachineConstantPool.h.
| llvm::MachineConstantPoolEntry::MachineConstantPoolEntry | ( | MachineConstantPoolValue * | V, | |
| unsigned | O | |||
| ) | [inline] |
| bool llvm::MachineConstantPoolEntry::isMachineConstantPoolEntry | ( | ) | const [inline] |
Definition at line 88 of file MachineConstantPool.h.
References Offset.
Referenced by llvm::AsmPrinter::EmitConstantPool(), GetConstantPoolSizeInBytes(), and getType().
| int llvm::MachineConstantPoolEntry::getOffset | ( | ) | const [inline] |
Definition at line 92 of file MachineConstantPool.h.
References Offset.
Referenced by llvm::AsmPrinter::EmitConstantPool().
| const Type * MachineConstantPoolEntry::getType | ( | ) | const |
Definition at line 492 of file MachineFunction.cpp.
References isMachineConstantPoolEntry(), and Val.
Referenced by llvm::AsmPrinter::EmitConstantPool().
Definition at line 68 of file MachineConstantPool.h.
Referenced by llvm::AsmPrinter::EmitConstantPool(), and GetConstantPoolSizeInBytes().
Definition at line 69 of file MachineConstantPool.h.
Referenced by llvm::AsmPrinter::EmitConstantPool(), and GetConstantPoolSizeInBytes().
| union { ... } llvm::MachineConstantPoolEntry::Val |
The constant itself.
Referenced by llvm::AsmPrinter::EmitConstantPool(), GetConstantPoolSizeInBytes(), getType(), and MachineConstantPoolEntry().
The offset of the constant from the start of the pool. The top bit is set when Val is a MachineConstantPoolValue.
Definition at line 74 of file MachineConstantPool.h.
Referenced by GetConstantPoolSizeInBytes(), getOffset(), isMachineConstantPoolEntry(), and MachineConstantPoolEntry().