/external/llvm/lib/IR/ |
D | Globals.cpp | 230 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 …]
|
D | TypeFinder.cpp | 38 if (const Value *Aliasee = I->getAliasee()) in run() local 39 incorporateValue(Aliasee); in run()
|
D | Verifier.cpp | 599 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()
|
D | AsmWriter.cpp | 2458 const Constant *Aliasee = GA->getAliasee(); in printAlias() local 2460 if (!Aliasee) { in printAlias() 2464 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee)); in printAlias()
|
D | Core.cpp | 1644 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, in LLVMAddAlias() argument 1649 unwrap<Constant>(Aliasee), unwrap(M))); in LLVMAddAlias()
|
/external/llvm/include/llvm/IR/ |
D | GlobalAlias.h | 36 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/ |
D | CGCXX.cpp | 153 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()
|
D | CodeGenModule.cpp | 300 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 …]
|
D | ItaniumCXXABI.cpp | 3418 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()
|
D | CGExpr.cpp | 2099 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); in EmitDeclRefLValue() local 2100 return MakeAddrLValue(Aliasee, T, AlignmentSource::Decl); in EmitDeclRefLValue()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 380 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/ |
D | GlobalOpt.cpp | 2981 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/ |
D | IRMover.cpp | 1170 Constant *Aliasee = Src.getAliasee(); in linkAliasBody() local 1171 Constant *Val = MapValue(Aliasee, AliasValueMap, ValueMapperFlags, &TypeMap, in linkAliasBody()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 687 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/ |
D | llvm_ocaml.c | 1169 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/ |
D | Core.h | 1776 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 360 let Args = [StringArgument<"Aliasee">]; 1532 let Args = [StringArgument<"Aliasee", 1>];
|
/external/llvm/test/Bitcode/ |
D | compatibility-3.7.ll | 174 ; [unnamed_addr] alias <AliaseeTy> @<Aliasee>
|
D | compatibility-3.6.ll | 174 ; [unnamed_addr] alias <AliaseeTy> @<Aliasee>
|
D | compatibility.ll | 176 ; [unnamed_addr] alias <AliaseeTy> @<Aliasee>
|
/external/llvm/docs/ |
D | LangRef.rst | 740 …sibility] [DLLStorageClass] [ThreadLocal] [unnamed_addr] alias <AliaseeTy>, <AliaseeTy>* @<Aliasee>
|