/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | LazyEmittingLayer.h | 48 JITSymbol find(StringRef Name, bool ExportedSymbolsOnly, BaseLayerT &B) { in find() argument 51 if (auto GV = searchGVs(Name, ExportedSymbolsOnly)) { in find() 53 auto GetAddress = [this, ExportedSymbolsOnly, Name = Name.str(), in find() 63 if (auto Sym = B.findSymbolIn(K, Name, ExportedSymbolsOnly)) in find() 81 return B.findSymbolIn(K, Name, ExportedSymbolsOnly); in find() 105 bool ExportedSymbolsOnly) const { in searchGVs() argument 116 if (!ExportedSymbolsOnly || GV->hasDefaultVisibility()) in searchGVs() 124 return buildMangledSymbols(Name, ExportedSymbolsOnly); in searchGVs() 141 bool ExportedSymbolsOnly) const { in addGlobalValue() argument 156 if (!ExportedSymbolsOnly || GV.hasDefaultVisibility()) in addGlobalValue() [all …]
|
D | GlobalMappingLayer.h | 76 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(H, Name, ExportedSymbolsOnly); in findSymbolIn()
|
D | IRTransformLayer.h | 89 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument 90 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol() 102 bool ExportedSymbolsOnly) { in findSymbolIn() argument 103 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
|
D | ObjectTransformLayer.h | 84 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument 85 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol() 97 bool ExportedSymbolsOnly) { in findSymbolIn() argument 98 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
|
D | IRCompileLayer.h | 126 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument 127 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol() 139 bool ExportedSymbolsOnly) { in findSymbolIn() argument 140 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
|
D | RTDyldObjectLinkingLayer.h | 166 JITSymbol getSymbol(StringRef Name, bool ExportedSymbolsOnly) { in getSymbol() argument 170 if (!SymEntry->second.getFlags().isExported() && ExportedSymbolsOnly) in getSymbol() 428 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument 430 if (auto Sym = KV.second->getSymbol(Name, ExportedSymbolsOnly)) in findSymbol() 446 bool ExportedSymbolsOnly) { in findSymbolIn() argument 448 return LinkedObjects[K]->getSymbol(Name, ExportedSymbolsOnly); in findSymbolIn()
|
D | RemoteObjectLayer.h | 351 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument 354 ExportedSymbolsOnly)); in findSymbol() 358 JITSymbol findSymbolIn(ObjHandleT H, StringRef Name, bool ExportedSymbolsOnly) { in findSymbolIn() argument 361 ExportedSymbolsOnly)); in findSymbolIn() 500 bool ExportedSymbolsOnly) { in findSymbol() argument 501 if (auto Sym = BaseLayer.findSymbol(Name, ExportedSymbolsOnly)) in findSymbol() 509 bool ExportedSymbolsOnly) { in findSymbolIn() argument 512 if (auto Sym = BaseLayer.findSymbolIn(HI->second, Name, ExportedSymbolsOnly)) in findSymbolIn()
|
D | CompileOnDemandLayer.h | 229 bool ExportedSymbolsOnly) { in findSymbol() 230 if (auto Sym = StubsMgr->findStub(Name, ExportedSymbolsOnly)) in findSymbol() 233 if (auto Sym = BaseLayer.findSymbolIn(BLK, Name, ExportedSymbolsOnly)) in findSymbol() 337 JITSymbol findSymbol(StringRef Name, bool ExportedSymbolsOnly) { in findSymbol() argument 339 if (auto Sym = KV.second.StubsMgr->findStub(Name, ExportedSymbolsOnly)) in findSymbol() 341 if (auto Sym = findSymbolIn(KV.first, Name, ExportedSymbolsOnly)) in findSymbol() 346 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol() 352 bool ExportedSymbolsOnly) { in findSymbolIn() argument 354 return LogicalDylibs[K].findSymbol(BaseLayer, Name, ExportedSymbolsOnly); in findSymbolIn()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | LazyEmittingLayer.h | 45 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 …]
|
D | GlobalMappingLayer.h | 73 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()
|
D | IRTransformLayer.h | 63 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()
|
D | LogicalDylib.h | 90 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()
|
D | ObjectTransformLayer.h | 62 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()
|
D | IRCompileLayer.h | 96 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()
|
D | ObjectLinkingLayer.h | 51 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()
|
D | CompileOnDemandLayer.h | 112 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-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcCBindingsStack.h | 57 bool ExportedSymbolsOnly) = 0; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 66 bool ExportedSymbolsOnly) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 67 return Layer.findSymbolIn(K, Name, ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 86 bool ExportedSymbolsOnly) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 87 return Layer.findSymbolIn(K, Name, ExportedSymbolsOnly); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 378 bool ExportedSymbolsOnly) { in findSymbol() argument 379 if (auto Sym = IndirectStubsMgr->findStub(Name, ExportedSymbolsOnly)) in findSymbol() 382 return CODLayer->findSymbol(mangle(Name), ExportedSymbolsOnly); in findSymbol() 383 return CompileLayer.findSymbol(mangle(Name), ExportedSymbolsOnly); in findSymbol() 387 bool ExportedSymbolsOnly) { in findSymbolIn() argument [all …]
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
D | ObjectTransformLayerTest.cpp | 98 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()
|
D | OrcTestCommon.h | 127 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()
|
D | GlobalMappingLayerTest.cpp | 22 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcCBindingsStack.h | 48 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-project/llvm/unittests/ExecutionEngine/Orc/ |
D | OrcTestCommon.h | 216 bool ExportedSymbolsOnly); 241 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { in findSymbol() argument 244 return findSymbolImpl(Name, ExportedSymbolsOnly); in findSymbol() 248 bool ExportedSymbolsOnly) { in findSymbolIn() argument 251 return findSymbolInImpl(H, Name, ExportedSymbolsOnly); in findSymbolIn()
|
/external/llvm/docs/tutorial/ |
D | BuildingAJIT2.rst | 190 JITSymbol findSymbol(const std::string &Name, bool ExportedSymbolsOnly) { 191 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); 195 bool ExportedSymbolsOnly) { 196 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly);
|