|
LLVM 22.0.0git
|
A RISCV-specific constant pool value. More...
#include "Target/RISCV/RISCVConstantPoolValue.h"
Public Member Functions | |
| ~RISCVConstantPoolValue () override=default | |
| bool | isGlobalValue () const |
| bool | isExtSymbol () const |
| const GlobalValue * | getGlobalValue () const |
| StringRef | getSymbol () const |
| int | getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment) override |
| void | addSelectionDAGCSEId (FoldingSetNodeID &ID) override |
| void | print (raw_ostream &O) const override |
| print - Implement operator<< | |
| bool | equals (const RISCVConstantPoolValue *A) const |
| Public Member Functions inherited from llvm::MachineConstantPoolValue | |
| MachineConstantPoolValue (Type *ty) | |
| virtual | ~MachineConstantPoolValue ()=default |
| Type * | getType () const |
| virtual unsigned | getSizeInBytes (const DataLayout &DL) const |
Static Public Member Functions | |
| static RISCVConstantPoolValue * | Create (const GlobalValue *GV) |
| static RISCVConstantPoolValue * | Create (LLVMContext &C, StringRef S) |
A RISCV-specific constant pool value.
Definition at line 28 of file RISCVConstantPoolValue.h.
|
overridedefault |
References llvm::CallingConv::C.
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 54 of file RISCVConstantPoolValue.cpp.
References assert(), isExtSymbol(), and isGlobalValue().
|
static |
Definition at line 29 of file RISCVConstantPoolValue.cpp.
Referenced by getLargeExternalSymbol(), and getLargeGlobalAddress().
|
static |
Definition at line 33 of file RISCVConstantPoolValue.cpp.
References llvm::CallingConv::C.
| bool RISCVConstantPoolValue::equals | ( | const RISCVConstantPoolValue * | A | ) | const |
Definition at line 72 of file RISCVConstantPoolValue.cpp.
References A(), isExtSymbol(), and isGlobalValue().
Referenced by getExistingMachineCPValue().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 38 of file RISCVConstantPoolValue.cpp.
References equals(), and llvm::getAlign().
|
inline |
Definition at line 48 of file RISCVConstantPoolValue.h.
|
inline |
Definition at line 49 of file RISCVConstantPoolValue.h.
|
inline |
Definition at line 46 of file RISCVConstantPoolValue.h.
Referenced by addSelectionDAGCSEId(), equals(), and print().
|
inline |
Definition at line 45 of file RISCVConstantPoolValue.h.
Referenced by addSelectionDAGCSEId(), equals(), and print().
|
overridevirtual |
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Definition at line 63 of file RISCVConstantPoolValue.cpp.
References assert(), isExtSymbol(), and isGlobalValue().