LLVM
8.0.1
|
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, unsigned Alignment) |
ARMConstantPoolConstant - ARM-specific constant pool values for Constants, Functions, and BlockAddresses.
Definition at line 144 of file ARMConstantPoolValue.h.
using llvm::ARMConstantPoolConstant::promoted_iterator = SmallPtrSet<const GlobalVariable *, 1>::iterator |
Definition at line 180 of file ARMConstantPoolValue.h.
|
overridevirtual |
Reimplemented from llvm::ARMConstantPoolValue.
Definition at line 209 of file ARMConstantPoolValue.cpp.
References llvm::FoldingSetNodeID::AddPointer(), and llvm::ARMConstantPoolValue::addSelectionDAGCSEId().
|
inlinestatic |
Definition at line 201 of file ARMConstantPoolValue.h.
References llvm::ARMConstantPoolValue::isBlockAddress(), llvm::ARMConstantPoolValue::isGlobalValue(), llvm::ARMConstantPoolValue::isLSDA(), and llvm::ARMConstantPoolValue::isPromotedGlobal().
|
static |
Definition at line 148 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::CPValue, and llvm::ARMCP::no_modifier.
Referenced by addExclusiveRegPair(), llvm::ARMTargetLowering::CCAssignFnForReturn(), duplicateCPV(), llvm::ARMTargetLowering::getJumpTableEncoding(), llvm::ARMTargetLowering::isReadOnly(), and promoteToConstantPool().
|
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.
|
static |
Definition at line 168 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::no_modifier.
|
static |
Definition at line 175 of file ARMConstantPoolValue.cpp.
|
inline |
Definition at line 206 of file ARMConstantPoolValue.h.
References llvm::ARMConstantPoolValue::equals().
const BlockAddress * ARMConstantPoolConstant::getBlockAddress | ( | ) | const |
Definition at line 187 of file ARMConstantPoolValue.cpp.
|
overridevirtual |
Reimplemented from llvm::ARMConstantPoolValue.
Definition at line 191 of file ARMConstantPoolValue.cpp.
References llvm::HexagonISD::CP.
const GlobalValue * ARMConstantPoolConstant::getGV | ( | ) | const |
Definition at line 183 of file ARMConstantPoolValue.cpp.
Definition at line 186 of file ARMConstantPoolValue.h.
References llvm::HexagonISD::CP, llvm::RISCVFenceField::O, and print().
|
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::dyn_cast(), and llvm::ARMConstantPoolValue::hasSameValue().
|
overridevirtual |
print - Implement operator<<
Reimplemented from llvm::ARMConstantPoolValue.
Definition at line 216 of file ARMConstantPoolValue.cpp.
References llvm::ARMConstantPoolValue::ARMConstantPoolValue(), llvm::ARMCP::CPExtSymbol, and llvm::ARMConstantPoolValue::print().
|
inline |
Definition at line 182 of file ARMConstantPoolValue.h.
References llvm::SmallPtrSetImpl< PtrType >::begin(), and llvm::SmallPtrSetImpl< PtrType >::end().