Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/IR/
DGlobalAlias.h28 class GlobalAlias : public GlobalValue, 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,
46 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
51 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
56 static GlobalAlias *create(Type *Ty, unsigned AddressSpace,
61 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
65 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
[all …]
DSymbolTableListTraits.h51 class GlobalAlias; variable
60 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalAlias, Module)
DModule.h77 typedef SymbolTableList<GlobalAlias> AliasListType;
375 GlobalAlias *getNamedAlias(StringRef Name) const;
477 static AliasListType Module::*getSublistAccess(GlobalAlias*) {
DValue.h32 class GlobalAlias; variable
712 template <> struct isa_impl<GlobalAlias, Value> {
720 return isa<GlobalObject>(Val) || isa<GlobalAlias>(Val);
DValueSymbolTable.h41 friend class SymbolTableListTraits<GlobalAlias>;
DValue.def59 HANDLE_GLOBAL_VALUE(GlobalAlias)
/external/llvm/lib/IR/
DGlobals.cpp58 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getAlignment()
102 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection()
112 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat()
133 assert(isa<GlobalAlias>(this)); in isDeclaration()
229 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalAlias() function in GlobalAlias
240 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
243 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
246 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
252 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create()
258 GlobalAlias *GlobalAlias::create(LinkageTypes Link, const Twine &Name, in create()
[all …]
DModule.cpp43 template class llvm::SymbolTableListTraits<GlobalAlias>;
249 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias()
250 return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name)); in getNamedAlias()
439 for (GlobalAlias &GA : aliases()) in dropAllReferences()
DValue.cpp454 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripPointerCastsAndOffsets()
505 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripAndAccumulateInBoundsConstantOffsets()
/external/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp90 for (GlobalAlias &GA : M.aliases()) in runOnModule()
112 for (GlobalAlias &GA : M.aliases()) { in runOnModule()
146 std::vector<GlobalAlias*> DeadAliases; in runOnModule()
147 for (GlobalAlias &GA : M.aliases()) in runOnModule()
175 for (GlobalAlias *GA : DeadAliases) { in runOnModule()
208 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) { in GlobalIsNeeded()
DLowerBitSets.cpp311 if (auto GA = dyn_cast<GlobalAlias>(OpConst)) in buildBitSet()
401 GlobalAlias *Alias = GlobalAlias::create( in allocateByteArrays()
444 ByteArray = GlobalAlias::create(BAI->ByteArray->getValueType(), 0, in createBitSetTest()
583 GlobalAlias *GAlias = GlobalAlias::create(NewTy->getElementType(I * 2), 0, in buildBitSetsFromGlobalVariables()
821 GlobalAlias *GAlias = GlobalAlias::create(Functions[I]->getValueType(), 0, in buildBitSetsFromFunctions()
DFunctionImport.cpp229 if (!F && isa<GlobalAlias>(SGV)) { in GetImportList()
230 auto *SGA = dyn_cast<GlobalAlias>(SGV); in GetImportList()
/external/llvm/lib/Linker/
DLinkModules.cpp172 auto *GA = dyn_cast<GlobalAlias>(SGV); in doImportAsDefinition()
258 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
291 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
310 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV)) in getLinkage()
348 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) { in getComdatLeader()
493 if (isa<GlobalAlias>(&Src) && !DestIsDeclaration) { in shouldLinkFromSource()
494 assert(isa<GlobalAlias>(&Dest)); in shouldLinkFromSource()
674 for (GlobalAlias &GA : SrcM.aliases()) in processGlobalsForThinLTO()
698 for (GlobalAlias &GA : SrcM.aliases()) in run()
712 for (GlobalAlias &GA : SrcM.aliases()) in run()
DIRMover.cpp487 void linkAliasBody(GlobalAlias &Dst, GlobalAlias &Src);
494 GlobalValue *copyGlobalAliasProto(const GlobalAlias *SGA);
631 auto *A = cast<GlobalAlias>(New); in materializeInitFor()
724 GlobalValue *IRLinker::copyGlobalAliasProto(const GlobalAlias *SGA) { in copyGlobalAliasProto()
728 return GlobalAlias::create(Ty, SGA->getType()->getPointerAddressSpace(), in copyGlobalAliasProto()
742 NewGV = copyGlobalAliasProto(cast<GlobalAlias>(SGV)); in copyGlobalValueProto()
1169 void IRLinker::linkAliasBody(GlobalAlias &Dst, GlobalAlias &Src) { in linkAliasBody()
1183 linkAliasBody(cast<GlobalAlias>(Dst), cast<GlobalAlias>(Src)); in linkGlobalValueBody()
/external/llvm/lib/Transforms/Utils/
DSplitModule.cpp43 if (auto GA = dyn_cast<GlobalAlias>(GV)) in isInPartition()
70 for (GlobalAlias &GA : M->aliases()) in SplitModule()
DCloneModule.cpp99 auto *GA = GlobalAlias::create(I->getValueType(), in CloneModule()
153 GlobalAlias *GA = cast<GlobalAlias>(VMap[&*I]); in CloneModule()
/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/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp184 GlobalAlias* cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA, in cloneGlobalAliasDecl()
187 auto *NewA = GlobalAlias::create(OrigA.getValueType(), in cloneGlobalAliasDecl()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp86 for (const GlobalAlias &A : M.aliases()) in orderModule()
106 for (const GlobalAlias &A : M.aliases()) in orderModule()
262 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder()
267 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder()
299 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator()
311 for (const GlobalAlias &GA : M.aliases()) in ValueEnumerator()
/external/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp192 for (const GlobalAlias &A : M.aliases()) in ValueMapping()
201 for (const GlobalAlias &A : M.aliases()) in ValueMapping()
464 for (GlobalAlias &A : M.aliases()) in changeUseLists()
473 for (GlobalAlias &A : M.aliases()) in changeUseLists()
/external/clang/lib/CodeGen/
DCGCXX.cpp131 if (!llvm::GlobalAlias::isValidLinkage(Linkage)) in TryEmitDefinitionAsAlias()
197 auto *Alias = llvm::GlobalAlias::create(AliasValueType, 0, Linkage, "", in TryEmitDefinitionAsAlias()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp607 else if (isa<GlobalAlias>(Arg) && in runOnFunction()
608 !cast<GlobalAlias>(Arg)->mayBeOverridden()) in runOnFunction()
609 Arg = cast<GlobalAlias>(Arg)->getAliasee(); in runOnFunction()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h294 return GlobalAlias::create(F->getFunctionType(), in addLogicalModule()
310 auto *NewA = cast<GlobalAlias>(VMap[&A]); in addLogicalModule()
423 if (auto *A = dyn_cast<GlobalAlias>(V)) { in emitPartition()
DIndirectionUtils.h407 GlobalAlias* cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA,
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp425 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in compute()
545 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { in visitGlobalAlias()
658 isa<GlobalAlias>(V) || in compute_()

123