15 #ifndef LLVM_IR_GLOBALALIAS_H
16 #define LLVM_IR_GLOBALALIAS_H
26 template <
typename ValueSubClass>
class SymbolTableListTraits;
88 return V->
getValueID() == Value::GlobalAliasVal;
94 #endif // LLVM_IR_GLOBALALIAS_H
A Module instance is used to store all the information related to an LLVM module. ...
static bool isExternalLinkage(LinkageTypes Linkage)
GlobalAlias & operator=(const GlobalAlias &)=delete
const Constant * getAliasee() const
static bool isLocalLinkage(LinkageTypes Linkage)
static bool isLinkOnceLinkage(LinkageTypes Linkage)
static bool classof(const Value *V)
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
The instances of the Type class are immutable: once they are created, they are never changed...
This is an important base class in LLVM.
static bool isValidLinkage(LinkageTypes L)
void removeFromParent() override
removeFromParent - This method unlinks 'this' from the containing module, but does not delete it...
unsigned getValueID() const
Return an ID for the concrete type of this object.
static bool isWeakLinkage(LinkageTypes Linkage)
void eraseFromParent() override
eraseFromParent - This method unlinks 'this' from the containing module and deletes it...
LinkageTypes
An enumeration for the kinds of linkage for global values.
const Constant * getIndirectSymbol() const
LLVM Value Representation.
static GlobalAlias * create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, Constant *Aliasee, Module *Parent)
If a parent module is specified, the alias is automatically inserted into the end of the specified mo...
void setAliasee(Constant *Aliasee)
These methods retrieve and set alias target.