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

ARMConstantPoolMBB - ARM-specific constantpool value of a machine basic block. More...

#include "Target/ARM/ARMConstantPoolValue.h"

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

Public Member Functions

const MachineBasicBlockgetMBB () const
 
int getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment) override
 
void addSelectionDAGCSEId (FoldingSetNodeID &ID) override
 
bool hasSameValue (ARMConstantPoolValue *ACPV) override
 hasSameValue - Return true if this ARM constpool value can share the same constantpool entry as another ARM constpool value.
 
void print (raw_ostream &O) const override
 print - Implement operator<<
 
bool equals (const ARMConstantPoolMBB *A) const
 
- Public Member Functions inherited from llvm::ARMConstantPoolValue
 ~ARMConstantPoolValue () override
 
ARMCP::ARMCPModifier getModifier () const
 
StringRef getModifierText () const
 
bool hasModifier () const
 
bool mustAddCurrentAddress () const
 
unsigned getLabelId () const
 
unsigned char getPCAdjustment () const
 
bool isGlobalValue () const
 
bool isExtSymbol () const
 
bool isBlockAddress () const
 
bool isLSDA () const
 
bool isMachineBasicBlock () const
 
bool isPromotedGlobal () const
 
int getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment) override
 
void addSelectionDAGCSEId (FoldingSetNodeID &ID) override
 
virtual bool hasSameValue (ARMConstantPoolValue *ACPV)
 hasSameValue - Return true if this ARM constpool value can share the same constantpool entry as another ARM constpool value.
 
bool equals (const ARMConstantPoolValue *A) const
 
void print (raw_ostream &O) const override
 print - Implement operator<<
 
void print (raw_ostream *O) const
 
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 ARMConstantPoolMBBCreate (LLVMContext &C, const MachineBasicBlock *mbb, unsigned ID, unsigned char PCAdj)
 
static bool classof (const ARMConstantPoolValue *ACPV)
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::ARMConstantPoolValue
 ARMConstantPoolValue (Type *Ty, unsigned id, ARMCP::ARMCPKind Kind, unsigned char PCAdj, ARMCP::ARMCPModifier Modifier, bool AddCurrentAddress)
 
 ARMConstantPoolValue (LLVMContext &C, unsigned id, ARMCP::ARMCPKind Kind, unsigned char PCAdj, ARMCP::ARMCPModifier Modifier, bool AddCurrentAddress)
 
template<typename Derived >
int getExistingMachineCPValueImpl (MachineConstantPool *CP, Align Alignment)
 

Detailed Description

ARMConstantPoolMBB - ARM-specific constantpool value of a machine basic block.

Definition at line 245 of file ARMConstantPoolValue.h.

Member Function Documentation

◆ addSelectionDAGCSEId()

void ARMConstantPoolMBB::addSelectionDAGCSEId ( FoldingSetNodeID ID)
overridevirtual

◆ classof()

static bool llvm::ARMConstantPoolMBB::classof ( const ARMConstantPoolValue ACPV)
inlinestatic

◆ Create()

ARMConstantPoolMBB * ARMConstantPoolMBB::Create ( LLVMContext C,
const MachineBasicBlock mbb,
unsigned  ID,
unsigned char  PCAdj 
)
static

Definition at line 272 of file ARMConstantPoolValue.cpp.

References llvm::CallingConv::C, and llvm::ARMCP::no_modifier.

◆ equals()

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

Definition at line 274 of file ARMConstantPoolValue.h.

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

◆ getExistingMachineCPValue()

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

Reimplemented from llvm::ARMConstantPoolValue.

Definition at line 279 of file ARMConstantPoolValue.cpp.

◆ getMBB()

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

Definition at line 257 of file ARMConstantPoolValue.h.

References MBB.

◆ hasSameValue()

bool ARMConstantPoolMBB::hasSameValue ( ARMConstantPoolValue ACPV)
overridevirtual

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

Reimplemented from llvm::ARMConstantPoolValue.

Definition at line 284 of file ARMConstantPoolValue.cpp.

References llvm::ARMConstantPoolValue::hasSameValue().

◆ print()

void ARMConstantPoolMBB::print ( raw_ostream O) const
overridevirtual

print - Implement operator<<

Reimplemented from llvm::ARMConstantPoolValue.

Definition at line 295 of file ARMConstantPoolValue.cpp.

References llvm::ARMConstantPoolValue::print(), and llvm::printMBBReference().


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