LLVM 20.0.0git
|
CSKYConstantPoolValue - CSKY specific constantpool value. More...
#include "Target/CSKY/CSKYConstantPoolValue.h"
Protected Member Functions | |
CSKYConstantPoolValue (Type *Ty, CSKYCP::CSKYCPKind Kind, unsigned PCAdjust, CSKYCP::CSKYCPModifier Modifier, bool AddCurrentAddress, unsigned ID=0) | |
Protected Attributes | |
CSKYCP::CSKYCPKind | Kind |
unsigned | PCAdjust |
CSKYCP::CSKYCPModifier | Modifier |
bool | AddCurrentAddress |
unsigned | LabelId = 0 |
CSKYConstantPoolValue - CSKY 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 46 of file CSKYConstantPoolValue.h.
|
protected |
Definition at line 27 of file CSKYConstantPoolValue.cpp.
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::CSKYConstantPoolConstant, llvm::CSKYConstantPoolSymbol, llvm::CSKYConstantPoolMBB, and llvm::CSKYConstantPoolJT.
Definition at line 62 of file CSKYConstantPoolValue.cpp.
References LabelId, Modifier, and PCAdjust.
Referenced by llvm::CSKYConstantPoolConstant::addSelectionDAGCSEId(), llvm::CSKYConstantPoolSymbol::addSelectionDAGCSEId(), llvm::CSKYConstantPoolMBB::addSelectionDAGCSEId(), and llvm::CSKYConstantPoolJT::addSelectionDAGCSEId().
|
inline |
Definition at line 82 of file CSKYConstantPoolValue.h.
References A.
Referenced by llvm::CSKYConstantPoolConstant::equals(), llvm::CSKYConstantPoolJT::equals(), llvm::CSKYConstantPoolMBB::equals(), and llvm::CSKYConstantPoolSymbol::equals().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::CSKYConstantPoolConstant, llvm::CSKYConstantPoolSymbol, llvm::CSKYConstantPoolMBB, and llvm::CSKYConstantPoolJT.
Definition at line 57 of file CSKYConstantPoolValue.cpp.
References llvm_unreachable.
|
inline |
Definition at line 88 of file CSKYConstantPoolValue.h.
References llvm::getAlign().
|
inline |
Definition at line 64 of file CSKYConstantPoolValue.h.
References LabelId.
Referenced by llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 63 of file CSKYConstantPoolValue.h.
References Modifier.
Referenced by llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
Definition at line 35 of file CSKYConstantPoolValue.cpp.
References llvm::CSKYCP::ADDR, llvm::CSKYCP::GOT, llvm::CSKYCP::GOTOFF, llvm_unreachable, Modifier, llvm::CSKYCP::NO_MOD, llvm::CSKYCP::PLT, llvm::CSKYCP::TLSGD, llvm::CSKYCP::TLSIE, and llvm::CSKYCP::TLSLE.
Referenced by print().
|
inline |
Definition at line 61 of file CSKYConstantPoolValue.h.
References PCAdjust.
Referenced by llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 68 of file CSKYConstantPoolValue.h.
References llvm::CSKYCP::CPBlockAddress, and Kind.
Referenced by llvm::CSKYConstantPoolConstant::classof(), and llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 73 of file CSKYConstantPoolValue.h.
References llvm::CSKYCP::CPConstPool, and Kind.
Referenced by llvm::CSKYConstantPoolConstant::classof(), and llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 67 of file CSKYConstantPoolValue.h.
References llvm::CSKYCP::CPExtSymbol, and Kind.
Referenced by llvm::CSKYConstantPoolSymbol::classof(), and llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 66 of file CSKYConstantPoolValue.h.
References llvm::CSKYCP::CPValue, and Kind.
Referenced by llvm::CSKYConstantPoolConstant::classof(), and llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 72 of file CSKYConstantPoolValue.h.
References llvm::CSKYCP::CPJT, and Kind.
Referenced by llvm::CSKYConstantPoolJT::classof(), and llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 69 of file CSKYConstantPoolValue.h.
References llvm::CSKYCP::CPMachineBasicBlock, and Kind.
Referenced by llvm::CSKYConstantPoolMBB::classof(), and llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
inline |
Definition at line 62 of file CSKYConstantPoolValue.h.
References AddCurrentAddress.
Referenced by llvm::CSKYAsmPrinter::emitMachineConstantPoolValue().
|
overridevirtual |
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Reimplemented in llvm::CSKYConstantPoolConstant, llvm::CSKYConstantPoolSymbol, llvm::CSKYConstantPoolMBB, and llvm::CSKYConstantPoolJT.
Definition at line 68 of file CSKYConstantPoolValue.cpp.
References getModifierText(), Modifier, and PCAdjust.
Referenced by llvm::CSKYConstantPoolConstant::print(), llvm::CSKYConstantPoolSymbol::print(), llvm::CSKYConstantPoolMBB::print(), and llvm::CSKYConstantPoolJT::print().
|
protected |
Definition at line 51 of file CSKYConstantPoolValue.h.
Referenced by llvm::CSKYConstantPoolConstant::Create(), and mustAddCurrentAddress().
|
protected |
Definition at line 48 of file CSKYConstantPoolValue.h.
Referenced by llvm::CSKYConstantPoolConstant::Create(), isBlockAddress(), isConstPool(), isExtSymbol(), isGlobalValue(), isJT(), and isMachineBasicBlock().
|
protected |
Definition at line 53 of file CSKYConstantPoolValue.h.
Referenced by addSelectionDAGCSEId(), and getLabelID().
|
protected |
Definition at line 50 of file CSKYConstantPoolValue.h.
Referenced by addSelectionDAGCSEId(), llvm::CSKYConstantPoolConstant::Create(), llvm::CSKYConstantPoolSymbol::Create(), llvm::CSKYConstantPoolJT::Create(), getModifier(), getModifierText(), and print().
|
protected |
Definition at line 49 of file CSKYConstantPoolValue.h.
Referenced by addSelectionDAGCSEId(), llvm::CSKYConstantPoolConstant::Create(), llvm::CSKYConstantPoolSymbol::Create(), llvm::CSKYConstantPoolMBB::Create(), getPCAdjustment(), and print().