Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalAlias.h27 class GlobalAlias : public GlobalIndirectSymbol,
28 public ilist_node<GlobalAlias> {
29 friend class SymbolTableListTraits<GlobalAlias>;
31 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
35 GlobalAlias(const GlobalAlias &) = delete;
36 GlobalAlias &operator=(const GlobalAlias &) = delete;
40 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
45 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
50 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
55 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
[all …]
DValueSymbolTable.h26 class GlobalAlias; variable
41 friend class SymbolTableListTraits<GlobalAlias>;
DSymbolTableListTraits.h36 class GlobalAlias; variable
56 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalAlias, Module)
DModule.h75 using AliasListType = SymbolTableList<GlobalAlias>;
433 GlobalAlias *getNamedAlias(StringRef Name) const;
546 static AliasListType Module::*getSublistAccess(GlobalAlias*) { in getSublistAccess() argument
DValue.h37 class GlobalAlias; variable
873 template <> struct isa_impl<GlobalAlias, Value> {
887 return isa<GlobalAlias>(Val) || isa<GlobalIFunc>(Val);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp98 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getAlignment()
166 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection()
176 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat()
435 findBaseObject(const Constant *C, DenseSet<const GlobalAlias *> &Aliases) { in findBaseObject()
438 if (auto *GA = dyn_cast<GlobalAlias>(C)) in findBaseObject()
468 DenseSet<const GlobalAlias *> Aliases; in getBaseObject()
476 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalAlias() function in GlobalAlias
485 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
488 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
491 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
[all …]
DModule.cpp66 template class llvm::SymbolTableListTraits<GlobalAlias>;
239 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
240 return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name)); in getNamedAlias()
462 for (GlobalAlias &GA : aliases()) in dropAllReferences()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp30 assert(!isa<GlobalAlias>(SGV) && in doImportAsDefinition()
124 if (doImportAsDefinition(SGV) && !isa<GlobalAlias>(SGV)) in getLinkage()
153 if (doImportAsDefinition(SGV) && !isa<GlobalAlias>(SGV)) in getLinkage()
171 if (doImportAsDefinition(SGV) && !isa<GlobalAlias>(SGV)) in getLinkage()
302 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()
DCanonicalizeAliases.cpp43 if (auto *GA = dyn_cast<GlobalAlias>(C)) { in canonicalizeAlias()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DUpdateCompilerUsed.cpp39 for (GlobalAlias &GA : TheModule.aliases()) in findInModule()
104 if (isa<GlobalAlias>(GV)) { in findLibCallsAndAsm()
105 auto *A = cast<GlobalAlias>(&GV); in findLibCallsAndAsm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUAlwaysInlinePass.cpp88 std::vector<GlobalAlias*> AliasesToRemove; in runOnModule()
93 for (GlobalAlias &A : M.aliases()) { in runOnModule()
104 for (GlobalAlias* A : AliasesToRemove) { in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp301 for (GlobalAlias &GA : M.aliases()) in run()
323 for (GlobalAlias &GA : M.aliases()) { in run()
379 std::vector<GlobalAlias*> DeadAliases; in run()
380 for (GlobalAlias &GA : M.aliases()) in run()
420 for (GlobalAlias *GA : DeadAliases) in run()
DLowerTypeTests.cpp448 std::vector<GlobalAlias *> &AliasesToErase);
647 GlobalAlias *Alias = GlobalAlias::create( in allocateByteArrays()
675 ByteArray = GlobalAlias::create(Int8Ty, 0, GlobalValue::PrivateLinkage, in createBitSetTest()
879 GlobalAlias *GAlias = in buildBitSetsFromGlobalVariables()
880 GlobalAlias::create(NewTy->getElementType(I * 2), 0, GV->getLinkage(), in buildBitSetsFromGlobalVariables()
909 GlobalAlias *GA = in exportTypeId()
910 GlobalAlias::create(Int8Ty, 0, GlobalValue::ExternalLinkage, in exportTypeId()
1047 std::vector<GlobalAlias *> &AliasesToErase) { in importFunction()
1086 if (auto *A = dyn_cast<GlobalAlias>(U.getUser())) { in importFunction()
1521 GlobalAlias *JtAlias = GlobalAlias::create( in buildBitSetsFromFunctionsNative()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DCompileOnDemandLayer.cpp31 } else if (isa<GlobalAlias>(GV)) { in extractSubModule()
34 auto &A = cast<GlobalAlias>(GV); in extractSubModule()
224 if (isa<GlobalAlias>(GV)) in expandPartition()
226 cast<GlobalValue>(cast<GlobalAlias>(GV)->getAliasee())); in expandPartition()
DIndirectionUtils.cpp356 GlobalAlias* cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA, in cloneGlobalAliasDecl()
359 auto *NewA = GlobalAlias::create(OrigA.getValueType(), in cloneGlobalAliasDecl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DSymbolTableListTraits.h43 class GlobalAlias; variable
53 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalAlias, Module)
DValue.h35 class GlobalAlias; variable
766 template <> struct isa_impl<GlobalAlias, Value> {
780 return isa<GlobalAlias>(Val) || isa<GlobalIFunc>(Val);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp32 else if (isa<GlobalAlias>(GV) && in fromGlobalValue()
33 isa<Function>(cast<GlobalAlias>(GV).getAliasee())) in fromGlobalValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkModules.cpp133 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) { in getComdatLeader()
439 auto &Alias = cast<GlobalAlias>(GV); in dropReplacedComdat()
487 GlobalAlias &GV = *I++; in run()
511 for (GlobalAlias &GA : SrcM->aliases()) in run()
526 for (GlobalAlias &GA : SrcM->aliases()) in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp116 for (const GlobalAlias &A : M.aliases()) in orderModule()
139 for (const GlobalAlias &A : M.aliases()) in orderModule()
297 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder()
304 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder()
337 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator()
356 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DIndirectionUtils.h40 class GlobalAlias; variable
482 GlobalAlias *cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemoryBuiltins.h40 class GlobalAlias; variable
267 SizeOffsetType visitGlobalAlias(GlobalAlias &GA);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp706 else if (isa<GlobalAlias>(Arg) && in runOnFunction()
707 !cast<GlobalAlias>(Arg)->isInterposable()) in runOnFunction()
708 Arg = cast<GlobalAlias>(Arg)->getAliasee(); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DStackSafetyAnalysis.cpp163 explicit FunctionInfo(const GlobalAlias *A);
190 StackSafetyInfo::FunctionInfo::FunctionInfo(const GlobalAlias *A) : GV(A) { in FunctionInfo()
345 assert(isa<Function>(Callee) || isa<GlobalAlias>(Callee)); in analyzeAllUses()

123