Home
last modified time | relevance | path

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

/external/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.cpp459 if (const Value *Aliasee = I->getAliasee()) in run() local
460 incorporateValue(Aliasee); in run()
DAsmWriter.cpp1355 const Constant *Aliasee = GA->getAliasee(); in printAlias() local
1357 if (Aliasee == 0) { in printAlias()
1360 } else if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Aliasee)) { in printAlias()
1364 } else if (const Function *F = dyn_cast<Function>(Aliasee)) { in printAlias()
1369 } else if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(Aliasee)) { in printAlias()
1374 const ConstantExpr *CE = cast<ConstantExpr>(Aliasee); in printAlias()
DVerifier.cpp460 const GlobalValue* Aliasee = GA.resolveAliasedGlobal(/*stopOnWeak*/ false); in visitGlobalAlias() local
461 Assert1(Aliasee, in visitGlobalAlias()
DCore.cpp1184 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, in LLVMAddAlias() argument
1187 unwrap<Constant>(Aliasee), unwrap (M))); in LLVMAddAlias()
/external/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.cpp148 llvm::Constant *Aliasee = Ref; in TryEmitDefinitionAsAlias() local
150 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
154 new llvm::GlobalAlias(AliasType, Linkage, "", Aliasee, &getModule()); in TryEmitDefinitionAsAlias()
DCodeGenModule.cpp703 llvm::Constant *Aliasee; in GetWeakRefReference() local
705 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, GlobalDecl(), in GetWeakRefReference()
708 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), in GetWeakRefReference()
711 llvm::GlobalValue* F = cast<llvm::GlobalValue>(Aliasee); in GetWeakRefReference()
716 return Aliasee; in GetWeakRefReference()
1545 llvm::Constant *Aliasee; in EmitAliasDefinition() local
1547 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, GlobalDecl(), in EmitAliasDefinition()
1550 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), in EmitAliasDefinition()
1555 new llvm::GlobalAlias(Aliasee->getType(), in EmitAliasDefinition()
1557 "", Aliasee, &getModule()); in EmitAliasDefinition()
DCGExpr.cpp1341 llvm::Constant *Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() local
1342 return MakeAddrLValue(Aliasee, E->getType(), Alignment); in EmitDeclRefLValue()
/external/llvm/include/llvm/
DGlobalAlias.h45 Constant* Aliasee = 0, Module *Parent = 0);
/external/llvm/lib/Linker/
DLinkModules.cpp829 if (Constant *Aliasee = I->getAliasee()) { in linkAliasBodies() local
831 DA->setAliasee(MapValue(Aliasee, ValueMap, RF_None, &TypeMap)); in linkAliasBodies()
/external/llvm/lib/AsmParser/
DLLParser.cpp585 Constant *Aliasee; in ParseAlias() local
589 if (ParseGlobalTypeAndValue(Aliasee)) return true; in ParseAlias()
596 Aliasee = ID.ConstantVal; in ParseAlias()
599 if (!Aliasee->getType()->isPointerTy()) in ParseAlias()
603 GlobalAlias* GA = new GlobalAlias(Aliasee->getType(), in ParseAlias()
605 Aliasee); in ParseAlias()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2663 Constant *Aliasee = J->getAliasee(); in OptimizeGlobalAliases() local
2664 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); in OptimizeGlobalAliases()
2666 bool hasOneUse = Target->hasOneUse() && Aliasee->hasOneUse(); in OptimizeGlobalAliases()
2670 J->replaceAllUsesWith(Aliasee); in OptimizeGlobalAliases()
/external/clang/include/clang/Basic/
DAttr.td109 let Args = [StringArgument<"Aliasee">];
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c800 LLVMValueRef Aliasee, value Name) { in llvm_add_alias() argument
801 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); in llvm_add_alias()
/external/llvm/include/llvm-c/
DCore.h691 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,