/external/llvm/include/llvm/IR/ |
D | GlobalAlias.h | 28 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 …]
|
D | SymbolTableListTraits.h | 51 class GlobalAlias; variable 60 DEFINE_SYMBOL_TABLE_PARENT_TYPE(GlobalAlias, Module)
|
D | Module.h | 77 typedef SymbolTableList<GlobalAlias> AliasListType; 375 GlobalAlias *getNamedAlias(StringRef Name) const; 477 static AliasListType Module::*getSublistAccess(GlobalAlias*) {
|
D | Value.h | 32 class GlobalAlias; variable 712 template <> struct isa_impl<GlobalAlias, Value> { 720 return isa<GlobalObject>(Val) || isa<GlobalAlias>(Val);
|
D | ValueSymbolTable.h | 41 friend class SymbolTableListTraits<GlobalAlias>;
|
D | Value.def | 59 HANDLE_GLOBAL_VALUE(GlobalAlias)
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 58 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 …]
|
D | Module.cpp | 43 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()
|
D | Value.cpp | 454 } 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/ |
D | GlobalDCE.cpp | 90 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()
|
D | LowerBitSets.cpp | 311 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()
|
D | FunctionImport.cpp | 229 if (!F && isa<GlobalAlias>(SGV)) { in GetImportList() 230 auto *SGA = dyn_cast<GlobalAlias>(SGV); in GetImportList()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 172 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()
|
D | IRMover.cpp | 487 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/ |
D | SplitModule.cpp | 43 if (auto GA = dyn_cast<GlobalAlias>(GV)) in isInPartition() 70 for (GlobalAlias &GA : M->aliases()) in SplitModule()
|
D | CloneModule.cpp | 99 auto *GA = GlobalAlias::create(I->getValueType(), in CloneModule() 153 GlobalAlias *GA = cast<GlobalAlias>(VMap[&*I]); in CloneModule()
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
D | 2011-09-06-MemCpy.ll | 34 %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/ |
D | IndirectionUtils.cpp | 184 GlobalAlias* cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA, in cloneGlobalAliasDecl() 187 auto *NewA = GlobalAlias::create(OrigA.getValueType(), in cloneGlobalAliasDecl()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 86 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/ |
D | verify-uselistorder.cpp | 192 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/ |
D | CGCXX.cpp | 131 if (!llvm::GlobalAlias::isValidLinkage(Linkage)) in TryEmitDefinitionAsAlias() 197 auto *Alias = llvm::GlobalAlias::create(AliasValueType, 0, Linkage, "", in TryEmitDefinitionAsAlias()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 607 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/ |
D | CompileOnDemandLayer.h | 294 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()
|
D | IndirectionUtils.h | 407 GlobalAlias* cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA,
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 425 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in compute() 545 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { in visitGlobalAlias() 658 isa<GlobalAlias>(V) || in compute_()
|