14 #ifndef LLVM_IR_GLOBALALIAS_H 15 #define LLVM_IR_GLOBALALIAS_H 87 return V->
getValueID() == Value::GlobalAliasVal;
93 #endif // LLVM_IR_GLOBALALIAS_H unsigned getValueID() const
Return an ID for the concrete type of this object.
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
static bool isExternalLinkage(LinkageTypes Linkage)
GlobalAlias & operator=(const GlobalAlias &)=delete
static bool isLocalLinkage(LinkageTypes Linkage)
static bool isLinkOnceLinkage(LinkageTypes Linkage)
void eraseFromParent()
eraseFromParent - This method unlinks 'this' from the containing module and deletes it...
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)
static bool isWeakLinkage(LinkageTypes Linkage)
LinkageTypes
An enumeration for the kinds of linkage for global values.
void removeFromParent()
removeFromParent - This method unlinks 'this' from the containing module, but does not delete it...
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.
const Constant * getAliasee() const