LLVM 22.0.0git
|
XtensaConstantPoolValue - Xtensa specific constantpool value. More...
#include "Target/Xtensa/XtensaConstantPoolValue.h"
Protected Member Functions | |
XtensaConstantPoolValue (Type *Ty, unsigned ID, XtensaCP::XtensaCPKind Kind, XtensaCP::XtensaCPModifier Modifier=XtensaCP::no_modifier) | |
XtensaConstantPoolValue (LLVMContext &C, unsigned id, XtensaCP::XtensaCPKind Kind, XtensaCP::XtensaCPModifier Modifier=XtensaCP::no_modifier) | |
template<typename Derived> | |
int | getExistingMachineCPValueImpl (MachineConstantPool *CP, Align Alignment) |
XtensaConstantPoolValue - Xtensa specific constantpool value.
This is used to represent PC-relative displacement between the address of the load instruction and the constant being loaded.
Definition at line 48 of file XtensaConstantPoolValue.h.
|
protected |
Definition at line 24 of file XtensaConstantPoolValue.cpp.
References llvm::MachineConstantPoolValue::MachineConstantPoolValue().
Referenced by llvm::XtensaConstantPoolConstant::classof(), llvm::XtensaConstantPoolJumpTable::classof(), llvm::XtensaConstantPoolMBB::classof(), llvm::XtensaConstantPoolSymbol::classof(), equals(), getExistingMachineCPValueImpl(), llvm::XtensaConstantPoolConstant::hasSameValue(), llvm::XtensaConstantPoolJumpTable::hasSameValue(), llvm::XtensaConstantPoolMBB::hasSameValue(), llvm::XtensaConstantPoolSymbol::hasSameValue(), and hasSameValue().
|
protected |
Definition at line 30 of file XtensaConstantPoolValue.cpp.
References llvm::CallingConv::C, and llvm::MachineConstantPoolValue::MachineConstantPoolValue().
|
override |
Definition at line 36 of file XtensaConstantPoolValue.cpp.
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 53 of file XtensaConstantPoolValue.cpp.
Referenced by llvm::XtensaConstantPoolConstant::addSelectionDAGCSEId(), llvm::XtensaConstantPoolMBB::addSelectionDAGCSEId(), and llvm::XtensaConstantPoolSymbol::addSelectionDAGCSEId().
void XtensaConstantPoolValue::dump | ( | ) | const |
Definition at line 66 of file XtensaConstantPoolValue.cpp.
References llvm::errs().
|
inline |
Definition at line 106 of file XtensaConstantPoolValue.h.
References A(), and XtensaConstantPoolValue().
Referenced by llvm::XtensaConstantPoolConstant::equals(), llvm::XtensaConstantPoolJumpTable::equals(), llvm::XtensaConstantPoolMBB::equals(), llvm::XtensaConstantPoolSymbol::equals(), and getExistingMachineCPValueImpl().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 48 of file XtensaConstantPoolValue.cpp.
References llvm::report_fatal_error().
|
inlineprotected |
Definition at line 64 of file XtensaConstantPoolValue.h.
References llvm::cast(), llvm::dyn_cast(), equals(), llvm::getAlign(), and XtensaConstantPoolValue().
Referenced by llvm::XtensaConstantPoolConstant::getExistingMachineCPValue(), llvm::XtensaConstantPoolJumpTable::getExistingMachineCPValue(), llvm::XtensaConstantPoolMBB::getExistingMachineCPValue(), and llvm::XtensaConstantPoolSymbol::getExistingMachineCPValue().
|
inline |
Definition at line 87 of file XtensaConstantPoolValue.h.
Referenced by llvm::XtensaAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 83 of file XtensaConstantPoolValue.h.
Referenced by llvm::XtensaAsmPrinter::emitMachineConstantPoolValue().
StringRef XtensaConstantPoolValue::getModifierText | ( | ) | const |
Definition at line 38 of file XtensaConstantPoolValue.cpp.
References llvm::XtensaCP::no_modifier, llvm::report_fatal_error(), and llvm::XtensaCP::TPOFF.
Referenced by llvm::XtensaAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 84 of file XtensaConstantPoolValue.h.
References llvm::XtensaCP::no_modifier.
|
virtual |
hasSameValue - Return true if this Xtensa constpool value can share the same constantpool entry as another Xtensa constpool value.
Reimplemented in llvm::XtensaConstantPoolConstant, llvm::XtensaConstantPoolJumpTable, llvm::XtensaConstantPoolMBB, and llvm::XtensaConstantPoolSymbol.
Definition at line 57 of file XtensaConstantPoolValue.cpp.
References XtensaConstantPoolValue().
Referenced by llvm::XtensaConstantPoolConstant::hasSameValue(), llvm::XtensaConstantPoolJumpTable::hasSameValue(), llvm::XtensaConstantPoolMBB::hasSameValue(), and llvm::XtensaConstantPoolSymbol::hasSameValue().
|
inline |
Definition at line 91 of file XtensaConstantPoolValue.h.
References llvm::XtensaCP::CPBlockAddress.
Referenced by llvm::XtensaConstantPoolConstant::classof(), and llvm::XtensaAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 90 of file XtensaConstantPoolValue.h.
References llvm::XtensaCP::CPExtSymbol.
Referenced by llvm::XtensaConstantPoolSymbol::classof(), and llvm::XtensaAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 95 of file XtensaConstantPoolValue.h.
References llvm::XtensaCP::CPJumpTable.
Referenced by llvm::XtensaConstantPoolJumpTable::classof(), and llvm::XtensaAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 92 of file XtensaConstantPoolValue.h.
References llvm::XtensaCP::CPMachineBasicBlock.
Referenced by llvm::XtensaConstantPoolMBB::classof(), and llvm::XtensaAsmPrinter::emitMachineConstantPoolValue().
|
overridevirtual |
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Definition at line 69 of file XtensaConstantPoolValue.cpp.
Referenced by llvm::XtensaConstantPoolConstant::print(), llvm::XtensaConstantPoolJumpTable::print(), llvm::XtensaConstantPoolMBB::print(), and llvm::XtensaConstantPoolSymbol::print().
|
inline |
Definition at line 88 of file XtensaConstantPoolValue.h.
Referenced by llvm::XtensaAsmPrinter::emitMachineConstantPoolEntry().