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

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

#include "Target/ARM/ARMConstantPoolValue.h"

Inheritance diagram for llvm::ARMConstantPoolSymbol:
Inheritance graph
[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
 
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 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()

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

Definition at line 234 of file ARMConstantPoolValue.h.

References llvm::ARMConstantPoolValue::isExtSymbol().

◆ 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

Reimplemented from llvm::ARMConstantPoolValue.

Definition at line 239 of file ARMConstantPoolValue.cpp.

◆ 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::hasSameValue().

◆ print()

void ARMConstantPoolSymbol::print ( raw_ostream O) const
overridevirtual

print - Implement operator<<

Reimplemented from llvm::ARMConstantPoolValue.

Definition at line 254 of file ARMConstantPoolValue.cpp.

References llvm::ARMConstantPoolValue::print().


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