LLVM: llvm::SystemZConstantPoolValue Class Reference (original) (raw)
A SystemZ-specific constant pool value. More...
#include "[Target/SystemZ/SystemZConstantPoolValue.h](SystemZConstantPoolValue%5F8h%5Fsource.html)"
Inheritance diagram for llvm::SystemZConstantPoolValue:
[legend]
Public Member Functions | |
---|---|
int | getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment) override |
void | addSelectionDAGCSEId (FoldingSetNodeID &ID) override |
void | print (raw_ostream &O) const override |
print - Implement operator<< | |
const GlobalValue * | getGlobalValue () const |
SystemZCP::SystemZCPModifier | getModifier () const |
![]() |
|
MachineConstantPoolValue (Type *ty) | |
virtual | ~MachineConstantPoolValue ()=default |
Type * | getType () const |
virtual unsigned | getSizeInBytes (const DataLayout &DL) const |
virtual int | getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment)=0 |
virtual void | addSelectionDAGCSEId (FoldingSetNodeID &ID)=0 |
virtual void | print (raw_ostream &O) const =0 |
print - Implement operator<< | |
Static Public Member Functions | |
---|---|
static SystemZConstantPoolValue * | Create (const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier) |
Protected Member Functions |
---|
Detailed Description
A SystemZ-specific constant pool value.
At present, the only defined constant pool values are module IDs or offsets of thread-local variables (written x@TLSGD, x@TLSLDM, x@DTPOFF, or x@NTPOFF).
Definition at line 32 of file SystemZConstantPoolValue.h.
Constructor & Destructor Documentation
SystemZConstantPoolValue::SystemZConstantPoolValue ( const GlobalValue * GV, SystemZCP::SystemZCPModifier Modifier ) | protected |
---|
Definition at line 16 of file SystemZConstantPoolValue.cpp.
Member Function Documentation
◆ addSelectionDAGCSEId()
void SystemZConstantPoolValue::addSelectionDAGCSEId ( FoldingSetNodeID & ID) | overridevirtual |
---|
Implements llvm::MachineConstantPoolValue.
Definition at line 42 of file SystemZConstantPoolValue.cpp.
◆ Create()
SystemZConstantPoolValue * SystemZConstantPoolValue::Create ( const GlobalValue * GV, SystemZCP::SystemZCPModifier Modifier ) | static |
---|
Definition at line 22 of file SystemZConstantPoolValue.cpp.
◆ getExistingMachineCPValue()
int SystemZConstantPoolValue::getExistingMachineCPValue ( MachineConstantPool * CP, Align Alignment ) | overridevirtual |
---|
Implements llvm::MachineConstantPoolValue.
Definition at line 27 of file SystemZConstantPoolValue.cpp.
References llvm::getAlign(), and I.
◆ getGlobalValue()
const GlobalValue * llvm::SystemZConstantPoolValue::getGlobalValue ( ) const | inline |
---|
Definition at line 51 of file SystemZConstantPoolValue.h.
◆ getModifier()
SystemZCP::SystemZCPModifier llvm::SystemZConstantPoolValue::getModifier ( ) const | inline |
---|
Definition at line 52 of file SystemZConstantPoolValue.h.
◆ print()
void SystemZConstantPoolValue::print ( raw_ostream & O) const | overridevirtual |
---|
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Definition at line 47 of file SystemZConstantPoolValue.cpp.
The documentation for this class was generated from the following files:
- lib/Target/SystemZ/SystemZConstantPoolValue.h
- lib/Target/SystemZ/SystemZConstantPoolValue.cpp