15 #ifndef LLVM_IR_GLOBALALIAS_H 16 #define LLVM_IR_GLOBALALIAS_H 92 return V->
getValueID() == Value::GlobalAliasVal;
98 #endif // LLVM_IR_GLOBALALIAS_H void copyAttributesFrom(const GlobalValue *Src)
Copy all additional attributes (those not needed to create a GlobalValue) from the GlobalValue Src to...
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. ...
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)
amdgpu Simplify well known AMD library false Value Value const Twine & Name
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
void copyAttributesFrom(const GlobalValue *Src)
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