LLVM 22.0.0git
|
ARMConstantPoolConstant - ARM-specific constant pool values for Constants, Functions, and BlockAddresses. More...
#include "Target/ARM/ARMConstantPoolValue.h"
Public Types | |
using | promoted_iterator = SmallPtrSet<const GlobalVariable *, 1>::iterator |
Static Public Member Functions | |
static ARMConstantPoolConstant * | Create (const Constant *C, unsigned ID) |
static ARMConstantPoolConstant * | Create (const GlobalValue *GV, ARMCP::ARMCPModifier Modifier) |
static ARMConstantPoolConstant * | Create (const GlobalVariable *GV, const Constant *Initializer) |
static ARMConstantPoolConstant * | Create (const Constant *C, unsigned ID, ARMCP::ARMCPKind Kind, unsigned char PCAdj) |
static ARMConstantPoolConstant * | Create (const Constant *C, unsigned ID, ARMCP::ARMCPKind Kind, unsigned char PCAdj, ARMCP::ARMCPModifier Modifier, bool AddCurrentAddress) |
static bool | classof (const ARMConstantPoolValue *APV) |
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) |
ARMConstantPoolConstant - ARM-specific constant pool values for Constants, Functions, and BlockAddresses.
Definition at line 141 of file ARMConstantPoolValue.h.
using llvm::ARMConstantPoolConstant::promoted_iterator = SmallPtrSet<const GlobalVariable *, 1>::iterator |
Definition at line 177 of file ARMConstantPoolValue.h.
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 209 of file ARMConstantPoolValue.cpp.
References llvm::ARMConstantPoolValue::addSelectionDAGCSEId().
|
inlinestatic |
|
static |
Definition at line 148 of file ARMConstantPoolValue.cpp.
References llvm::CallingConv::C, llvm::ARMCP::CPValue, and llvm::ARMCP::no_modifier.
Referenced by duplicateCPV(), and promoteToConstantPool().
|
static |
Definition at line 168 of file ARMConstantPoolValue.cpp.
References llvm::CallingConv::C, and llvm::ARMCP::no_modifier.
|
static |
Definition at line 175 of file ARMConstantPoolValue.cpp.
References llvm::CallingConv::C.
|
static |
Definition at line 160 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::CPValue, llvm::Value::getContext(), and llvm::Type::getInt32Ty().
|
static |
Definition at line 154 of file ARMConstantPoolValue.cpp.
|
inline |
Definition at line 203 of file ARMConstantPoolValue.h.
References A(), and llvm::ARMConstantPoolValue::equals().
const BlockAddress * ARMConstantPoolConstant::getBlockAddress | ( | ) | const |
Definition at line 187 of file ARMConstantPoolValue.cpp.
References llvm::dyn_cast_or_null().
|
overridevirtual |
Implements llvm::MachineConstantPoolValue.
Definition at line 191 of file ARMConstantPoolValue.cpp.
References llvm::ARMConstantPoolValue::ARMConstantPoolValue(), llvm::cast(), and llvm::ARMConstantPoolValue::getExistingMachineCPValueImpl().
const GlobalValue * ARMConstantPoolConstant::getGV | ( | ) | const |
Definition at line 183 of file ARMConstantPoolValue.cpp.
References llvm::dyn_cast_or_null().
Definition at line 183 of file ARMConstantPoolValue.h.
|
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 204 of file ARMConstantPoolValue.cpp.
References llvm::ARMConstantPoolValue::ARMConstantPoolValue(), llvm::dyn_cast(), and llvm::ARMConstantPoolValue::hasSameValue().
|
overridevirtual |
print - Implement operator<<
Implements llvm::MachineConstantPoolValue.
Definition at line 216 of file ARMConstantPoolValue.cpp.
References llvm::ARMConstantPoolValue::print().
|
inline |
Definition at line 179 of file ARMConstantPoolValue.h.
References llvm::iterator_range().