LLVM 22.0.0git
llvm::ARMConstantPoolSymbol Class Reference

ARMConstantPoolSymbol - ARM-specific constantpool values for external symbols. More...

#include "Target/ARM/ARMConstantPoolValue.h"

Inheritance diagram for llvm::ARMConstantPoolSymbol:
[legend]

Public Member Functions

StringRef getSymbol () 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 ARMConstantPoolSymbol *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 ARMConstantPoolSymbolCreate (LLVMContext &C, StringRef s, 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

ARMConstantPoolSymbol - ARM-specific constantpool values for external symbols.

Definition at line 210 of file ARMConstantPoolValue.h.

Member Function Documentation

◆ addSelectionDAGCSEId()

void ARMConstantPoolSymbol::addSelectionDAGCSEId ( FoldingSetNodeID & ID)
overridevirtual

◆ classof()

bool llvm::ARMConstantPoolSymbol::classof ( const ARMConstantPoolValue * ACPV)
inlinestatic

◆ Create()

ARMConstantPoolSymbol * ARMConstantPoolSymbol::Create ( LLVMContext & C,
StringRef s,
unsigned ID,
unsigned char PCAdj )
static

◆ equals()

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

Definition at line 238 of file ARMConstantPoolValue.h.

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

◆ getExistingMachineCPValue()

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

◆ getSymbol()

StringRef llvm::ARMConstantPoolSymbol::getSymbol ( ) const
inline

Definition at line 221 of file ARMConstantPoolValue.h.

◆ hasSameValue()

bool ARMConstantPoolSymbol::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 244 of file ARMConstantPoolValue.cpp.

References llvm::ARMConstantPoolValue::ARMConstantPoolValue(), llvm::dyn_cast(), and llvm::ARMConstantPoolValue::hasSameValue().

◆ print()

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

print - Implement operator<<

Implements llvm::MachineConstantPoolValue.

Definition at line 254 of file ARMConstantPoolValue.cpp.

References llvm::ARMConstantPoolValue::print().


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