Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DGlobals.cpp241 const Twine &Name, Constant *Aliasee, in GlobalAlias() argument
246 Op<0>() = Aliasee; in GlobalAlias()
254 Constant *Aliasee, Module *ParentModule) { in create() argument
255 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
266 GlobalValue *Aliasee) { in create() argument
267 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
271 GlobalValue *Aliasee) { in create() argument
272 PointerType *PTy = Aliasee->getType(); in create()
274 Aliasee); in create()
277 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.cpp539 const Constant *Aliasee = GA.getAliasee(); in visitGlobalAlias() local
540 Assert1(Aliasee, "Aliasee cannot be NULL!", &GA); in visitGlobalAlias()
541 Assert1(GA.getType() == Aliasee->getType(), in visitGlobalAlias()
544 Assert1(isa<GlobalValue>(Aliasee) || isa<ConstantExpr>(Aliasee), in visitGlobalAlias()
547 visitAliaseeSubExpr(GA, *Aliasee); in visitGlobalAlias()
DAsmWriter.cpp1522 const Constant *Aliasee = GA->getAliasee(); in printAlias() local
1524 if (!Aliasee) { in printAlias()
1528 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee)); in printAlias()
DCore.cpp1497 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, in LLVMAddAlias() argument
1502 unwrap<GlobalObject>(Aliasee), unwrap(M))); in LLVMAddAlias()
/external/llvm/include/llvm/IR/
DGlobalAlias.h37 const Twine &Name, Constant *Aliasee, Module *Parent);
49 Constant *Aliasee, Module *Parent);
59 GlobalValue *Aliasee);
63 GlobalValue *Aliasee);
66 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
82 void setAliasee(Constant *Aliasee);
/external/clang/lib/CodeGen/
DCGCXX.cpp145 llvm::Constant *Aliasee = Ref; in TryEmitDefinitionAsAlias() local
147 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
159 Replacements[MangledName] = Aliasee; in TryEmitDefinitionAsAlias()
180 Linkage, "", Aliasee, &getModule()); in TryEmitDefinitionAsAlias()
DCodeGenModule.cpp267 llvm::Constant *Aliasee = Alias->getAliasee(); in checkAliases() local
269 if (auto CE = dyn_cast<llvm::ConstantExpr>(Aliasee)) in checkAliases()
272 AliaseeGV = cast<llvm::GlobalValue>(Aliasee); in checkAliases()
290 Aliasee = llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( in checkAliases()
292 Alias->setAliasee(Aliasee); in checkAliases()
1192 llvm::Constant *Aliasee; in GetWeakRefReference() local
1194 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
1198 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), in GetWeakRefReference()
1202 auto *F = cast<llvm::GlobalValue>(Aliasee); in GetWeakRefReference()
1206 return Aliasee; in GetWeakRefReference()
[all …]
DCGExpr.cpp1856 llvm::Constant *Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() local
1857 return MakeAddrLValue(Aliasee, T, Alignment); in EmitDeclRefLValue()
/external/llvm/lib/CodeGen/
DJumpInstrTables.cpp284 Constant *Aliasee = GA.getAliasee(); in runOnModule() local
285 if (Function *F = dyn_cast<Function>(Aliasee)) { in runOnModule()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2833 Constant *Aliasee = GA.getAliasee(); in hasUsesToReplace() local
2834 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); in hasUsesToReplace()
2867 Constant *Aliasee = J->getAliasee(); in OptimizeGlobalAliases() local
2868 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts()); in OptimizeGlobalAliases()
2881 J->replaceAllUsesWith(ConstantExpr::getBitCast(Aliasee, J->getType())); in OptimizeGlobalAliases()
/external/llvm/lib/Linker/
DLinkModules.cpp1213 if (Constant *Aliasee = I->getAliasee()) { in linkAliasBodies() local
1216 MapValue(Aliasee, ValueMap, RF_None, &TypeMap, &ValMaterializer); in linkAliasBodies()
/external/llvm/lib/AsmParser/
DLLParser.cpp725 Constant *Aliasee; in ParseAlias() local
731 if (ParseGlobalTypeAndValue(Aliasee)) in ParseAlias()
740 Aliasee = ID.ConstantVal; in ParseAlias()
743 Type *AliaseeType = Aliasee->getType(); in ParseAlias()
753 Name, Aliasee, /*Parent*/ nullptr)); in ParseAlias()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1086 LLVMValueRef Aliasee, value Name) { in llvm_add_alias() argument
1087 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); in llvm_add_alias()
/external/llvm/include/llvm-c/
DCore.h1815 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
/external/clang/include/clang/Basic/
DAttr.td340 let Args = [StringArgument<"Aliasee">];
1262 let Args = [StringArgument<"Aliasee", 1>];
/external/llvm/docs/
DLangRef.rst700 … [Visibility] [DLLStorageClass] [ThreadLocal] [unnamed_addr] alias [Linkage] <AliaseeTy> @<Aliasee>