LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::CSKYConstantPoolSymbol Class Reference

CSKYConstantPoolSymbol - CSKY-specific constantpool values for external symbols. More...

#include "Target/CSKY/CSKYConstantPoolValue.h"

Inheritance diagram for llvm::CSKYConstantPoolSymbol:
Inheritance graph
[legend]

Public Member Functions

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 CSKYConstantPoolSymbol *A) const
 
- Public Member Functions inherited from llvm::CSKYConstantPoolValue
const chargetModifierText () const
 
unsigned getPCAdjustment () const
 
bool mustAddCurrentAddress () const
 
CSKYCP::CSKYCPModifier getModifier () const
 
unsigned getLabelID () const
 
bool isGlobalValue () const
 
bool isExtSymbol () const
 
bool isBlockAddress () const
 
bool isMachineBasicBlock () const
 
bool isJT () const
 
bool isConstPool () 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 CSKYConstantPoolValue *A) const
 
template<typename Derived >
int getExistingMachineCPValueImpl (MachineConstantPool *CP, Align Alignment)
 
- Public Member Functions inherited from llvm::MachineConstantPoolValue
 MachineConstantPoolValue (Type *ty)
 
virtual ~MachineConstantPoolValue ()=default
 
TypegetType () const
 
virtual unsigned getSizeInBytes (const DataLayout &DL) const
 
virtual int getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment)=0
 
virtual void addSelectionDAGCSEId (FoldingSetNodeID &ID)=0
 
virtual void print (raw_ostream &O) const =0
 print - Implement operator<<
 

Static Public Member Functions

static CSKYConstantPoolSymbolCreate (Type *Ty, const char *S, unsigned PCAdjust, CSKYCP::CSKYCPModifier Modifier)
 
static bool classof (const CSKYConstantPoolValue *ACPV)
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::CSKYConstantPoolValue
 CSKYConstantPoolValue (Type *Ty, CSKYCP::CSKYCPKind Kind, unsigned PCAdjust, CSKYCP::CSKYCPModifier Modifier, bool AddCurrentAddress, unsigned ID=0)
 
- Protected Attributes inherited from llvm::CSKYConstantPoolValue
CSKYCP::CSKYCPKind Kind
 
unsigned PCAdjust
 
CSKYCP::CSKYCPModifier Modifier
 
bool AddCurrentAddress
 
unsigned LabelId = 0
 

Detailed Description

CSKYConstantPoolSymbol - CSKY-specific constantpool values for external symbols.

Definition at line 143 of file CSKYConstantPoolValue.h.

Member Function Documentation

◆ addSelectionDAGCSEId()

void CSKYConstantPoolSymbol::addSelectionDAGCSEId ( FoldingSetNodeID ID)
overridevirtual

◆ classof()

static bool llvm::CSKYConstantPoolSymbol::classof ( const CSKYConstantPoolValue ACPV)
inlinestatic

◆ Create()

CSKYConstantPoolSymbol * CSKYConstantPoolSymbol::Create ( Type Ty,
const char S,
unsigned  PCAdjust,
CSKYCP::CSKYCPModifier  Modifier 
)
static

◆ equals()

bool llvm::CSKYConstantPoolSymbol::equals ( const CSKYConstantPoolSymbol A) const
inline

Definition at line 162 of file CSKYConstantPoolValue.h.

References A, and llvm::CSKYConstantPoolValue::equals().

◆ getExistingMachineCPValue()

int CSKYConstantPoolSymbol::getExistingMachineCPValue ( MachineConstantPool CP,
Align  Alignment 
)
overridevirtual

Reimplemented from llvm::CSKYConstantPoolValue.

Definition at line 148 of file CSKYConstantPoolValue.cpp.

◆ getSymbol()

StringRef llvm::CSKYConstantPoolSymbol::getSymbol ( ) const
inline

Definition at line 155 of file CSKYConstantPoolValue.h.

◆ print()

void CSKYConstantPoolSymbol::print ( raw_ostream O) const
overridevirtual

print - Implement operator<<

Reimplemented from llvm::CSKYConstantPoolValue.

Definition at line 159 of file CSKYConstantPoolValue.cpp.

References llvm::CSKYConstantPoolValue::print().


The documentation for this class was generated from the following files: