LLVM 22.0.0git
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:
[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
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

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()

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.

Referenced by duplicateCPV().

◆ equals()

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

Definition at line 274 of file ARMConstantPoolValue.h.

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

◆ getExistingMachineCPValue()

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

◆ getMBB()

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

Definition at line 257 of file ARMConstantPoolValue.h.

◆ 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::ARMConstantPoolValue(), llvm::dyn_cast(), and llvm::ARMConstantPoolValue::hasSameValue().

◆ print()

void ARMConstantPoolMBB::print ( raw_ostream & O) const
overridevirtual

print - Implement operator<<

Implements llvm::MachineConstantPoolValue.

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: