/external/llvm/lib/IR/ |
H A D | Globals.cpp | 245 const Twine &Name, Constant *Aliasee, 249 Op<0>() = Aliasee; 257 Constant *Aliasee, Module *ParentModule) { 258 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); 269 GlobalValue *Aliasee) { 270 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); 274 GlobalValue *Aliasee) { 275 PointerType *PTy = Aliasee->getType(); 277 Aliasee); 244 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Link, const Twine &Name, Constant *Aliasee, Module *ParentModule) argument 255 create(Type *Ty, unsigned AddressSpace, LinkageTypes Link, const Twine &Name, Constant *Aliasee, Module *ParentModule) argument 267 create(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, GlobalValue *Aliasee) argument 273 create(LinkageTypes Link, const Twine &Name, GlobalValue *Aliasee) argument 280 create(const Twine &Name, GlobalValue *Aliasee) argument 296 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 | 590 const Constant *Aliasee = GA.getAliasee(); local 591 Assert(Aliasee, "Aliasee cannot be NULL!", &GA); 592 Assert(GA.getType() == Aliasee->getType(), 595 Assert(isa<GlobalValue>(Aliasee) || isa<ConstantExpr>(Aliasee), 596 "Aliasee should be either GlobalValue or ConstantExpr", &GA); 598 visitAliaseeSubExpr(GA, *Aliasee);
|
H A D | AsmWriter.cpp | 2370 const Constant *Aliasee = GA->getAliasee(); local 2372 if (!Aliasee) { 2376 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee));
|
H A D | Core.cpp | 1628 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, argument 1633 unwrap<Constant>(Aliasee), unwrap(M)));
|
/external/llvm/include/llvm/IR/ |
H A D | GlobalAlias.h | 37 const Twine &Name, Constant *Aliasee, Module *Parent); 49 Constant *Aliasee, Module *Parent); 51 // Without the Aliasee. 56 // The module is taken from the Aliasee. 59 GlobalValue *Aliasee); 61 // Type, Parent and AddressSpace taken from the Aliasee. 63 GlobalValue *Aliasee); 65 // Linkage, Type, Parent and AddressSpace taken from the Aliasee. 66 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee); 82 void setAliasee(Constant *Aliasee); [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 151 llvm::Constant *Aliasee = Ref; local 153 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); 165 Replacements[MangledName] = Aliasee; 186 Linkage, "", Aliasee, &getModule());
|
H A D | CodeGenModule.cpp | 281 llvm::Constant *Aliasee = Alias->getAliasee(); local 283 if (auto CE = dyn_cast<llvm::ConstantExpr>(Aliasee)) 286 AliaseeGV = cast<llvm::GlobalValue>(Aliasee); 304 Aliasee = llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( 306 Alias->setAliasee(Aliasee); 1312 llvm::Constant *Aliasee; local 1314 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, 1318 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), 1322 auto *F = cast<llvm::GlobalValue>(Aliasee); 1326 return Aliasee; 2513 llvm::Constant *Aliasee; local [all...] |
H A D | ItaniumCXXABI.cpp | 3219 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(TargetDecl)); 3220 llvm::PointerType *AliasType = Aliasee->getType(); 3224 AliasType->getElementType(), 0, Linkage, "", Aliasee, &CGM.getModule()); 3266 auto *Aliasee = cast<llvm::GlobalValue>(CGM.GetAddrOfGlobal(BaseDecl)); local 3267 CGM.addReplacement(MangledName, Aliasee);
|
H A D | CGExpr.cpp | 1976 llvm::Constant *Aliasee = CGM.GetWeakRefReference(VD); local 1977 return MakeAddrLValue(Aliasee, T, Alignment);
|
/external/llvm/unittests/IR/ |
H A D | ConstantsTest.cpp | 362 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); local 364 LLVMAddAlias(wrap(M.get()), wrap(I16PTy), wrap(Aliasee), "a"); 365 ASSERT_EQ(unwrap<GlobalAlias>(AliasRef)->getAliasee(), Aliasee);
|
/external/llvm/tools/gold/ |
H A D | gold-plugin.cpp | 707 Constant *Aliasee = GA->getAliasee(); local 708 Constant *Replacement = mapConstantToLocalCopy(Aliasee, VM, &Materializer);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2844 Constant *Aliasee = GA.getAliasee(); 2845 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); 2876 Constant *Aliasee = J->getAliasee(); local 2877 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts()); 2890 J->replaceAllUsesWith(ConstantExpr::getBitCast(Aliasee, J->getType()));
|
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 1217 Constant *Aliasee = Src.getAliasee(); local 1219 MapValue(Aliasee, ValueMap, RF_None, &TypeMap, &ValMaterializer);
|
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm_ocaml.c | 1158 LLVMValueRef Aliasee, value Name) { 1159 return LLVMAddAlias(M, Ty, Aliasee, String_val(Name)); 1157 llvm_add_alias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, value Name) argument
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 620 /// OptionalUnNammedAddr 'alias' Aliasee 622 /// Aliasee 643 Constant *Aliasee; 649 if (ParseGlobalTypeAndValue(Aliasee)) 658 Aliasee = ID.ConstantVal; 661 Type *AliaseeType = Aliasee->getType(); 671 Name, Aliasee, /*Parent*/ nullptr));
|
/external/llvm/include/llvm-c/ |
H A D | Core.h | 1858 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
|