15 #ifndef LLVM_IR_GLOBALALIAS_H
16 #define LLVM_IR_GLOBALALIAS_H
26 template<
typename ValueSubClass,
typename ItemParentClass>
27 class SymbolTableListTraits;
34 void setParent(
Module *parent);
38 void *operator new(
size_t s) {
39 return User::operator
new(s, 1);
The main container class for the LLVM Intermediate Representation.
static bool isExternalLinkage(LinkageTypes Linkage)
const Constant * getAliasee() const
static bool isLocalLinkage(LinkageTypes Linkage)
static bool isLinkOnceLinkage(LinkageTypes Linkage)
virtual void eraseFromParent()
static bool classof(const Value *V)
#define DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CLASS, VALUECLASS)
Macro for generating out-of-class operand accessor definitions.
const GlobalValue * resolveAliasedGlobal(bool stopOnWeak=true) const
GlobalValue * resolveAliasedGlobal(bool stopOnWeak=true)
LLVM Constant Representation.
static bool isValidLinkage(LinkageTypes L)
unsigned getValueID() const
Value * getOperand(unsigned i) const
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant)
Provide fast operand accessors.
const GlobalValue * getAliasedGlobal() const
static bool isWeakLinkage(LinkageTypes Linkage)
void setAliasee(Constant *GV)
set/getAliasee - These methods retrive and set alias target.
#define LLVM_DELETED_FUNCTION
LinkageTypes
An enumeration for the kinds of linkage for global values.
virtual void removeFromParent()
LLVM Value Representation.
GlobalValue * getAliasedGlobal()