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

/external/llvm/lib/IR/
H A DGlobals.cpp230 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 DTypeFinder.cpp38 if (const Value *Aliasee = I->getAliasee())
39 incorporateValue(Aliasee);
H A DVerifier.cpp599 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 DAsmWriter.cpp2458 const Constant *Aliasee = GA->getAliasee(); local
2460 if (!Aliasee) {
2464 writeOperand(Aliasee, !isa<ConstantExpr>(Aliasee));
H A DCore.cpp1644 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee, argument
1649 unwrap<Constant>(Aliasee), unwrap(M)));
/external/llvm/include/llvm/IR/
H A DGlobalAlias.h36 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 DCGCXX.cpp153 llvm::Constant *Aliasee = Ref; local
155 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType);
167 Replacements[MangledName] = Aliasee;
198 Aliasee, &getModule());
H A DCodeGenModule.cpp300 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 DItaniumCXXABI.cpp3418 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 DCGExpr.cpp2099 ConstantAddress Aliasee = CGM.GetWeakRefReference(VD); local
2100 return MakeAddrLValue(Aliasee, T, AlignmentSource::Decl);
/external/llvm/unittests/IR/
H A DConstantsTest.cpp380 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 DGlobalOpt.cpp2981 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 DIRMover.cpp1170 Constant *Aliasee = Src.getAliasee(); local
1171 Constant *Val = MapValue(Aliasee, AliasValueMap, ValueMapperFlags, &TypeMap,
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c1169 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 DLLParser.cpp658 /// 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 DCore.h1776 LLVMValueRef LLVMAddAlias(LLVMModuleRef M, LLVMTypeRef Ty, LLVMValueRef Aliasee,

Completed in 200 milliseconds