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

XtensaConstantPoolSymbol - Xtensa-specific constantpool values for external symbols. More...

#include "Target/Xtensa/XtensaConstantPoolValue.h"

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

Public Member Functions

const chargetSymbol () const
 
int getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment) override
 
void addSelectionDAGCSEId (FoldingSetNodeID &ID) override
 
bool hasSameValue (XtensaConstantPoolValue *ACPV) override
 hasSameValue - Return true if this Xtensa constpool value can share the same constantpool entry as another Xtensa constpool value.
 
bool isPrivateLinkage ()
 
void print (raw_ostream &O) const override
 print - Implement operator<<
 
bool equals (const XtensaConstantPoolSymbol *A) const
 
- Public Member Functions inherited from llvm::XtensaConstantPoolValue
 ~XtensaConstantPoolValue () override
 
XtensaCP::XtensaCPModifier getModifier () const
 
bool hasModifier () const
 
StringRef getModifierText () const
 
unsigned getLabelId () const
 
void setLabelId (unsigned ID)
 
bool isExtSymbol () const
 
bool isBlockAddress () const
 
bool isMachineBasicBlock () const
 
bool isJumpTable () const
 
int getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment) override
 
void addSelectionDAGCSEId (FoldingSetNodeID &ID) override
 
virtual bool hasSameValue (XtensaConstantPoolValue *ACPV)
 hasSameValue - Return true if this Xtensa constpool value can share the same constantpool entry as another Xtensa constpool value.
 
bool equals (const XtensaConstantPoolValue *A) const
 
void print (raw_ostream &O) const override
 print - Implement operator<<
 
void dump () const
 
- 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 XtensaConstantPoolSymbolCreate (LLVMContext &C, const char *S, unsigned ID, bool PrivLinkage, XtensaCP::XtensaCPModifier Modifier=XtensaCP::no_modifier)
 
static bool classof (const XtensaConstantPoolValue *ACPV)
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::XtensaConstantPoolValue
 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)
 

Detailed Description

XtensaConstantPoolSymbol - Xtensa-specific constantpool values for external symbols.

Definition at line 158 of file XtensaConstantPoolValue.h.

Member Function Documentation

◆ addSelectionDAGCSEId()

void XtensaConstantPoolSymbol::addSelectionDAGCSEId ( FoldingSetNodeID ID)
overridevirtual

◆ classof()

static bool llvm::XtensaConstantPoolSymbol::classof ( const XtensaConstantPoolValue ACPV)
inlinestatic

◆ Create()

XtensaConstantPoolSymbol * XtensaConstantPoolSymbol::Create ( LLVMContext C,
const char S,
unsigned  ID,
bool  PrivLinkage,
XtensaCP::XtensaCPModifier  Modifier = XtensaCP::no_modifier 
)
static

Definition at line 119 of file XtensaConstantPoolValue.cpp.

References llvm::CallingConv::C.

Referenced by llvm::XtensaTargetLowering::LowerCall().

◆ equals()

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

Definition at line 190 of file XtensaConstantPoolValue.h.

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

◆ getExistingMachineCPValue()

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

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 127 of file XtensaConstantPoolValue.cpp.

◆ getSymbol()

const char * llvm::XtensaConstantPoolSymbol::getSymbol ( ) const
inline

◆ hasSameValue()

bool XtensaConstantPoolSymbol::hasSameValue ( XtensaConstantPoolValue ACPV)
overridevirtual

hasSameValue - Return true if this Xtensa constpool value can share the same constantpool entry as another Xtensa constpool value.

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 132 of file XtensaConstantPoolValue.cpp.

References llvm::XtensaConstantPoolValue::hasSameValue().

◆ isPrivateLinkage()

bool llvm::XtensaConstantPoolSymbol::isPrivateLinkage ( )
inline

◆ print()

void XtensaConstantPoolSymbol::print ( raw_ostream O) const
overridevirtual

print - Implement operator<<

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 143 of file XtensaConstantPoolValue.cpp.

References llvm::XtensaConstantPoolValue::print().


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