Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DGlobals.cpp230 const Twine &Name, Constant *Aliasee, in GlobalAlias() argument
234 Op<0>() = Aliasee; in GlobalAlias()
242 Constant *Aliasee, Module *ParentModule) { in create() argument
243 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
254 GlobalValue *Aliasee) { in create() argument
255 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
259 GlobalValue *Aliasee) { in create() argument
260 PointerType *PTy = Aliasee->getType(); in create()
262 Aliasee); in create()
265 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.cpp599 const Constant *Aliasee = GA.getAliasee(); in visitGlobalAlias() local
600 Assert(Aliasee, "Aliasee cannot be NULL!", &GA); in visitGlobalAlias()
601 Assert(GA.getType() == Aliasee->getType(), in visitGlobalAlias()
604 Assert(isa<GlobalValue>(Aliasee) || isa<ConstantExpr>(Aliasee), in visitGlobalAlias()
607 visitAliaseeSubExpr(GA, *Aliasee); in visitGlobalAlias()
DAsmWriter.cpp2458 const Constant *Aliasee = GA->getAliasee(); in printAlias() local
2460 if (!Aliasee) { in printAlias()
2464 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee)); in printAlias()
DCore.cpp1644 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, in LLVMAddAlias() argument
1649 unwrap<Constant>(Aliasee), unwrap(M))); in LLVMAddAlias()
/external/llvm/include/llvm/IR/
DGlobalAlias.h36 const Twine &Name, Constant *Aliasee, Module *Parent);
48 Constant *Aliasee, Module *Parent);
58 GlobalValue *Aliasee);
62 GlobalValue *Aliasee);
65 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
81 void setAliasee(Constant *Aliasee);
/external/clang/lib/CodeGen/
DCGCXX.cpp153 llvm::Constant *Aliasee = Ref; in TryEmitDefinitionAsAlias() local
155 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
167 Replacements[MangledName] = Aliasee; in TryEmitDefinitionAsAlias()
198 Aliasee, &getModule()); in TryEmitDefinitionAsAlias()
DCodeGenModule.cpp300 llvm::Constant *Aliasee = Alias->getAliasee(); in checkAliases() local
302 if (auto CE = dyn_cast<llvm::ConstantExpr>(Aliasee)) in checkAliases()
305 AliaseeGV = cast<llvm::GlobalValue>(Aliasee); in checkAliases()
323 Aliasee = llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( in checkAliases()
325 Alias->setAliasee(Aliasee); in checkAliases()
1447 llvm::Constant *Aliasee; in GetWeakRefReference() local
1449 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
1453 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), in GetWeakRefReference()
1457 auto *F = cast<llvm::GlobalValue>(Aliasee); in GetWeakRefReference()
1461 return ConstantAddress(Aliasee, Alignment); in GetWeakRefReference()
[all …]
DItaniumCXXABI.cpp3418 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); in emitConstructorDestructorAlias() local
3421 auto *Alias = llvm::GlobalAlias::create(Linkage, "", Aliasee); in emitConstructorDestructorAlias()
3425 assert(Entry->getType() == Aliasee->getType() && in emitConstructorDestructorAlias()
3463 auto *Aliasee = CGM.GetAddrOfGlobal(BaseDecl); in emitCXXStructor() local
3464 CGM.addReplacement(MangledName, Aliasee); in emitCXXStructor()
DCGExpr.cpp2099 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() local
2100 return MakeAddrLValue(Aliasee, T, AlignmentSource::Decl); in EmitDeclRefLValue()
/external/llvm/unittests/IR/
DConstantsTest.cpp380 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); in TEST() local
382 LLVMAddAlias(wrap(M.get()), wrap(I16PTy), wrap(Aliasee), "a"); in TEST()
383 ASSERT_EQ(unwrap<GlobalAlias>(AliasRef)->getAliasee(), Aliasee); in TEST()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2981 Constant *Aliasee = GA.getAliasee(); in hasUsesToReplace() local
2982 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); in hasUsesToReplace()
3013 Constant *Aliasee = J->getAliasee(); in OptimizeGlobalAliases() local
3014 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts()); in OptimizeGlobalAliases()
3027 J->replaceAllUsesWith(ConstantExpr::getBitCast(Aliasee, J->getType())); in OptimizeGlobalAliases()
/external/llvm/lib/Linker/
DIRMover.cpp1170 Constant *Aliasee = Src.getAliasee(); in linkAliasBody() local
1171 Constant *Val = MapValue(Aliasee, AliasValueMap, ValueMapperFlags, &TypeMap, in linkAliasBody()
/external/llvm/lib/AsmParser/
DLLParser.cpp687 Constant *Aliasee; in ParseAlias() local
693 if (ParseGlobalTypeAndValue(Aliasee)) in ParseAlias()
702 Aliasee = ID.ConstantVal; in ParseAlias()
705 Type *AliaseeType = Aliasee->getType(); in ParseAlias()
737 Name, Aliasee, /*Parent*/ nullptr)); in ParseAlias()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1169 LLVMValueRef Aliasee, value Name) { in llvm_add_alias() argument
1170 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); in llvm_add_alias()
/external/llvm/include/llvm-c/
DCore.h1776 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
/external/clang/include/clang/Basic/
DAttr.td360 let Args = [StringArgument<"Aliasee">];
1532 let Args = [StringArgument<"Aliasee", 1>];
/external/llvm/test/Bitcode/
Dcompatibility-3.7.ll174 ; [unnamed_addr] alias <AliaseeTy> @<Aliasee>
Dcompatibility-3.6.ll174 ; [unnamed_addr] alias <AliaseeTy> @<Aliasee>
Dcompatibility.ll176 ; [unnamed_addr] alias <AliaseeTy> @<Aliasee>
/external/llvm/docs/
DLangRef.rst740 …sibility] [DLLStorageClass] [ThreadLocal] [unnamed_addr] alias <AliaseeTy>, <AliaseeTy>* @<Aliasee>