Home
last modified time | relevance | path

Searched refs:ExportedSymbolsOnly (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h49 JITSymbol find(StringRef Name, bool ExportedSymbolsOnly, BaseLayerT &B) { in find() argument
52 if (auto GV = searchGVs(Name, ExportedSymbolsOnly)) { in find()
59 [this, ExportedSymbolsOnly, PName, &B]() -> Expected<JITTargetAddress> { in find()
68 if (auto Sym = B.findSymbolIn(K, PName, ExportedSymbolsOnly)) in find()
86 return B.findSymbolIn(K, Name, ExportedSymbolsOnly); in find()
110 bool ExportedSymbolsOnly) const { in searchGVs() argument
121 if (!ExportedSymbolsOnly || GV->hasDefaultVisibility()) in searchGVs()
129 return buildMangledSymbols(Name, ExportedSymbolsOnly); in searchGVs()
146 bool ExportedSymbolsOnly) const { in addGlobalValue() argument
161 if (!ExportedSymbolsOnly || GV.hasDefaultVisibility()) in addGlobalValue()
[all …]
DGlobalMappingLayer.h77 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
81 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
93 bool ExportedSymbolsOnly) { in findSymbolIn() argument
94 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
DObjectTransformLayer.h72 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
73 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
85 bool ExportedSymbolsOnly) { in findSymbolIn() argument
86 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
DIRTransformLayer.h79 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
80 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
92 bool ExportedSymbolsOnly) { in findSymbolIn() argument
93 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
DIRCompileLayer.h99 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
100 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
112 bool ExportedSymbolsOnly) { in findSymbolIn() argument
113 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
DRTDyldObjectLinkingLayer.h116 JITSymbol getSymbol(StringRef Name, bool ExportedSymbolsOnly) { in getSymbol() argument
120 if (!SymEntry->second.getFlags().isExported() && ExportedSymbolsOnly) in getSymbol()
363 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument
365 if (auto Sym = KV.second->getSymbol(Name, ExportedSymbolsOnly)) in findSymbol()
381 bool ExportedSymbolsOnly) { in findSymbolIn() argument
383 return LinkedObjects[K]->getSymbol(Name, ExportedSymbolsOnly); in findSymbolIn()
DRemoteObjectLayer.h349 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument
352 ExportedSymbolsOnly)); in findSymbol()
356 JITSymbol findSymbolIn(ObjHandleT H, StringRef Name, bool ExportedSymbolsOnly) { in findSymbolIn() argument
359 ExportedSymbolsOnly)); in findSymbolIn()
490 bool ExportedSymbolsOnly) { in findSymbol() argument
491 if (auto Sym = BaseLayer.findSymbol(Name, ExportedSymbolsOnly)) in findSymbol()
499 bool ExportedSymbolsOnly) { in findSymbolIn() argument
502 if (auto Sym = BaseLayer.findSymbolIn(HI->second, Name, ExportedSymbolsOnly)) in findSymbolIn()
DCompileOnDemandLayer.h212 bool ExportedSymbolsOnly) { in findSymbol()
213 if (auto Sym = StubsMgr->findStub(Name, ExportedSymbolsOnly)) in findSymbol()
216 if (auto Sym = BaseLayer.findSymbolIn(BLK, Name, ExportedSymbolsOnly)) in findSymbol()
307 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument
309 if (auto Sym = KV.second.StubsMgr->findStub(Name, ExportedSymbolsOnly)) in findSymbol()
311 if (auto Sym = findSymbolIn(KV.first, Name, ExportedSymbolsOnly)) in findSymbol()
316 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
322 bool ExportedSymbolsOnly) { in findSymbolIn() argument
324 return LogicalDylibs[K].findSymbol(BaseLayer, Name, ExportedSymbolsOnly); in findSymbolIn()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h45 JITSymbol find(StringRef Name, bool ExportedSymbolsOnly, BaseLayerT &B) { in find() argument
48 if (auto GV = searchGVs(Name, ExportedSymbolsOnly)) { in find()
55 [this, ExportedSymbolsOnly, PName, &B]() -> TargetAddress { in find()
63 auto Sym = B.findSymbolIn(Handle, PName, ExportedSymbolsOnly); in find()
76 return B.findSymbolIn(Handle, Name, ExportedSymbolsOnly); in find()
105 bool ExportedSymbolsOnly) const = 0;
126 bool ExportedSymbolsOnly) const override { in searchGVs() argument
137 if (!ExportedSymbolsOnly || GV->hasDefaultVisibility()) in searchGVs()
145 return buildMangledSymbols(Name, ExportedSymbolsOnly); in searchGVs()
164 bool ExportedSymbolsOnly) const { in addGlobalValue() argument
[all …]
DLogicalDylib.h90 bool ExportedSymbolsOnly) { in findSymbolInLogicalModule() argument
92 if (auto StubSym = LMH->Resources.findSymbol(Name, ExportedSymbolsOnly)) in findSymbolInLogicalModule()
96 if (auto Symbol = BaseLayer.findSymbolIn(BLH, Name, ExportedSymbolsOnly)) in findSymbolInLogicalModule()
116 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
119 if (auto Sym = findSymbolInLogicalModule(LMI, Name, ExportedSymbolsOnly)) in findSymbol()
DIRTransformLayer.h63 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
64 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
76 bool ExportedSymbolsOnly) { in findSymbolIn() argument
77 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
DGlobalMappingLayer.h73 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
77 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
89 bool ExportedSymbolsOnly) { in findSymbolIn() argument
90 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
DObjectTransformLayer.h62 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
63 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
75 bool ExportedSymbolsOnly) { in findSymbolIn() argument
76 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
DIRCompileLayer.h96 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
97 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
109 bool ExportedSymbolsOnly) { in findSymbolIn() argument
110 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
DObjectLinkingLayer.h51 JITSymbol getSymbol(StringRef Name, bool ExportedSymbolsOnly) { in getSymbol() argument
55 if (!SymEntry->second.isExported() && ExportedSymbolsOnly) in getSymbol()
302 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument
305 if (auto Symbol = findSymbolIn(I, Name, ExportedSymbolsOnly)) in findSymbol()
319 bool ExportedSymbolsOnly) { in findSymbolIn() argument
320 return (*H)->getSymbol(Name, ExportedSymbolsOnly); in findSymbolIn()
DCompileOnDemandLayer.h112 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol()
113 if (Name.endswith("$stub_ptr") && !ExportedSymbolsOnly) { in findSymbol()
114 assert(!ExportedSymbolsOnly && "Stubs are never exported"); in findSymbol()
117 return StubsMgr->findStub(Name, ExportedSymbolsOnly); in findSymbol()
224 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument
227 if (auto Symbol = findSymbolIn(LDI, Name, ExportedSymbolsOnly)) in findSymbol()
229 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
235 bool ExportedSymbolsOnly) { in findSymbolIn() argument
236 return H->findSymbol(Name, ExportedSymbolsOnly); in findSymbolIn()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h58 bool ExportedSymbolsOnly) = 0; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
67 bool ExportedSymbolsOnly) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
68 return Layer.findSymbolIn(K, Name, ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
87 bool ExportedSymbolsOnly) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
88 return Layer.findSymbolIn(K, Name, ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
385 bool ExportedSymbolsOnly) { in findSymbol() argument
386 if (auto Sym = IndirectStubsMgr->findStub(Name, ExportedSymbolsOnly)) in findSymbol()
388 return CODLayer.findSymbol(mangle(Name), ExportedSymbolsOnly); in findSymbol()
392 bool ExportedSymbolsOnly) { in findSymbolIn() argument
394 return KeyLayers[K]->findSymbolIn(K, mangle(Name), ExportedSymbolsOnly); in findSymbolIn()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h48 bool ExportedSymbolsOnly) = 0; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
58 bool ExportedSymbolsOnly) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
59 return Layer.findSymbolIn(Handle, Name, ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
225 orc::JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
226 if (auto Sym = IndirectStubsMgr->findStub(Name, ExportedSymbolsOnly)) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
228 return CODLayer.findSymbol(mangle(Name), ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
232 bool ExportedSymbolsOnly) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
233 return GenericHandles[H]->findSymbolIn(Name, ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DObjectTransformLayerTest.cpp80 bool ExportedSymbolsOnly) { in findSymbol() argument
82 EXPECT_EQ(MockBool, ExportedSymbolsOnly) << "Flag should pass through"; in findSymbol()
87 void expectFindSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in expectFindSymbol() argument
89 MockBool = ExportedSymbolsOnly; in expectFindSymbol()
100 bool ExportedSymbolsOnly) { in findSymbolIn() argument
103 EXPECT_EQ(MockBool, ExportedSymbolsOnly) << "Flag should pass through"; in findSymbolIn()
109 bool ExportedSymbolsOnly) { in expectFindSymbolIn() argument
112 MockBool = ExportedSymbolsOnly; in expectFindSymbolIn()
DOrcTestCommon.h173 bool ExportedSymbolsOnly);
198 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
201 return findSymbolImpl(Name, ExportedSymbolsOnly); in findSymbol()
205 bool ExportedSymbolsOnly) { in findSymbolIn() argument
208 return findSymbolInImpl(H, Name, ExportedSymbolsOnly); in findSymbolIn()
DRemoteObjectLayerTest.cpp55 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument
57 if (auto Sym = KV.second(Name, ExportedSymbolsOnly)) in findSymbol()
66 bool ExportedSymbolsOnly) { in findSymbolIn() argument
69 return LI->second(Name, ExportedSymbolsOnly); in findSymbolIn()
350 [](StringRef Name, bool ExportedSymbolsOnly) -> JITSymbol { in TEST() argument
432 [](StringRef Name, bool ExportedSymbolsOnly) -> JITSymbol { in TEST() argument
440 [](StringRef Name, bool ExportedSymbolsOnly) -> JITSymbol { in TEST() argument
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectTransformLayerTest.cpp98 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
100 EXPECT_EQ(MockBool, ExportedSymbolsOnly) << "Flag should pass through"; in findSymbol()
105 void expectFindSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in expectFindSymbol() argument
107 MockBool = ExportedSymbolsOnly; in expectFindSymbol()
117 bool ExportedSymbolsOnly) { in findSymbolIn() argument
120 EXPECT_EQ(MockBool, ExportedSymbolsOnly) << "Flag should pass through"; in findSymbolIn()
126 bool ExportedSymbolsOnly) { in expectFindSymbolIn() argument
129 MockBool = ExportedSymbolsOnly; in expectFindSymbolIn()
DOrcTestCommon.h127 orc::JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument
128 return FindSymbol(Name, ExportedSymbolsOnly); in findSymbol()
132 bool ExportedSymbolsOnly) { in findSymbolIn() argument
133 return FindSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
DGlobalMappingLayerTest.cpp22 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h100 const bool ExportedSymbolsOnly = false; in findMangledSymbol() local
102 const bool ExportedSymbolsOnly = true; in findMangledSymbol()
109 if (auto Sym = CompileLayer.findSymbolIn(H, Name, ExportedSymbolsOnly)) in findMangledSymbol()

12