Home
last modified time | relevance | path

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

12345

/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 …]
DSymbolTableListTraits.h51 class GlobalAlias; variable
61 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalAlias, Module)
/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 …]
DModule.cpp44 template class llvm::SymbolTableListTraits<GlobalAlias>;
252 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
253 return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name)); in getNamedAlias()
459 for (GlobalAlias &GA : aliases()) in dropAllReferences()
/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/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()
DLowerTypeTests.cpp365 GlobalAlias *Alias = GlobalAlias::create( in allocateByteArrays()
408 ByteArray = GlobalAlias::create(BAI->ByteArray->getValueType(), 0, in createBitSetTest()
547 GlobalAlias *GAlias = GlobalAlias::create(NewTy->getElementType(I * 2), 0, in buildBitSetsFromGlobalVariables()
778 GlobalAlias *GAlias = GlobalAlias::create(Functions[I]->getValueType(), 0, in buildBitSetsFromFunctions()
/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/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/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)
/external/llvm/lib/Linker/
DIRMover.cpp470 void linkAliasBody(GlobalAlias &Dst, GlobalAlias &Src);
477 GlobalValue *copyGlobalAliasProto(const GlobalAlias *SGA);
558 auto *A = cast<GlobalAlias>(New); in materialize()
606 GlobalValue *IRLinker::copyGlobalAliasProto(const GlobalAlias *SGA) { in copyGlobalAliasProto()
610 return GlobalAlias::create(Ty, SGA->getType()->getPointerAddressSpace(), in copyGlobalAliasProto()
624 NewGV = copyGlobalAliasProto(cast<GlobalAlias>(SGV)); in copyGlobalValueProto()
981 void IRLinker::linkAliasBody(GlobalAlias &Dst, GlobalAlias &Src) { in linkAliasBody()
992 linkAliasBody(cast<GlobalAlias>(Dst), cast<GlobalAlias>(Src)); in linkGlobalValueBody()
DLinkModules.cpp150 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) { in getComdatLeader()
468 auto &Alias = cast<GlobalAlias>(GV); in dropReplacedComdat()
516 GlobalAlias &GV = *I++; in run()
540 for (GlobalAlias &GA : SrcM->aliases()) in run()
555 for (GlobalAlias &GA : SrcM->aliases()) in run()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp233 GlobalAlias* cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA, in cloneGlobalAliasDecl()
236 auto *NewA = GlobalAlias::create(OrigA.getValueType(), in cloneGlobalAliasDecl()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp391 bool linkAliasProto(GlobalAlias *SrcA);
719 bool ModuleLinker::linkAliasProto(GlobalAlias *SGA) { in linkAliasProto()
744 GlobalAlias *NewDA = new GlobalAlias(TypeMap.get(SGA->getType()), in linkAliasProto()
853 GlobalAlias *DA = cast<GlobalAlias>(ValueMap[I]); in linkAliasBodies()
/external/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp192 for (const GlobalAlias &A : M.aliases()) in ValueMapping()
203 for (const GlobalAlias &A : M.aliases()) in ValueMapping()
468 for (GlobalAlias &A : M.aliases()) in changeUseLists()
479 for (GlobalAlias &A : M.aliases()) in changeUseLists()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp86 for (const GlobalAlias &A : M.aliases()) in orderModule()
109 for (const GlobalAlias &A : M.aliases()) in orderModule()
267 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder()
274 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder()
307 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator()
323 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator()

12345