Home
last modified time | relevance | path

Searched refs:Aliasee (Results 1 – 25 of 74) sorted by relevance

123

/external/llvm/lib/IR/
DGlobals.cpp325 const Twine &Name, Constant *Aliasee, in GlobalAlias() argument
328 Aliasee) { in GlobalAlias()
335 Constant *Aliasee, Module *ParentModule) { in create() argument
336 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
347 GlobalValue *Aliasee) { in create() argument
348 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
352 GlobalValue *Aliasee) { in create() argument
353 PointerType *PTy = Aliasee->getType(); in create()
355 Aliasee); in create()
358 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) { in create() argument
[all …]
DTypeFinder.cpp38 if (const Value *Aliasee = I->getAliasee()) in run() local
39 incorporateValue(Aliasee); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DGlobals.cpp410 const Twine &Name, Constant *Aliasee, in GlobalAlias() argument
413 Aliasee) { in GlobalAlias()
420 Constant *Aliasee, Module *ParentModule) { in create() argument
421 return new GlobalAlias(Ty, AddressSpace, Link, Name, Aliasee, ParentModule); in create()
432 GlobalValue *Aliasee) { in create() argument
433 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
437 GlobalValue *Aliasee) { in create() argument
438 PointerType *PTy = Aliasee->getType(); in create()
440 Aliasee); in create()
443 GlobalAlias *GlobalAlias::create(const Twine &Name, GlobalValue *Aliasee) { in create() argument
[all …]
DTypeFinder.cpp45 if (const Value *Aliasee = A.getAliasee()) in run() local
46 incorporateValue(Aliasee); in run()
/external/llvm/include/llvm/IR/
DGlobalAlias.h36 const Twine &Name, Constant *Aliasee, Module *Parent);
43 Constant *Aliasee, Module *Parent);
53 GlobalValue *Aliasee);
57 GlobalValue *Aliasee);
60 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
73 void setAliasee(Constant *Aliasee);
DModuleSummaryIndex.h217 void setAliasee(GlobalValueSummary *Aliasee) { AliaseeSummary = Aliasee; } in setAliasee() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalAlias.h33 const Twine &Name, Constant *Aliasee, Module *Parent);
43 Constant *Aliasee, Module *Parent);
53 GlobalValue *Aliasee);
57 GlobalValue *Aliasee);
60 static GlobalAlias *create(const Twine &Name, GlobalValue *Aliasee);
77 void setAliasee(Constant *Aliasee);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DRecordStreamer.cpp128 const MCSymbol *Aliasee) { in emitELFSymverDirective() argument
129 SymverAliasMap[Aliasee].push_back(AliasName); in emitELFSymverDirective()
156 const MCSymbol *Aliasee = Symver.first; in flushSymverDirectives() local
161 RecordStreamer::State state = getSymbolState(Aliasee); in flushSymverDirectives()
189 const GlobalValue *GV = M.getNamedValue(Aliasee->getName()); in flushSymverDirectives()
191 auto MI = MangledNameMap.find(Aliasee->getName()); in flushSymverDirectives()
224 const MCExpr *Value = MCSymbolRefExpr::create(Aliasee, getContext()); in flushSymverDirectives()
DRecordStreamer.h61 const MCSymbol *Aliasee) override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DCompileOnDemandLayer.cpp50 Constant *Aliasee = A->getAliasee(); in extractAliases() local
52 assert(Aliasee->hasName() && "Anonymous aliasee"); in extractAliases()
56 {Mangle(Aliasee->getName()), JITSymbolFlags::fromGlobalValue(*A)}); in extractAliases()
58 if (isa<Function>(Aliasee)) { in extractAliases()
59 auto *F = cloneFunctionDecl(M, *cast<Function>(Aliasee)); in extractAliases()
63 } else if (isa<GlobalValue>(Aliasee)) { in extractAliases()
64 auto *G = cloneGlobalVariableDecl(M, *cast<GlobalVariable>(Aliasee)); in extractAliases()
DCore.cpp784 if (&SrcV == &TgtV && (QueryAliases.count(Tmp->second.Aliasee) || in materialize()
785 RequestedAliases.count(Tmp->second.Aliasee))) in materialize()
789 QuerySymbols.insert(Tmp->second.Aliasee); in materialize()
823 if (SrcVDeps.count(KV.second.Aliasee)) { in materialize()
824 PerAliasDeps = {KV.second.Aliasee}; in materialize()
833 assert(Result->count(KV.second.Aliasee) && in materialize()
836 (*Result)[KV.second.Aliasee].getAddress(), KV.second.AliasFlags); in materialize()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGlobals.cpp219 void GlobalAlias::setAliasee(Constant *Aliasee) { in setAliasee() argument
220 assert((!Aliasee || Aliasee->getType() == getType()) && in setAliasee()
223 setOperand(0, Aliasee); in setAliasee()
DModule.cpp447 if (const Value *Aliasee = I->getAliasee()) in run() local
448 incorporateValue(Aliasee); in run()
/external/clang/lib/CodeGen/
DCGCXX.cpp153 llvm::Constant *Aliasee = Ref; in TryEmitDefinitionAsAlias() local
155 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
167 addReplacement(MangledName, Aliasee); in TryEmitDefinitionAsAlias()
198 Aliasee, &getModule()); in TryEmitDefinitionAsAlias()
DCodeGenModule.cpp313 llvm::Constant *Aliasee = Alias->getIndirectSymbol(); in checkAliases() local
315 if (auto CE = dyn_cast<llvm::ConstantExpr>(Aliasee)) in checkAliases()
318 AliaseeGV = cast<llvm::GlobalValue>(Aliasee); in checkAliases()
336 Aliasee = llvm::ConstantExpr::getPointerBitCastOrAddrSpaceCast( in checkAliases()
338 Alias->setIndirectSymbol(Aliasee); in checkAliases()
1506 llvm::Constant *Aliasee; in GetWeakRefReference() local
1508 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
1512 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), in GetWeakRefReference()
1516 auto *F = cast<llvm::GlobalValue>(Aliasee); in GetWeakRefReference()
1520 return ConstantAddress(Aliasee, Alignment); in GetWeakRefReference()
[all …]
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DVerifierTest.cpp52 GlobalVariable *Aliasee = new GlobalVariable(M, Ty, true, in TEST() local
57 "bar", Aliasee, &M); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp83 Constant *Aliasee; member
165 void scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee,
176 void mapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee);
852 mapConstant(E.Data.GlobalAliasee.Aliasee)); in flush()
1030 void Mapper::scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee, in scheduleMapGlobalAliasee() argument
1039 WE.Data.GlobalAliasee.Aliasee = &Aliasee; in scheduleMapGlobalAliasee()
1136 void ValueMapper::scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee, in scheduleMapGlobalAliasee() argument
1138 getAsMapper(pImpl)->scheduleMapGlobalAliasee(GA, Aliasee, MCID); in scheduleMapGlobalAliasee()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp72 Constant *Aliasee; member
153 void scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee,
164 void mapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee);
836 mapConstant(E.Data.GlobalAliasee.Aliasee)); in flush()
1011 void Mapper::scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee, in scheduleMapGlobalAliasee() argument
1020 WE.Data.GlobalAliasee.Aliasee = &Aliasee; in scheduleMapGlobalAliasee()
1115 void ValueMapper::scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee, in scheduleMapGlobalAliasee() argument
1117 getAsMapper(pImpl)->scheduleMapGlobalAliasee(GA, Aliasee, MCID); in scheduleMapGlobalAliasee()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DCore.h284 SymbolAliasMapEntry(SymbolStringPtr Aliasee, JITSymbolFlags AliasFlags) in SymbolAliasMapEntry()
285 : Aliasee(std::move(Aliasee)), AliasFlags(AliasFlags) {} in SymbolAliasMapEntry()
287 SymbolStringPtr Aliasee; member
/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalAlias.h44 Constant* Aliasee = 0, Module *Parent = 0);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCELFStreamer.h56 const MCSymbol *Aliasee) override;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp406 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); in TEST() local
408 LLVMAddAlias(wrap(M.get()), wrap(I16PTy), wrap(Aliasee), "a"); in TEST()
409 ASSERT_EQ(unwrap<GlobalAlias>(AliasRef)->getAliasee(), Aliasee); in TEST()
/external/llvm/unittests/IR/
DConstantsTest.cpp405 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); in TEST() local
407 LLVMAddAlias(wrap(M.get()), wrap(I16PTy), wrap(Aliasee), "a"); in TEST()
408 ASSERT_EQ(unwrap<GlobalAlias>(AliasRef)->getAliasee(), Aliasee); in TEST()
/external/llvm/include/llvm/Transforms/Utils/
DValueMapper.h176 void scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DValueMapper.h184 void scheduleMapGlobalAliasee(GlobalAlias &GA, Constant &Aliasee,

123