/external/llvm/lib/IR/ |
D | Globals.cpp | 325 const Twine &Name, Constant *Aliasee, in GlobalAlias() argument 328 Aliasee) { in GlobalAlias() 335 Constant *Aliasee, Module *ParentModule) { in create() argument 336 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create() 347 GlobalValue *Aliasee) { in create() argument 348 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create() 352 GlobalValue *Aliasee) { in create() argument 353 PointerType *PTy = Aliasee->getType(); in create() 355 Aliasee); in create() 358 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) { in create() argument [all …]
|
D | TypeFinder.cpp | 38 if (const Value *Aliasee = I->getAliasee()) in run() local 39 incorporateValue(Aliasee); in run()
|
D | Verifier.cpp | 661 const Constant *Aliasee = GA.getAliasee(); in visitGlobalAlias() local 662 Assert(Aliasee, "Aliasee cannot be NULL!", &GA); in visitGlobalAlias() 663 Assert(GA.getType() == Aliasee->getType(), in visitGlobalAlias() 666 Assert(isa<GlobalValue>(Aliasee) || isa<ConstantExpr>(Aliasee), in visitGlobalAlias() 669 visitAliaseeSubExpr(GA, *Aliasee); in visitGlobalAlias()
|
/external/llvm/include/llvm/IR/ |
D | GlobalAlias.h | 36 const Twine &Name, Constant *Aliasee, Module *Parent); 43 Constant *Aliasee, Module *Parent); 53 GlobalValue *Aliasee); 57 GlobalValue *Aliasee); 60 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee); 73 void setAliasee(Constant *Aliasee);
|
D | ModuleSummaryIndex.h | 217 void setAliasee(GlobalValueSummary *Aliasee) { AliaseeSummary = Aliasee; } in setAliasee() argument
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Globals.cpp | 219 void GlobalAlias::setAliasee(Constant *Aliasee) { in setAliasee() argument 220 assert((!Aliasee || Aliasee->getType() == getType()) && in setAliasee() 223 setOperand(0, Aliasee); in setAliasee()
|
D | Module.cpp | 447 if (const Value *Aliasee = I->getAliasee()) in run() local 448 incorporateValue(Aliasee); in run()
|
D | AsmWriter.cpp | 1405 const Constant *Aliasee = GA->getAliasee(); in printAlias() local 1407 if (Aliasee == 0) { in printAlias() 1411 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee)); in printAlias()
|
D | Verifier.cpp | 475 const GlobalValue* Aliasee = GA.resolveAliasedGlobal(/*stopOnWeak*/ false); in visitGlobalAlias() local 476 Assert1(Aliasee, in visitGlobalAlias()
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | VerifierTest.cpp | 52 GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true, in TEST() local 57 "bar", Aliasee, &M); in TEST()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 153 llvm::Constant *Aliasee = Ref; in TryEmitDefinitionAsAlias() local 155 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias() 167 addReplacement(MangledName, Aliasee); in TryEmitDefinitionAsAlias() 198 Aliasee, &getModule()); in TryEmitDefinitionAsAlias()
|
D | CodeGenModule.cpp | 313 llvm::Constant *Aliasee = Alias->getIndirectSymbol(); in checkAliases() local 315 if (auto CE = dyn_cast<llvm::ConstantExpr>(Aliasee)) in checkAliases() 318 AliaseeGV = cast<llvm::GlobalValue>(Aliasee); in checkAliases() 336 Aliasee = llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( in checkAliases() 338 Alias->setIndirectSymbol(Aliasee); in checkAliases() 1506 llvm::Constant *Aliasee; in GetWeakRefReference() local 1508 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference() 1512 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), in GetWeakRefReference() 1516 auto *F = cast<llvm::GlobalValue>(Aliasee); in GetWeakRefReference() 1520 return ConstantAddress(Aliasee, Alignment); in GetWeakRefReference() [all …]
|
D | ItaniumCXXABI.cpp | 3456 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias() local 3459 auto *Alias = llvm::GlobalAlias::create(Linkage, "", Aliasee); in emitConstructorDestructorAlias() 3463 assert(Entry->getType() == Aliasee->getType() && in emitConstructorDestructorAlias() 3501 auto *Aliasee = CGM.GetAddrOfGlobal(BaseDecl); in emitCXXStructor() local 3502 CGM.addReplacement(MangledName, Aliasee); in emitCXXStructor()
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 72 Constant *Aliasee; member 153 void scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee, 164 void mapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee); 836 mapConstant(E.Data.GlobalAliasee.Aliasee)); in flush() 1011 void Mapper::scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee, in scheduleMapGlobalAliasee() argument 1020 WE.Data.GlobalAliasee.Aliasee = &Aliasee; in scheduleMapGlobalAliasee() 1115 void ValueMapper::scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee, in scheduleMapGlobalAliasee() argument 1117 getAsMapper(pImpl)->scheduleMapGlobalAliasee(GA, Aliasee, MCID); in scheduleMapGlobalAliasee()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | GlobalAlias.h | 44 Constant* Aliasee = 0, Module *Parent = 0);
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | ValueMapper.h | 176 void scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee,
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 405 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); in TEST() local 407 LLVMAddAlias(wrap(M.get()), wrap(I16PTy), wrap(Aliasee), "a"); in TEST() 408 ASSERT_EQ(unwrap<GlobalAlias>(AliasRef)->getAliasee(), Aliasee); in TEST()
|
/external/llvm/lib/MC/ |
D | WinCOFFObjectWriter.cpp | 364 const MCSymbol &Aliasee = SymRef->getSymbol(); in getLinkedSymbol() local 365 if (!Aliasee.isUndefined()) in getLinkedSymbol() 367 return GetOrCreateCOFFSymbol(&Aliasee); in getLinkedSymbol()
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkModules.cpp | 852 if (Constant *Aliasee = I->getAliasee()) { in linkAliasBodies() local 854 DA->setAliasee(MapValue(Aliasee, ValueMap, RF_None, &TypeMap)); in linkAliasBodies()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2318 Constant *Aliasee = GA.getAliasee(); in hasUsesToReplace() local 2319 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); in hasUsesToReplace() 2359 Constant *Aliasee = J->getAliasee(); in OptimizeGlobalAliases() local 2360 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts()); in OptimizeGlobalAliases() 2373 J->replaceAllUsesWith(ConstantExpr::getBitCast(Aliasee, J->getType())); in OptimizeGlobalAliases()
|
/external/swiftshader/third_party/LLVM/lib/AsmParser/ |
D | LLParser.cpp | 588 Constant *Aliasee; in ParseAlias() local 592 if (ParseGlobalTypeAndValue(Aliasee)) return true; in ParseAlias() 599 Aliasee = ID.ConstantVal; in ParseAlias() 602 if (!Aliasee->getType()->isPointerTy()) in ParseAlias() 606 GlobalAlias* GA = new GlobalAlias(Aliasee->getType(), in ParseAlias() 608 Aliasee); in ParseAlias()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 2659 Constant *Aliasee = J->getAliasee(); in OptimizeGlobalAliases() local 2660 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); in OptimizeGlobalAliases() 2662 bool hasOneUse = Target->hasOneUse() && Aliasee->hasOneUse(); in OptimizeGlobalAliases() 2666 J->replaceAllUsesWith(Aliasee); in OptimizeGlobalAliases()
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 963 LLVMValueRef Aliasee, value Name) { in llvm_add_alias() argument 964 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); in llvm_add_alias()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 727 Constant *Aliasee; in parseIndirectSymbol() local 733 if (ParseGlobalTypeAndValue(Aliasee)) in parseIndirectSymbol() 742 Aliasee = ID.ConstantVal; in parseIndirectSymbol() 745 Type *AliaseeType = Aliasee->getType(); in parseIndirectSymbol() 784 Aliasee, /*Parent*/ nullptr)); in parseIndirectSymbol() 788 Aliasee, /*Parent*/ nullptr)); in parseIndirectSymbol()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 1225 LLVMValueRef Aliasee, value Name) { in llvm_add_alias() argument 1226 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); in llvm_add_alias()
|