/external/llvm/include/llvm/IR/ |
D | GlobalAlias.h | 29 class GlobalAlias : public GlobalValue, public ilist_node<GlobalAlias> { 30 friend class SymbolTableListTraits<GlobalAlias, Module>; 31 void operator=(const GlobalAlias &) = delete; 32 GlobalAlias(const GlobalAlias &) = delete; 36 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, 47 static GlobalAlias *create(Type *Ty, unsigned AddressSpace, 52 static GlobalAlias *create(Type *Ty, unsigned AddressSpace, 57 static GlobalAlias *create(Type *Ty, unsigned AddressSpace, 62 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name, 66 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee); [all …]
|
D | Module.h | 70 template<> struct ilist_traits<GlobalAlias> 71 : public SymbolTableListTraits<GlobalAlias, Module> { 73 GlobalAlias *createSentinel() const { 74 return static_cast<GlobalAlias*>(&Sentinel); 76 static void destroySentinel(GlobalAlias*) {} 78 GlobalAlias *provideInitialHead() const { return createSentinel(); } 79 GlobalAlias *ensureHead(GlobalAlias*) const { return createSentinel(); } 80 static void noteHead(GlobalAlias*, GlobalAlias*) {} 82 mutable ilist_node<GlobalAlias> Sentinel; 123 typedef iplist<GlobalAlias> AliasListType; [all …]
|
D | ValueSymbolTable.h | 41 friend class SymbolTableListTraits<GlobalAlias, Module>;
|
D | Value.h | 33 class GlobalAlias; variable 664 template <> struct isa_impl<GlobalAlias, Value> { 672 return isa<GlobalObject>(Val) || isa<GlobalAlias>(Val);
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 60 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getAlignment() 103 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getSection() 113 if (auto *GA = dyn_cast<GlobalAlias>(this)) { in getComdat() 134 assert(isa<GlobalAlias>(this)); in isDeclaration() 244 GlobalAlias::GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, in GlobalAlias() function in GlobalAlias 255 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create() 258 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create() 261 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create() 267 GlobalAlias *GlobalAlias::create(Type *Ty, unsigned AddressSpace, in create() 273 GlobalAlias *GlobalAlias::create(LinkageTypes Link, const Twine &Name, in create() [all …]
|
D | Module.cpp | 42 template class llvm::SymbolTableListTraits<GlobalAlias, Module>; 246 GlobalAlias *Module::getNamedAlias(StringRef Name) const { in getNamedAlias() 247 return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name)); in getNamedAlias() 454 for (GlobalAlias &GA : aliases()) in dropAllReferences()
|
D | Value.cpp | 413 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripPointerCastsAndOffsets() 465 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) { in stripAndAccumulateInBoundsConstantOffsets()
|
D | Verifier.cpp | 287 void visitGlobalAlias(const GlobalAlias &GA); 288 void visitAliaseeSubExpr(const GlobalAlias &A, const Constant &C); 289 void visitAliaseeSubExpr(SmallPtrSetImpl<const GlobalAlias *> &Visited, 290 const GlobalAlias &A, const Constant &C); 507 isa<GlobalAlias>(V), in visitGlobalVariable() 549 void Verifier::visitAliaseeSubExpr(const GlobalAlias &GA, const Constant &C) { in visitAliaseeSubExpr() 550 SmallPtrSet<const GlobalAlias*, 4> Visited; in visitAliaseeSubExpr() 555 void Verifier::visitAliaseeSubExpr(SmallPtrSetImpl<const GlobalAlias*> &Visited, in visitAliaseeSubExpr() 556 const GlobalAlias &GA, const Constant &C) { in visitAliaseeSubExpr() 560 if (const auto *GA2 = dyn_cast<GlobalAlias>(GV)) { in visitAliaseeSubExpr() [all …]
|
D | AsmWriter.cpp | 97 for (const GlobalAlias &A : M->aliases()) { in orderModule() 252 for (const GlobalAlias &A : M->aliases()) in predictUseListOrder() 257 for (const GlobalAlias &A : M->aliases()) in predictUseListOrder() 681 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in createSlotTracker() 895 (isa<GlobalAlias>(V) ? 'A' : 'o'))) << "]\n"); in CreateModuleSlot() 1976 void printAlias(const GlobalAlias *GV); 2350 void AssemblyWriter::printAlias(const GlobalAlias *GA) { in printAlias() 3151 W.printAlias(cast<GlobalAlias>(GV)); in print()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | CloneSubModule.cpp | 65 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneSubModule() 90 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); in CloneSubModule()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneModule.cpp | 73 GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in CloneModule() 110 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); in CloneModule()
|
D | SymbolRewriter.cpp | 201 llvm::GlobalAlias, 227 llvm::GlobalAlias,
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalDCE.cpp | 90 for (GlobalAlias &GA : M.aliases()) in runOnModule() 152 std::vector<GlobalAlias*> DeadAliases; in runOnModule() 215 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(G)) { in GlobalIsNeeded()
|
D | LowerBitSets.cpp | 361 GlobalAlias *Alias = GlobalAlias::create( in allocateByteArrays() 404 ByteArray = GlobalAlias::create(BAI->ByteArray->getValueType(), 0, in createBitSetTest() 556 GlobalAlias *GAlias = GlobalAlias::create( in buildBitSetsFromGlobals()
|
/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/Linker/ |
D | LinkModules.cpp | 499 void linkAliasBody(GlobalAlias &Dst, GlobalAlias &Src); 575 static GlobalAlias *copyGlobalAliasProto(TypeMapTy &TypeMap, Module &DstM, in copyGlobalAliasProto() 576 const GlobalAlias *SGA) { in copyGlobalAliasProto() 580 return GlobalAlias::create(PTy->getElementType(), PTy->getAddressSpace(), in copyGlobalAliasProto() 592 NewGV = copyGlobalAliasProto(TypeMap, DstM, cast<GlobalAlias>(SGV)); in copyGlobalValueProto() 618 if (const auto *GA = dyn_cast_or_null<GlobalAlias>(GVal)) { in getComdatLeader() 1216 void ModuleLinker::linkAliasBody(GlobalAlias &Dst, GlobalAlias &Src) { in linkAliasBody() 1232 linkAliasBody(cast<GlobalAlias>(*Dst), cast<GlobalAlias>(Src)); in linkGlobalValueBody() 1582 for (GlobalAlias &Src : SrcM->aliases()) { in run()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 268 if (auto *GA = dyn_cast<GlobalAlias>(&GV)) in getBaseObject() 442 std::vector<GlobalAlias *> &KeptAliases) { in keepGlobalValue() 445 if (auto *GA = dyn_cast<GlobalAlias>(&GV)) in keepGlobalValue() 484 auto &Alias = cast<GlobalAlias>(GV); in drop() 613 std::vector<GlobalAlias *> KeptAliases; in getModuleForFile() 704 for (GlobalAlias *GA : KeptAliases) { in getModuleForFile()
|
/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() 461 for (GlobalAlias &A : M.aliases()) in changeUseLists() 470 for (GlobalAlias &A : M.aliases()) in changeUseLists()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 124 if (!llvm::GlobalAlias::isValidLinkage(Linkage)) in TryEmitDefinitionAsAlias() 185 auto *Alias = llvm::GlobalAlias::create(AliasType->getElementType(), 0, 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/lib/Analysis/ |
D | MemoryBuiltins.cpp | 410 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) in compute() 530 SizeOffsetType ObjectSizeOffsetVisitor::visitGlobalAlias(GlobalAlias &GA) { in visitGlobalAlias() 643 isa<GlobalAlias>(V) || in compute_()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 86 for (const GlobalAlias &A : M.aliases()) in orderModule() 109 for (const GlobalAlias &A : M.aliases()) in orderModule() 265 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder() 270 for (const GlobalAlias &A : M.aliases()) in predictUseListOrder()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 347 auto *Alias = GlobalAlias::create(IntTy, 0, GlobalValue::ExternalLinkage, in TEST() 365 ASSERT_EQ(unwrap<GlobalAlias>(AliasRef)->getAliasee(), Aliasee); in TEST()
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryBuiltins.h | 193 SizeOffsetType visitGlobalAlias(GlobalAlias &GA);
|
/external/llvm/tools/llvm-extract/ |
D | llvm-extract.cpp | 126 GlobalAlias *GA = M->getNamedAlias(ExtractAliases[i]); in main()
|