LLVM 20.0.0git
|
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, Align 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 61 of file ARMConstantPoolValue.h.
|
protected |
Definition at line 33 of file ARMConstantPoolValue.cpp.
|
protected |
Definition at line 42 of file ARMConstantPoolValue.cpp.
|
overridedefault |
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::ARMConstantPoolConstant, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolMBB.
Definition at line 81 of file ARMConstantPoolValue.cpp.
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 123 of file ARMConstantPoolValue.h.
References A.
Referenced by llvm::ARMConstantPoolConstant::equals(), llvm::ARMConstantPoolMBB::equals(), and llvm::ARMConstantPoolSymbol::equals().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::ARMConstantPoolConstant, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolMBB.
Definition at line 75 of file ARMConstantPoolValue.cpp.
References llvm_unreachable.
|
inlineprotected |
Definition at line 79 of file ARMConstantPoolValue.h.
References llvm::getAlign().
|
inline |
Definition at line 104 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 98 of file ARMConstantPoolValue.h.
Referenced by duplicateCPV(), and 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 105 of file ARMConstantPoolValue.h.
Referenced by llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 100 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::ARMConstantPoolConstant, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolMBB.
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 109 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPBlockAddress.
Referenced by llvm::ARMConstantPoolConstant::classof(), duplicateCPV(), and llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 108 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPExtSymbol.
Referenced by llvm::ARMConstantPoolSymbol::classof(), duplicateCPV(), and llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 107 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPValue.
Referenced by llvm::ARMConstantPoolConstant::classof(), duplicateCPV(), and llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 110 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPLSDA.
Referenced by llvm::ARMConstantPoolConstant::classof(), duplicateCPV(), and llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 111 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPMachineBasicBlock.
Referenced by llvm::ARMConstantPoolMBB::classof(), duplicateCPV(), and llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 112 of file ARMConstantPoolValue.h.
References llvm::ARMCP::CPPromotedGlobal.
Referenced by llvm::ARMConstantPoolConstant::classof(), and llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 102 of file ARMConstantPoolValue.h.
Referenced by duplicateCPV(), and llvm::ARMAsmPrinter::emitMachineConstantPoolValue().
|
overridevirtual |
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::ARMConstantPoolConstant, llvm::ARMConstantPoolSymbol, and llvm::ARMConstantPoolMBB.
Definition at line 107 of file ARMConstantPoolValue.cpp.
References getModifierText().
Referenced by llvm::ARMConstantPoolConstant::print(), llvm::ARMConstantPoolSymbol::print(), and llvm::ARMConstantPoolMBB::print().
|
inline |