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

XtensaConstantPoolMBB - Xtensa-specific constantpool value of a machine basic block. More...

#include "Target/Xtensa/XtensaConstantPoolValue.h"

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

Public Member Functions

const MachineBasicBlockgetMBB () 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 XtensaConstantPoolMBB *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 XtensaConstantPoolMBBCreate (LLVMContext &C, const MachineBasicBlock *M, unsigned ID)
 
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

XtensaConstantPoolMBB - Xtensa-specific constantpool value of a machine basic block.

Definition at line 197 of file XtensaConstantPoolValue.h.

Member Function Documentation

◆ addSelectionDAGCSEId()

void XtensaConstantPoolMBB::addSelectionDAGCSEId ( FoldingSetNodeID ID)
overridevirtual

◆ classof()

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

◆ Create()

XtensaConstantPoolMBB * XtensaConstantPoolMBB::Create ( LLVMContext C,
const MachineBasicBlock M,
unsigned  ID 
)
static

Definition at line 153 of file XtensaConstantPoolValue.cpp.

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

◆ equals()

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

Definition at line 224 of file XtensaConstantPoolValue.h.

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

◆ getExistingMachineCPValue()

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

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 159 of file XtensaConstantPoolValue.cpp.

◆ getMBB()

const MachineBasicBlock * llvm::XtensaConstantPoolMBB::getMBB ( ) const
inline

Definition at line 207 of file XtensaConstantPoolValue.h.

References MBB.

◆ hasSameValue()

bool XtensaConstantPoolMBB::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 164 of file XtensaConstantPoolValue.cpp.

References llvm::XtensaConstantPoolValue::hasSameValue().

◆ print()

void XtensaConstantPoolMBB::print ( raw_ostream O) const
overridevirtual

print - Implement operator<<

Reimplemented from llvm::XtensaConstantPoolValue.

Definition at line 175 of file XtensaConstantPoolValue.cpp.

References llvm::MachineBasicBlock::getNumber(), and llvm::XtensaConstantPoolValue::print().


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