LLVM  8.0.1
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]
Collaboration diagram for llvm::ARMConstantPoolSymbol:
Collaboration graph
[legend]

Public Member Functions

StringRef getSymbol () const
 
int getExistingMachineCPValue (MachineConstantPool *CP, unsigned 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. More...
 
void print (raw_ostream &O) const override
 print - Implement operator<< More...
 
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
 
bool equals (const ARMConstantPoolValue *A) const
 
void print (raw_ostream *O) const
 
void dump () const
 
- Public Member Functions inherited from llvm::MachineConstantPoolValue
 MachineConstantPoolValue (Type *ty)
 
virtual ~MachineConstantPoolValue ()=default
 
TypegetType () const
 getType - get type of this MachineConstantPoolValue. More...
 

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, unsigned Alignment)
 

Detailed Description

ARMConstantPoolSymbol - ARM-specific constantpool values for external symbols.

Definition at line 213 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 237 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 241 of file ARMConstantPoolValue.h.

References llvm::ARMConstantPoolValue::equals().

◆ getExistingMachineCPValue()

int ARMConstantPoolSymbol::getExistingMachineCPValue ( MachineConstantPool CP,
unsigned  Alignment 
)
overridevirtual

Reimplemented from llvm::ARMConstantPoolValue.

Definition at line 239 of file ARMConstantPoolValue.cpp.

References llvm::HexagonISD::CP.

◆ getSymbol()

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

Definition at line 224 of file ARMConstantPoolValue.h.

References llvm::HexagonISD::CP, llvm::RISCVFenceField::O, and print().

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

◆ print()

void ARMConstantPoolSymbol::print ( raw_ostream O) const
overridevirtual

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