|
LLVM
3.7.0
|
ARMConstantPoolValue - ARM specific constantpool value. More...
#include <ARMConstantPoolValue.h>
Protected Member Functions | |
| ARMConstantPoolValue (Type *Ty, unsigned id, ARMCP::ARMCPKind Kind, unsigned char PCAdj, ARMCP::ARMCPModifier Modifier, bool AddCurrentAddress) | |
| ARMConstantPoolValue (LLVMContext &C, unsigned id, ARMCP::ARMCPKind Kind, unsigned char PCAdj, ARMCP::ARMCPModifier Modifier, bool AddCurrentAddress) | |
| template<typename Derived > | |
| int | getExistingMachineCPValueImpl (MachineConstantPool *CP, unsigned Alignment) |
ARMConstantPoolValue - ARM specific constantpool value.
This is used to represent PC-relative displacement between the address of the load instruction and the constant being loaded, i.e. (&GV-(LPIC+8)).
Definition at line 52 of file ARMConstantPoolValue.h.
|
protected |
Definition at line 29 of file ARMConstantPoolValue.cpp.
|
protected |
Definition at line 38 of file ARMConstantPoolValue.cpp.
|
override |
Definition at line 47 of file ARMConstantPoolValue.cpp.
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::ARMConstantPoolMBB, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolConstant.
Definition at line 69 of file ARMConstantPoolValue.cpp.
References llvm::FoldingSetNodeID::AddInteger().
Referenced by llvm::ARMConstantPoolConstant::addSelectionDAGCSEId(), llvm::ARMConstantPoolSymbol::addSelectionDAGCSEId(), and llvm::ARMConstantPoolMBB::addSelectionDAGCSEId().
| void ARMConstantPoolValue::dump | ( | ) | const |
Definition at line 89 of file ARMConstantPoolValue.cpp.
References llvm::errs().
|
inline |
Definition at line 117 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMConstantPoolConstant::equals(), llvm::ARMConstantPoolSymbol::equals(), and llvm::ARMConstantPoolMBB::equals().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::ARMConstantPoolMBB, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolConstant.
Definition at line 63 of file ARMConstantPoolValue.cpp.
References llvm_unreachable.
|
inlineprotected |
Definition at line 70 of file ARMConstantPoolValue.h.
References llvm::MachineConstantPool::getConstants(), and if().
|
inline |
Definition at line 97 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 91 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
| const char * ARMConstantPoolValue::getModifierText | ( | ) | const |
Definition at line 49 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::GOT, llvm::ARMCP::GOTOFF, llvm::ARMCP::GOTTPOFF, llvm_unreachable, llvm::ARMCP::no_modifier, llvm::ARMCP::TLSGD, and llvm::ARMCP::TPOFF.
Referenced by print().
|
inline |
Definition at line 98 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inlineoverridevirtual |
getRelocationInfo - This method classifies the entry according to whether or not it may generate a relocation entry.
This must be conservative, so if it might codegen to a relocatable entry, it should say so. The return values are the same as Constant::getRelocationInfo().
Implements llvm::MachineConstantPoolValue.
Definition at line 106 of file ARMConstantPoolValue.h.
|
inline |
Definition at line 93 of file ARMConstantPoolValue.h.
References llvm::ARMCP::no_modifier.
|
virtual |
hasSameValue - Return true if this ARM constpool value can share the same constantpool entry as another ARM constpool value.
Reimplemented in llvm::ARMConstantPoolMBB, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolConstant.
Definition at line 75 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::CPExtSymbol, and llvm::ARMCP::CPValue.
Referenced by llvm::ARMConstantPoolConstant::hasSameValue(), llvm::ARMConstantPoolSymbol::hasSameValue(), llvm::ARMConstantPoolMBB::hasSameValue(), and llvm::ARMBaseInstrInfo::produceSameValue().
|
inline |
Definition at line 102 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPBlockAddress.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 101 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPExtSymbol.
Referenced by llvm::ARMConstantPoolSymbol::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 100 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPValue.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 103 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPLSDA.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 104 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPMachineBasicBlock.
Referenced by llvm::ARMConstantPoolMBB::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 95 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
overridevirtual |
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::ARMConstantPoolMBB, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolConstant.
Definition at line 93 of file ARMConstantPoolValue.cpp.
References getModifierText().
Referenced by llvm::operator<<(), llvm::ARMConstantPoolConstant::print(), llvm::ARMConstantPoolSymbol::print(), and llvm::ARMConstantPoolMBB::print().
|
inline |
1.8.6