LLVM 22.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.
References llvm::MachineConstantPoolValue::MachineConstantPoolValue().
Referenced by llvm::ARMConstantPoolConstant::classof(), llvm::ARMConstantPoolMBB::classof(), llvm::ARMConstantPoolSymbol::classof(), equals(), llvm::ARMConstantPoolConstant::getExistingMachineCPValue(), getExistingMachineCPValueImpl(), llvm::ARMConstantPoolConstant::hasSameValue(), llvm::ARMConstantPoolMBB::hasSameValue(), llvm::ARMConstantPoolSymbol::hasSameValue(), and hasSameValue().
|
protected |
Definition at line 42 of file ARMConstantPoolValue.cpp.
References llvm::CallingConv::C, and llvm::MachineConstantPoolValue::MachineConstantPoolValue().
|
overridedefault |
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 81 of file ARMConstantPoolValue.cpp.
Referenced by llvm::ARMConstantPoolConstant::addSelectionDAGCSEId(), llvm::ARMConstantPoolMBB::addSelectionDAGCSEId(), and llvm::ARMConstantPoolSymbol::addSelectionDAGCSEId().
LLVM_DUMP_METHOD void ARMConstantPoolValue::dump | ( | ) | const |
Definition at line 102 of file ARMConstantPoolValue.cpp.
References llvm::errs(), and LLVM_DUMP_METHOD.
|
inline |
Definition at line 123 of file ARMConstantPoolValue.h.
References A(), and ARMConstantPoolValue().
Referenced by llvm::ARMConstantPoolConstant::equals(), llvm::ARMConstantPoolMBB::equals(), llvm::ARMConstantPoolSymbol::equals(), and getExistingMachineCPValueImpl().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 75 of file ARMConstantPoolValue.cpp.
References llvm_unreachable.
|
inlineprotected |
Definition at line 79 of file ARMConstantPoolValue.h.
References ARMConstantPoolValue(), llvm::cast(), llvm::dyn_cast(), equals(), and llvm::getAlign().
Referenced by llvm::ARMConstantPoolConstant::getExistingMachineCPValue(), llvm::ARMConstantPoolMBB::getExistingMachineCPValue(), and llvm::ARMConstantPoolSymbol::getExistingMachineCPValue().
|
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::ARMConstantPoolMBB, and llvm::ARMConstantPoolSymbol.
Definition at line 87 of file ARMConstantPoolValue.cpp.
References ARMConstantPoolValue(), llvm::ARMCP::CPExtSymbol, and llvm::ARMCP::CPValue.
Referenced by llvm::ARMConstantPoolConstant::hasSameValue(), llvm::ARMConstantPoolMBB::hasSameValue(), llvm::ARMConstantPoolSymbol::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.
Definition at line 107 of file ARMConstantPoolValue.cpp.
References getModifierText().
Referenced by llvm::ARMConstantPoolConstant::print(), llvm::ARMConstantPoolMBB::print(), and llvm::ARMConstantPoolSymbol::print().
|
inline |