LLVM API Documentation
#include <ARMConstantPoolValue.h>
Public Member Functions | |
const GlobalValue * | getGV () const |
const BlockAddress * | getBlockAddress () const |
int | getExistingMachineCPValue (MachineConstantPool *CP, unsigned Alignment) override |
bool | hasSameValue (ARMConstantPoolValue *ACPV) override |
void | addSelectionDAGCSEId (FoldingSetNodeID &ID) override |
void | print (raw_ostream &O) const override |
print - Implement operator<< | |
bool | equals (const ARMConstantPoolConstant *A) const |
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 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) |
ARMConstantPoolConstant - ARM-specific constant pool values for Constants, Functions, and BlockAddresses.
Definition at line 135 of file ARMConstantPoolValue.h.
void ARMConstantPoolConstant::addSelectionDAGCSEId | ( | FoldingSetNodeID & | ID | ) | [override, virtual] |
Reimplemented from llvm::ARMConstantPoolValue.
Definition at line 174 of file ARMConstantPoolValue.cpp.
References llvm::FoldingSetNodeID::AddPointer().
static bool llvm::ARMConstantPoolConstant::classof | ( | const ARMConstantPoolValue * | APV | ) | [inline, static] |
Definition at line 177 of file ARMConstantPoolValue.h.
References llvm::ARMConstantPoolValue::isBlockAddress(), llvm::ARMConstantPoolValue::isGlobalValue(), and llvm::ARMConstantPoolValue::isLSDA().
ARMConstantPoolConstant * ARMConstantPoolConstant::Create | ( | const Constant * | C, |
unsigned | ID | ||
) | [static] |
Definition at line 127 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::CPValue, and llvm::ARMCP::no_modifier.
Referenced by duplicateCPV().
ARMConstantPoolConstant * ARMConstantPoolConstant::Create | ( | const GlobalValue * | GV, |
ARMCP::ARMCPModifier | Modifier | ||
) | [static] |
Definition at line 133 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::CPValue, llvm::Value::getContext(), and llvm::Type::getInt32Ty().
ARMConstantPoolConstant * ARMConstantPoolConstant::Create | ( | const Constant * | C, |
unsigned | ID, | ||
ARMCP::ARMCPKind | Kind, | ||
unsigned char | PCAdj | ||
) | [static] |
Definition at line 141 of file ARMConstantPoolValue.cpp.
References llvm::ARMCP::no_modifier.
ARMConstantPoolConstant * ARMConstantPoolConstant::Create | ( | const Constant * | C, |
unsigned | ID, | ||
ARMCP::ARMCPKind | Kind, | ||
unsigned char | PCAdj, | ||
ARMCP::ARMCPModifier | Modifier, | ||
bool | AddCurrentAddress | ||
) | [static] |
Definition at line 148 of file ARMConstantPoolValue.cpp.
bool llvm::ARMConstantPoolConstant::equals | ( | const ARMConstantPoolConstant * | A | ) | const [inline] |
Definition at line 181 of file ARMConstantPoolValue.h.
Definition at line 160 of file ARMConstantPoolValue.cpp.
int ARMConstantPoolConstant::getExistingMachineCPValue | ( | MachineConstantPool * | CP, |
unsigned | Alignment | ||
) | [override, virtual] |
Reimplemented from llvm::ARMConstantPoolValue.
Definition at line 164 of file ARMConstantPoolValue.cpp.
const GlobalValue * ARMConstantPoolConstant::getGV | ( | ) | const |
Definition at line 156 of file ARMConstantPoolValue.cpp.
bool ARMConstantPoolConstant::hasSameValue | ( | ARMConstantPoolValue * | ACPV | ) | [override, virtual] |
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 169 of file ARMConstantPoolValue.cpp.
References llvm::dyn_cast().
void ARMConstantPoolConstant::print | ( | raw_ostream & | O | ) | const [override, virtual] |
print - Implement operator<<
Reimplemented from llvm::ARMConstantPoolValue.
Definition at line 179 of file ARMConstantPoolValue.cpp.
References llvm::Value::getName().