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

/external/llvm/lib/IR/
H A DGlobals.cpp245 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 DTypeFinder.cpp38 if (const Value *Aliasee = I->getAliasee())
39 incorporateValue(Aliasee);
H A DVerifier.cpp590 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 DAsmWriter.cpp2370 const Constant *Aliasee = GA->getAliasee(); local
2372 if (!Aliasee) {
2376 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee));
H A DCore.cpp1628 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, argument
1633 unwrap<Constant>(Aliasee), unwrap(M)));
/external/llvm/include/llvm/IR/
H A DGlobalAlias.h37 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 DCGCXX.cpp151 llvm::Constant *Aliasee = Ref; local
153 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType);
165 Replacements[MangledName] = Aliasee;
186 Linkage, "", Aliasee, &getModule());
H A DCodeGenModule.cpp281 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 DItaniumCXXABI.cpp3219 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 DCGExpr.cpp1976 llvm::Constant *Aliasee = CGM.GetWeakRefReference(VD); local
1977 return MakeAddrLValue(Aliasee, T, Alignment);
/external/llvm/unittests/IR/
H A DConstantsTest.cpp362 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 Dgold-plugin.cpp707 Constant *Aliasee = GA->getAliasee(); local
708 Constant *Replacement = mapConstantToLocalCopy(Aliasee, VM, &Materializer);
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp2844 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 DLinkModules.cpp1217 Constant *Aliasee = Src.getAliasee(); local
1219 MapValue(Aliasee, ValueMap, RF_None, &TypeMap, &ValMaterializer);
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c1158 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 DLLParser.cpp620 /// 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 DCore.h1858 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,

Completed in 1426 milliseconds