Home
last modified time | relevance | path

Searched refs:GlobalAlias (Results 1 – 25 of 196) sorted by relevance

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalAlias.h28 class GlobalAlias : public GlobalIndirectSymbol,
29 public ilist_node<GlobalAlias> {
30 friend class SymbolTableListTraits<GlobalAlias>;
32 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
36 GlobalAlias(const GlobalAlias &) = delete;
37 GlobalAlias &operator=(const GlobalAlias &) = delete;
41 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
46 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
51 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
56 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
[all …]
DValueSymbolTable.h27 class GlobalAlias; variable
42 friend class SymbolTableListTraits<GlobalAlias>;
DSymbolTableListTraits.h37 class GlobalAlias; variable
57 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalAlias, Module)
/external/llvm/include/llvm/IR/
DGlobalAlias.h27 class GlobalAlias : public GlobalIndirectSymbol,
28 public ilist_node<GlobalAlias> {
29 friend class SymbolTableListTraits<GlobalAlias>;
30 void operator=(const GlobalAlias &) = delete;
31 GlobalAlias(const GlobalAlias &) = delete;
35 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
41 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
46 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
51 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
56 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalAlias.h29 class GlobalAlias : public GlobalValue, public ilist_node<GlobalAlias> {
30 friend class SymbolTableListTraits<GlobalAlias, Module>;
31 void operator=(const GlobalAlias &); // Do not implement
32 GlobalAlias(const GlobalAlias &); // Do not implement
43 GlobalAlias(Type *Ty, LinkageTypes Linkage, const Twine &Name = "",
79 static inline bool classof(const GlobalAlias *) { return true; } in classof() argument
86 struct OperandTraits<GlobalAlias> :
87 public FixedNumOperandTraits<GlobalAlias, 1> {
90 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalAlias, Constant)
DModule.h69 template<> struct ilist_traits<GlobalAlias>
70 : public SymbolTableListTraits<GlobalAlias, Module> {
72 GlobalAlias *createSentinel() const {
73 return static_cast<GlobalAlias*>(&Sentinel);
75 static void destroySentinel(GlobalAlias*) {}
77 GlobalAlias *provideInitialHead() const { return createSentinel(); }
78 GlobalAlias *ensureHead(GlobalAlias*) const { return createSentinel(); }
79 static void noteHead(GlobalAlias*, GlobalAlias*) {}
81 mutable ilist_node<GlobalAlias> Sentinel;
122 typedef iplist<GlobalAlias> AliasListType;
[all …]
DValue.h31 class GlobalAlias; variable
375 template <> struct isa_impl<GlobalAlias, Value> {
384 isa<GlobalAlias>(Val);
/external/llvm/lib/IR/
DGlobals.cpp59 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getAlignment()
132 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection()
142 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat()
324 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalAlias() function in GlobalAlias
333 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
336 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
339 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
345 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
351 GlobalAlias *GlobalAlias::create(LinkageTypes Link, const Twine &Name, in create()
358 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) { in create()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DGlobals.cpp98 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getAlignment()
157 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection()
167 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat()
409 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalAlias() function in GlobalAlias
418 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
421 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
424 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
430 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
436 GlobalAlias *GlobalAlias::create(LinkageTypes Link, const Twine &Name, in create()
443 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) { in create()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGlobals.cpp75 assert(isa<GlobalAlias>(this)); in isDeclaration()
189 GlobalAlias::GlobalAlias(Type *Ty, LinkageTypes Link, in GlobalAlias() function in GlobalAlias
203 void GlobalAlias::setParent(Module *parent) { in setParent()
211 void GlobalAlias::removeFromParent() { in removeFromParent()
215 void GlobalAlias::eraseFromParent() { in eraseFromParent()
219 void GlobalAlias::setAliasee(Constant *Aliasee) { in setAliasee()
226 const GlobalValue *GlobalAlias::getAliasedGlobal() const { in getAliasedGlobal()
241 const GlobalValue *GlobalAlias::resolveAliasedGlobal(bool stopOnWeak) const { in resolveAliasedGlobal()
252 while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) { in resolveAliasedGlobal()
/external/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp27 if (auto *GA = dyn_cast<GlobalAlias>(SGV)) { in doImportAsDefinition()
117 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
150 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
168 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
229 for (GlobalAlias &GA : M.aliases()) in processGlobalsForThinLTO()
DCloneModule.cpp98 auto *GA = GlobalAlias::create(I->getValueType(), in CloneModule()
159 GlobalAlias *GA = cast<GlobalAlias>(VMap[&*I]); in CloneModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp28 assert(!isa<GlobalAlias>(SGV) && in doImportAsDefinition()
134 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
161 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
179 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
249 for (GlobalAlias &GA : M.aliases()) in processGlobalsForThinLTO()
DCloneModule.cpp107 auto *GA = GlobalAlias::create(I->getValueType(), in CloneModule()
178 GlobalAlias *GA = cast<GlobalAlias>(VMap[&*I]); in CloneModule()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp94 for (GlobalAlias &GA : M.aliases()) in run()
109 for (GlobalAlias &GA : M.aliases()) { in run()
150 std::vector<GlobalAlias*> DeadAliases; in run()
151 for (GlobalAlias &GA : M.aliases()) in run()
187 for (GlobalAlias *GA : DeadAliases) { in run()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DCloneModule.cpp74 GlobalAlias *GA = new GlobalAlias(I->getType(), I->getLinkage(), in CloneModule()
111 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); in CloneModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp158 for (GlobalAlias &GA : M.aliases()) in run()
176 for (GlobalAlias &GA : M.aliases()) { in run()
232 std::vector<GlobalAlias*> DeadAliases; in run()
233 for (GlobalAlias &GA : M.aliases()) in run()
264 for (GlobalAlias *GA : DeadAliases) in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAlwaysInlinePass.cpp91 std::vector<GlobalAlias*> AliasesToRemove; in runOnModule()
96 for (GlobalAlias &A : M.aliases()) { in runOnModule()
107 for (GlobalAlias* A : AliasesToRemove) { in runOnModule()
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DVerifierTest.cpp55 GlobalAlias *GA = new GlobalAlias(Type::getInt8PtrTy(C), in TEST()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLoads.cpp70 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in getUnderlyingObjectWithOffset()
102 if (!isa<GlobalAlias>(GV) && !GV->mayBeOverridden()) { in isSafeToLoadUnconditionally()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DeadStoreElimination/
D2011-09-06-MemCpy.ll34 %struct.iplist.12 = type { %struct.ilist_traits.11, %struct.GlobalAlias* }
36 %struct.ilist_node.10 = type { %struct.ilist_half_node.9, %struct.GlobalAlias* }
37 %struct.ilist_half_node.9 = type { %struct.GlobalAlias* }
38 %struct.GlobalAlias = type { %struct.GlobalValue, %struct.ilist_node.10 }
/external/llvm/test/Transforms/DeadStoreElimination/
D2011-09-06-MemCpy.ll34 %struct.iplist.12 = type { %struct.ilist_traits.11, %struct.GlobalAlias* }
36 %struct.ilist_node.10 = type { %struct.ilist_half_node.9, %struct.GlobalAlias* }
37 %struct.ilist_half_node.9 = type { %struct.GlobalAlias* }
38 %struct.GlobalAlias = type { %struct.GlobalValue, %struct.ilist_node.10 }
/external/swiftshader/third_party/LLVM/test/Transforms/DeadStoreElimination/
D2011-09-06-MemCpy.ll34 %struct.iplist.12 = type { %struct.ilist_traits.11, %struct.GlobalAlias* }
36 %struct.ilist_node.10 = type { %struct.ilist_half_node.9, %struct.GlobalAlias* }
37 %struct.ilist_half_node.9 = type { %struct.GlobalAlias* }
38 %struct.GlobalAlias = type { %struct.GlobalValue, %struct.ilist_node.10 }
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalDCE.cpp114 std::vector<GlobalAlias*> DeadAliases; in runOnModule()
170 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) { in GlobalIsNeeded()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DSymbolTableListTraits.h43 class GlobalAlias; variable
53 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalAlias, Module)

12345678