LLVM 20.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.
|
protected |
Definition at line 30 of file XtensaConstantPoolValue.cpp.
|
override |
Definition at line 36 of file XtensaConstantPoolValue.cpp.
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::XtensaConstantPoolConstant, llvm::XtensaConstantPoolSymbol, llvm::XtensaConstantPoolMBB, and llvm::XtensaConstantPoolJumpTable.
Definition at line 53 of file XtensaConstantPoolValue.cpp.
Referenced by llvm::XtensaConstantPoolConstant::addSelectionDAGCSEId(), llvm::XtensaConstantPoolSymbol::addSelectionDAGCSEId(), and llvm::XtensaConstantPoolMBB::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.
Referenced by llvm::XtensaConstantPoolConstant::equals(), llvm::XtensaConstantPoolJumpTable::equals(), llvm::XtensaConstantPoolMBB::equals(), and llvm::XtensaConstantPoolSymbol::equals().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::XtensaConstantPoolConstant, llvm::XtensaConstantPoolSymbol, llvm::XtensaConstantPoolMBB, and llvm::XtensaConstantPoolJumpTable.
Definition at line 48 of file XtensaConstantPoolValue.cpp.
References llvm::report_fatal_error().
|
inlineprotected |
Definition at line 64 of file XtensaConstantPoolValue.h.
References llvm::getAlign().
|
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::XtensaConstantPoolSymbol, llvm::XtensaConstantPoolMBB, and llvm::XtensaConstantPoolJumpTable.
Definition at line 57 of file XtensaConstantPoolValue.cpp.
Referenced by llvm::XtensaConstantPoolConstant::hasSameValue(), llvm::XtensaConstantPoolSymbol::hasSameValue(), llvm::XtensaConstantPoolMBB::hasSameValue(), and llvm::XtensaConstantPoolJumpTable::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().
|
overridevirtual |
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::XtensaConstantPoolConstant, llvm::XtensaConstantPoolSymbol, llvm::XtensaConstantPoolMBB, and llvm::XtensaConstantPoolJumpTable.
Definition at line 69 of file XtensaConstantPoolValue.cpp.
Referenced by llvm::XtensaConstantPoolConstant::print(), llvm::XtensaConstantPoolSymbol::print(), llvm::XtensaConstantPoolMBB::print(), and llvm::XtensaConstantPoolJumpTable::print().
|
inline |
Definition at line 88 of file XtensaConstantPoolValue.h.
Referenced by llvm::XtensaAsmPrinter::emitMachineConstantPoolEntry().