Home
last modified time | relevance | path

Searched refs:Aliasee (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/lib/IR/
DGlobals.cpp325 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 …]
DTypeFinder.cpp38 if (const Value *Aliasee = I->getAliasee()) in run() local
39 incorporateValue(Aliasee); in run()
DVerifier.cpp661 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/
DGlobalAlias.h36 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);
DModuleSummaryIndex.h217 void setAliasee(GlobalValueSummary *Aliasee) { AliaseeSummary = Aliasee; } in setAliasee() argument
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGlobals.cpp219 void GlobalAlias::setAliasee(Constant *Aliasee) { in setAliasee() argument
220 assert((!Aliasee || Aliasee->getType() == getType()) && in setAliasee()
223 setOperand(0, Aliasee); in setAliasee()
DModule.cpp447 if (const Value *Aliasee = I->getAliasee()) in run() local
448 incorporateValue(Aliasee); in run()
DAsmWriter.cpp1405 const Constant *Aliasee = GA->getAliasee(); in printAlias() local
1407 if (Aliasee == 0) { in printAlias()
1411 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee)); in printAlias()
DVerifier.cpp475 const GlobalValue* Aliasee = GA.resolveAliasedGlobal(/*stopOnWeak*/ false); in visitGlobalAlias() local
476 Assert1(Aliasee, in visitGlobalAlias()
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DVerifierTest.cpp52 GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true, in TEST() local
57 "bar", Aliasee, &M); in TEST()
/external/clang/lib/CodeGen/
DCGCXX.cpp153 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()
DCodeGenModule.cpp313 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 …]
DItaniumCXXABI.cpp3456 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/
DValueMapper.cpp72 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/
DGlobalAlias.h44 Constant* Aliasee = 0, Module *Parent = 0);
/external/llvm/include/llvm/Transforms/Utils/
DValueMapper.h176 void scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee,
/external/llvm/unittests/IR/
DConstantsTest.cpp405 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/
DWinCOFFObjectWriter.cpp364 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/
DLinkModules.cpp852 if (Constant *Aliasee = I->getAliasee()) { in linkAliasBodies() local
854 DA->setAliasee(MapValue(Aliasee, ValueMap, RF_None, &TypeMap)); in linkAliasBodies()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2318 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/
DLLParser.cpp588 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/
DGlobalOpt.cpp2659 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/
Dllvm_ocaml.c963 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/
DLLParser.cpp727 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/
Dllvm_ocaml.c1225 LLVMValueRef Aliasee, value Name) { in llvm_add_alias() argument
1226 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); in llvm_add_alias()

12