Home
last modified time | relevance | path

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

/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 …]
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()
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()
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/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/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/llvm/docs/tutorial/
DBuildingAJIT2.rst190 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) {
191 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly);
195 bool ExportedSymbolsOnly) {
196 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly);