LLVM
8.0.1
|
ARMConstantPoolValue - ARM specific constantpool value. More...
#include "Target/ARM/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 62 of file ARMConstantPoolValue.h.
|
protected |
Definition at line 33 of file ARMConstantPoolValue.cpp.
Referenced by print(), llvm::ARMConstantPoolConstant::print(), and llvm::ARMConstantPoolSymbol::print().
|
protected |
Definition at line 42 of file ARMConstantPoolValue.cpp.
References ~ARMConstantPoolValue().
|
overridedefault |
Referenced by ARMConstantPoolValue().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::ARMConstantPoolMBB, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolConstant.
Definition at line 81 of file ARMConstantPoolValue.cpp.
References llvm::FoldingSetNodeID::AddInteger().
Referenced by llvm::ARMConstantPoolConstant::addSelectionDAGCSEId(), llvm::ARMConstantPoolSymbol::addSelectionDAGCSEId(), and llvm::ARMConstantPoolMBB::addSelectionDAGCSEId().
LLVM_DUMP_METHOD void ARMConstantPoolValue::dump | ( | ) | const |
Definition at line 102 of file ARMConstantPoolValue.cpp.
References llvm::errs().
|
inline |
Definition at line 126 of file ARMConstantPoolValue.h.
References llvm::RISCVFenceField::O, and print().
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 75 of file ARMConstantPoolValue.cpp.
References llvm_unreachable.
|
inlineprotected |
Definition at line 80 of file ARMConstantPoolValue.h.
References llvm::MachineConstantPool::getConstants().
|
inline |
Definition at line 107 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 101 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
StringRef ARMConstantPoolValue::getModifierText | ( | ) | const |
Definition at line 53 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::GOT_PREL, llvm::ARMCP::GOTTPOFF, llvm_unreachable, llvm::ARMCP::no_modifier, llvm::ARMCP::SBREL, llvm::ARMCP::SECREL, llvm::ARMCP::TLSGD, and llvm::ARMCP::TPOFF.
Referenced by print().
Definition at line 108 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 103 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 87 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 112 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPBlockAddress.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 111 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPExtSymbol.
Referenced by llvm::ARMConstantPoolSymbol::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 110 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPValue.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 113 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPLSDA.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 114 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPMachineBasicBlock.
Referenced by llvm::ARMConstantPoolMBB::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 115 of file ARMConstantPoolValue.h.
References llvm::HexagonISD::CP, and llvm::ARMCP::CPPromotedGlobal.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::EmitMachineConstantPoolValue().
|
inline |
Definition at line 105 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 107 of file ARMConstantPoolValue.cpp.
References ARMConstantPoolValue(), C, llvm::ARMCP::CPPromotedGlobal, getModifierText(), llvm::Value::getType(), and llvm::ARMCP::no_modifier.
Referenced by llvm::operator<<(), llvm::ARMConstantPoolConstant::print(), llvm::ARMConstantPoolSymbol::print(), and llvm::ARMConstantPoolMBB::print().
|
inline |
Definition at line 133 of file ARMConstantPoolValue.h.
References llvm::dump(), and print().
Referenced by print().