/external/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 | 459 if (const Value *Aliasee = I->getAliasee()) in run() local 460 incorporateValue(Aliasee); in run()
|
D | AsmWriter.cpp | 1355 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()
|
D | Verifier.cpp | 460 const GlobalValue* Aliasee = GA.resolveAliasedGlobal(/*stopOnWeak*/ false); in visitGlobalAlias() local 461 Assert1(Aliasee, in visitGlobalAlias()
|
D | Core.cpp | 1184 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, in LLVMAddAlias() argument 1187 unwrap<Constant>(Aliasee), unwrap (M))); in LLVMAddAlias()
|
/external/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 | 148 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()
|
D | CodeGenModule.cpp | 703 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()
|
D | CGExpr.cpp | 1341 llvm::Constant *Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() local 1342 return MakeAddrLValue(Aliasee, E->getType(), Alignment); in EmitDeclRefLValue()
|
/external/llvm/include/llvm/ |
D | GlobalAlias.h | 45 Constant* Aliasee = 0, Module *Parent = 0);
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 829 if (Constant *Aliasee = I->getAliasee()) { in linkAliasBodies() local 831 DA->setAliasee(MapValue(Aliasee, ValueMap, RF_None, &TypeMap)); in linkAliasBodies()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 585 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/ |
D | GlobalOpt.cpp | 2663 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/ |
D | Attr.td | 109 let Args = [StringArgument<"Aliasee">];
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 800 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/ |
D | Core.h | 691 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
|