/external/llvm/lib/IR/ |
H A D | Globals.cpp | 230 const Twine &Name, Constant *Aliasee, 234 Op<0>() = Aliasee; 242 Constant *Aliasee, Module *ParentModule) { 243 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); 254 GlobalValue *Aliasee) { 255 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); 259 GlobalValue *Aliasee) { 260 PointerType *PTy = Aliasee->getType(); 262 Aliasee); 229 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, const Twine &Name, Constant *Aliasee, Module *ParentModule) argument 240 create(Type *Ty, unsigned AddressSpace, LinkageTypes Link, const Twine &Name, Constant *Aliasee, Module *ParentModule) argument 252 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, GlobalValue *Aliasee) argument 258 create(LinkageTypes Link, const Twine &Name, GlobalValue *Aliasee) argument 265 create(const Twine &Name, GlobalValue *Aliasee) argument 281 setAliasee(Constant *Aliasee) argument [all...] |
H A D | TypeFinder.cpp | 38 if (const Value *Aliasee = I->getAliasee()) 39 incorporateValue(Aliasee);
|
H A D | Verifier.cpp | 599 const Constant *Aliasee = GA.getAliasee(); local 600 Assert(Aliasee, "Aliasee cannot be NULL!", &GA); 601 Assert(GA.getType() == Aliasee->getType(), 604 Assert(isa<GlobalValue>(Aliasee) || isa<ConstantExpr>(Aliasee), 605 "Aliasee should be either GlobalValue or ConstantExpr", &GA); 607 visitAliaseeSubExpr(GA, *Aliasee);
|
H A D | AsmWriter.cpp | 2458 const Constant *Aliasee = GA->getAliasee(); local 2460 if (!Aliasee) { 2464 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee));
|
H A D | Core.cpp | 1644 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, argument 1649 unwrap<Constant>(Aliasee), unwrap(M)));
|
/external/llvm/include/llvm/IR/ |
H A D | GlobalAlias.h | 36 const Twine &Name, Constant *Aliasee, Module *Parent); 48 Constant *Aliasee, Module *Parent); 50 // Without the Aliasee. 55 // The module is taken from the Aliasee. 58 GlobalValue *Aliasee); 60 // Type, Parent and AddressSpace taken from the Aliasee. 62 GlobalValue *Aliasee); 64 // Linkage, Type, Parent and AddressSpace taken from the Aliasee. 65 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee); 81 void setAliasee(Constant *Aliasee); [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 153 llvm::Constant *Aliasee = Ref; local 155 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); 167 Replacements[MangledName] = Aliasee; 198 Aliasee, &getModule());
|
H A D | CodeGenModule.cpp | 300 llvm::Constant *Aliasee = Alias->getAliasee(); local 302 if (auto CE = dyn_cast<llvm::ConstantExpr>(Aliasee)) 305 AliaseeGV = cast<llvm::GlobalValue>(Aliasee); 323 Aliasee = llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( 325 Alias->setAliasee(Aliasee); 1447 llvm::Constant *Aliasee; local 1449 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, 1453 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), 1457 auto *F = cast<llvm::GlobalValue>(Aliasee); 1461 return ConstantAddress(Aliasee, Alignmen 2753 llvm::Constant *Aliasee; local [all...] |
H A D | ItaniumCXXABI.cpp | 3418 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); 3421 auto *Alias = llvm::GlobalAlias::create(Linkage, "", Aliasee); 3425 assert(Entry->getType() == Aliasee->getType() && 3463 auto *Aliasee = CGM.GetAddrOfGlobal(BaseDecl); local 3464 CGM.addReplacement(MangledName, Aliasee);
|
H A D | CGExpr.cpp | 2099 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); local 2100 return MakeAddrLValue(Aliasee, T, AlignmentSource::Decl);
|
/external/llvm/unittests/IR/ |
H A D | ConstantsTest.cpp | 380 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); local 382 LLVMAddAlias(wrap(M.get()), wrap(I16PTy), wrap(Aliasee), "a"); 383 ASSERT_EQ(unwrap<GlobalAlias>(AliasRef)->getAliasee(), Aliasee);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2981 Constant *Aliasee = GA.getAliasee(); 2982 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); 3013 Constant *Aliasee = J->getAliasee(); local 3014 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts()); 3027 J->replaceAllUsesWith(ConstantExpr::getBitCast(Aliasee, J->getType()));
|
/external/llvm/lib/Linker/ |
H A D | IRMover.cpp | 1170 Constant *Aliasee = Src.getAliasee(); local 1171 Constant *Val = MapValue(Aliasee, AliasValueMap, ValueMapperFlags, &TypeMap,
|
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm_ocaml.c | 1169 LLVMValueRef Aliasee, value Name) { 1170 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); 1168 llvm_add_alias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, value Name) argument
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 658 /// OptionalUnnamedAddr 'alias' Aliasee 660 /// Aliasee 687 Constant *Aliasee; 693 if (ParseGlobalTypeAndValue(Aliasee)) 702 Aliasee = ID.ConstantVal; 705 Type *AliaseeType = Aliasee->getType(); 737 Name, Aliasee, /*Parent*/ nullptr));
|
/external/llvm/include/llvm-c/ |
H A D | Core.h | 1776 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
|