LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::XtensaConstantPoolJumpTable Class Reference

XtensaConstantPoolJumpTable - Xtensa-specific constantpool values for Jump Table symbols. More...

#include "Target/Xtensa/XtensaConstantPoolValue.h"

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

Public Member Functions

unsigned getIndex () 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.
 
void print (raw_ostream &O) const override
 print - Implement operator<<
 
bool equals (const XtensaConstantPoolJumpTable *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 XtensaConstantPoolJumpTableCreate (LLVMContext &C, unsigned Idx)
 
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

XtensaConstantPoolJumpTable - Xtensa-specific constantpool values for Jump Table symbols.

Definition at line 231 of file XtensaConstantPoolValue.h.

Member Function Documentation

◆ addSelectionDAGCSEId()

void XtensaConstantPoolJumpTable::addSelectionDAGCSEId ( FoldingSetNodeID ID)
overridevirtual

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 202 of file XtensaConstantPoolValue.cpp.

◆ classof()

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

◆ Create()

XtensaConstantPoolJumpTable * XtensaConstantPoolJumpTable::Create ( LLVMContext C,
unsigned  Idx 
)
static

Definition at line 184 of file XtensaConstantPoolValue.cpp.

References llvm::CallingConv::C, and Idx.

◆ equals()

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

Definition at line 256 of file XtensaConstantPoolValue.h.

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

◆ getExistingMachineCPValue()

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

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 189 of file XtensaConstantPoolValue.cpp.

◆ getIndex()

unsigned llvm::XtensaConstantPoolJumpTable::getIndex ( ) const
inline

Definition at line 239 of file XtensaConstantPoolValue.h.

References Idx.

◆ hasSameValue()

bool XtensaConstantPoolJumpTable::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 195 of file XtensaConstantPoolValue.cpp.

References llvm::XtensaConstantPoolValue::hasSameValue().

◆ print()

void XtensaConstantPoolJumpTable::print ( raw_ostream O) const
overridevirtual

print - Implement operator<<

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 204 of file XtensaConstantPoolValue.cpp.

References llvm::XtensaConstantPoolValue::print().


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