Lines Matching refs:GlobalAlias
1 //===-------- llvm/GlobalAlias.h - GlobalAlias class ------------*- C++ -*-===//
10 // This file contains the declaration of the GlobalAlias class, which
29 class GlobalAlias : public GlobalValue, public ilist_node<GlobalAlias> {
30 friend class SymbolTableListTraits<GlobalAlias, Module>;
31 void operator=(const GlobalAlias &) LLVM_DELETED_FUNCTION;
32 GlobalAlias(const GlobalAlias &) LLVM_DELETED_FUNCTION;
36 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
47 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
52 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
57 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
62 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
66 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
84 return const_cast<GlobalAlias *>(this)->getAliasee();
91 return const_cast<GlobalAlias *>(this)->getBaseObject();
98 return const_cast<GlobalAlias *>(this)->getBaseObject(DL, Offset);
117 struct OperandTraits<GlobalAlias> :
118 public FixedNumOperandTraits<GlobalAlias, 1> {
121 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalAlias, Constant)