Home
last modified time | relevance | path

Searched refs:BaseLayer (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DObjectTransformLayer.h32 ObjectTransformLayer2(ExecutionSession &ES, ObjectLayer &BaseLayer,
39 ObjectLayer &BaseLayer;
52 ObjectTransformLayer(BaseLayerT &BaseLayer,
54 : BaseLayer(BaseLayer), Transform(std::move(Transform)) {} in BaseLayer() argument
62 return BaseLayer.addObject(std::move(K), Transform(std::move(Obj))); in addObject()
66 Error removeObject(VModuleKey K) { return BaseLayer.removeObject(K); } in removeObject()
73 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
86 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
91 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
97 BaseLayer.mapSectionAddress(K, LocalAddress, TargetAddr); in mapSectionAddress()
[all …]
DIRTransformLayer.h32 IRTransformLayer2(ExecutionSession &ES, IRLayer &BaseLayer,
47 IRLayer &BaseLayer;
60 IRTransformLayer(BaseLayerT &BaseLayer,
62 : BaseLayer(BaseLayer), Transform(std::move(Transform)) {} in BaseLayer() function
69 return BaseLayer.addModule(std::move(K), Transform(std::move(M))); in addModule()
73 Error removeModule(VModuleKey K) { return BaseLayer.removeModule(K); } in removeModule()
80 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
93 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
99 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
108 BaseLayerT &BaseLayer;
DIRCompileLayer.h39 IRCompileLayer2(ExecutionSession &ES, ObjectLayer &BaseLayer,
49 ObjectLayer &BaseLayer; variable
69 BaseLayerT &BaseLayer, CompileFtor Compile,
71 : BaseLayer(BaseLayer), Compile(std::move(Compile)), in BaseLayer() argument
85 if (auto Err = BaseLayer.addObject(std::move(K), Compile(*M))) in addModule()
93 Error removeModule(VModuleKey K) { return BaseLayer.removeObject(K); } in removeModule()
100 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
113 return BaseLayer.findSymbolIn(K, Name, ExportedSymbolsOnly); in findSymbolIn()
119 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
122 BaseLayerT &BaseLayer;
DLazyEmittingLayer.h91 Error removeModuleFromBaseLayer(BaseLayerT& BaseLayer) { in removeModuleFromBaseLayer() argument
92 return EmitState != NotEmitted ? BaseLayer.removeModule(K) in removeModuleFromBaseLayer()
96 void emitAndFinalize(BaseLayerT &BaseLayer) { in emitAndFinalize() argument
101 emitToBaseLayer(BaseLayer); in emitAndFinalize()
104 BaseLayer.emitAndFinalize(K); in emitAndFinalize()
132 Error emitToBaseLayer(BaseLayerT &BaseLayer) { in emitToBaseLayer() argument
136 return BaseLayer.addModule(std::move(K), std::move(M)); in emitToBaseLayer()
194 BaseLayerT &BaseLayer; variable
200 LazyEmittingLayer(BaseLayerT &BaseLayer) : BaseLayer(BaseLayer) {} in LazyEmittingLayer() argument
219 return EDM->removeModuleFromBaseLayer(BaseLayer); in removeModule()
[all …]
DGlobalMappingLayer.h45 GlobalMappingLayer(BaseLayerT &BaseLayer) : BaseLayer(BaseLayer) {} in GlobalMappingLayer() argument
52 return BaseLayer.addModule(std::move(M), std::move(Resolver)); in addModule()
56 Error removeModule(ModuleHandleT H) { return BaseLayer.removeModule(H); } in removeModule()
81 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
94 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
101 return BaseLayer.emitAndFinalize(H); in emitAndFinalize()
105 BaseLayerT &BaseLayer;
DCompileOnDemandLayer.h73 CompileOnDemandLayer2(ExecutionSession &ES, IRLayer &BaseLayer,
94 IRLayer &BaseLayer; variable
211 JITSymbol findSymbol(BaseLayerT &BaseLayer, const std::string &Name, in findSymbol()
216 if (auto Sym = BaseLayer.findSymbolIn(BLK, Name, ExportedSymbolsOnly)) in findSymbol()
223 Error removeModulesFromBaseLayer(BaseLayerT &BaseLayer) { in removeModulesFromBaseLayer()
225 if (auto Err = BaseLayer.removeModule(BLK)) in removeModulesFromBaseLayer()
254 CompileOnDemandLayer(ExecutionSession &ES, BaseLayerT &BaseLayer,
261 : ES(ES), BaseLayer(BaseLayer), in ES()
298 auto Err = I->second.removeModulesFromBaseLayer(BaseLayer); in removeModule()
316 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
[all …]
DRemoteObjectLayer.h421 RemoteObjectServerLayer(BaseLayerT &BaseLayer, in RemoteObjectServerLayer() argument
425 BaseLayer(BaseLayer), HandleIdMgr(1) { in RemoteObjectServerLayer()
472 BaseLayer.addObject(std::move(Buffer), std::move(Resolver))) { in addObject()
482 if (auto Err = BaseLayer.removeObject(HI->second)) in removeObject()
491 if (auto Sym = BaseLayer.findSymbol(Name, ExportedSymbolsOnly)) in findSymbol()
502 if (auto Sym = BaseLayer.findSymbolIn(HI->second, Name, ExportedSymbolsOnly)) in findSymbolIn()
514 if (auto Err = BaseLayer.emitAndFinalize(HI->second)) in emitAndFinalize()
521 BaseLayerT &BaseLayer; variable
/external/llvm/include/llvm/ExecutionEngine/Orc/
DLazyEmittingLayer.h81 void removeModulesFromBaseLayer(BaseLayerT &BaseLayer) { in removeModulesFromBaseLayer() argument
83 BaseLayer.removeModuleSet(Handle); in removeModulesFromBaseLayer()
86 void emitAndFinalize(BaseLayerT &BaseLayer) { in emitAndFinalize() argument
91 Handle = emitToBaseLayer(BaseLayer); in emitAndFinalize()
94 BaseLayer.emitAndFinalize(Handle); in emitAndFinalize()
106 virtual BaseLayerHandleT emitToBaseLayer(BaseLayerT &BaseLayer) = 0;
148 BaseLayerHandleT emitToBaseLayer(BaseLayerT &BaseLayer) override { in emitToBaseLayer() argument
152 return BaseLayer.addModuleSet(std::move(Ms), std::move(MemMgr), in emitToBaseLayer()
216 BaseLayerT &BaseLayer; variable
224 LazyEmittingLayer(BaseLayerT &BaseLayer) : BaseLayer(BaseLayer) {} in LazyEmittingLayer() argument
[all …]
DObjectTransformLayer.h34 ObjectTransformLayer(BaseLayerT &BaseLayer,
36 : BaseLayer(BaseLayer), Transform(std::move(Transform)) {} in BaseLayer() function
51 return BaseLayer.addObjectSet(std::move(Objects), std::move(MemMgr), in addObjectSet()
56 void removeObjectSet(ObjSetHandleT H) { BaseLayer.removeObjectSet(H); } in removeObjectSet()
63 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
76 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
82 void emitAndFinalize(ObjSetHandleT H) { BaseLayer.emitAndFinalize(H); } in emitAndFinalize()
87 BaseLayer.mapSectionAddress(H, LocalAddress, TargetAddr); in mapSectionAddress()
97 BaseLayerT &BaseLayer;
DIRTransformLayer.h34 IRTransformLayer(BaseLayerT &BaseLayer,
36 : BaseLayer(BaseLayer), Transform(std::move(Transform)) {} in BaseLayer() function
52 return BaseLayer.addModuleSet(std::move(Ms), std::move(MemMgr), in addModuleSet()
57 void removeModuleSet(ModuleSetHandleT H) { BaseLayer.removeModuleSet(H); } in removeModuleSet()
64 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
77 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
84 BaseLayer.emitAndFinalize(H); in emitAndFinalize()
94 BaseLayerT &BaseLayer;
DGlobalMappingLayer.h38 GlobalMappingLayer(BaseLayerT &BaseLayer) : BaseLayer(BaseLayer) {} in GlobalMappingLayer() argument
47 return BaseLayer.addModuleSet(std::move(Ms), std::move(MemMgr), in addModuleSet()
52 void removeModuleSet(ModuleSetHandleT H) { BaseLayer.removeModuleSet(H); } in removeModuleSet()
77 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
90 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
97 BaseLayer.emitAndFinalize(H); in emitAndFinalize()
101 BaseLayerT &BaseLayer;
DIRCompileLayer.h46 IRCompileLayer(BaseLayerT &BaseLayer, CompileFtor Compile) in IRCompileLayer() argument
47 : BaseLayer(BaseLayer), Compile(std::move(Compile)), ObjCache(nullptr) {} in IRCompileLayer()
83 BaseLayer.addObjectSet(std::move(Objects), std::move(MemMgr), in addModuleSet()
90 void removeModuleSet(ModuleSetHandleT H) { BaseLayer.removeObjectSet(H); } in removeModuleSet()
97 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
110 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly); in findSymbolIn()
117 BaseLayer.emitAndFinalize(H); in emitAndFinalize()
139 BaseLayerT &BaseLayer; variable
DLogicalDylib.h51 LogicalDylib(BaseLayerT &BaseLayer) : BaseLayer(BaseLayer) {} in LogicalDylib() argument
56 BaseLayer.removeModuleSet(BLH); in ~LogicalDylib()
62 : BaseLayer(std::move(RHS.BaseLayer)), in LogicalDylib()
96 if (auto Symbol = BaseLayer.findSymbolIn(BLH, Name, ExportedSymbolsOnly)) in findSymbolInLogicalModule()
127 BaseLayerT BaseLayer;
DCompileOnDemandLayer.h172 CompileOnDemandLayer(BaseLayerT &BaseLayer, PartitioningFtor Partition,
176 : BaseLayer(BaseLayer), Partition(std::move(Partition)), in BaseLayer() function
188 LogicalDylibs.push_back(CODLogicalDylib(BaseLayer)); in addModuleSet()
229 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly); in findSymbol()
372 auto GVsH = LD.getDylibResources().ModuleAdder(BaseLayer, std::move(GVsM), in addLogicalModule()
405 auto FnBodySym = BaseLayer.findSymbolIn(PartH, FnName, false); in extractAndCompile()
499 return LD.getDylibResources().ModuleAdder(BaseLayer, std::move(M), in emitPartition()
503 BaseLayerT &BaseLayer; variable
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRemoteObjectLayerTest.cpp130 MockObjectLayer BaseLayer( in TEST() local
144 RemoteObjectServerLayer<MockObjectLayer, RPCEndpoint> Server(BaseLayer, in TEST()
184 MockObjectLayer BaseLayer( in TEST() local
191 RemoteObjectServerLayer<MockObjectLayer, RPCEndpoint> Server(BaseLayer, in TEST()
238 MockObjectLayer BaseLayer( in TEST() local
244 RemoteObjectServerLayer<MockObjectLayer, RPCEndpoint> Server(BaseLayer, in TEST()
290 MockObjectLayer BaseLayer( in TEST() local
295 RemoteObjectServerLayer<MockObjectLayer, RPCEndpoint> Server(BaseLayer, in TEST()
346 MockObjectLayer BaseLayer( in TEST() local
359 RemoteObjectServerLayer<MockObjectLayer, RPCEndpoint> Server(BaseLayer, in TEST()
[all …]
DObjectTransformLayerTest.cpp285 RTDyldObjectLinkingLayer BaseLayer(ES, [](VModuleKey) { in TEST() local
294 ObjectTransformLayer<decltype(BaseLayer), decltype(IdentityTransform)> in TEST()
295 TransformLayer(BaseLayer, IdentityTransform); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DIRTransformLayer.cpp17 IRLayer &BaseLayer, in IRTransformLayer2() argument
19 : IRLayer(ES), BaseLayer(BaseLayer), Transform(std::move(Transform)) {} in IRTransformLayer2()
26 BaseLayer.emit(std::move(R), std::move(K), std::move(*TransformedMod)); in emit()
DObjectTransformLayer.cpp17 ObjectLayer &BaseLayer, in ObjectTransformLayer2() argument
19 : ObjectLayer(ES), BaseLayer(BaseLayer), Transform(std::move(Transform)) {} in ObjectTransformLayer2()
26 BaseLayer.emit(std::move(R), std::move(K), std::move(*TransformedObj)); in emit()
DIRCompileLayer.cpp15 IRCompileLayer2::IRCompileLayer2(ExecutionSession &ES, ObjectLayer &BaseLayer, in IRCompileLayer2() argument
17 : IRLayer(ES), BaseLayer(BaseLayer), Compile(std::move(Compile)) {} in IRCompileLayer2()
36 BaseLayer.emit(std::move(R), std::move(K), std::move(*Obj)); in emit()
DCompileOnDemandLayer.cpp217 ExecutionSession &ES, IRLayer &BaseLayer, JITCompileCallbackManager &CCMgr, in CompileOnDemandLayer2() argument
220 : IRLayer(ES), BaseLayer(BaseLayer), CCMgr(CCMgr), in CompileOnDemandLayer2()
325 BaseLayer.emit(std::move(R), std::move(K), std::move(GlobalsModule)); in emit()
339 BaseLayer.emit(std::move(R), std::move(K), std::move(M)); in emitExtractedFunctionsModule()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/
DBuildingAJIT2.rst176 IRTransformLayer(BaseLayerT &BaseLayer,
178 : BaseLayer(BaseLayer), Transform(std::move(Transform)) {}
183 return BaseLayer.addModule(Transform(std::move(M)), std::move(Resolver));
186 void removeModule(ModuleHandleT H) { BaseLayer.removeModule(H); }
189 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly);
194 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly);
198 BaseLayer.emitAndFinalize(H);
206 BaseLayerT &BaseLayer;
/external/llvm/docs/tutorial/
DBuildingAJIT2.rst171 IRTransformLayer(BaseLayerT &BaseLayer,
173 : BaseLayer(BaseLayer), Transform(std::move(Transform)) {}
184 return BaseLayer.addModuleSet(std::move(Ms), std::move(MemMgr),
188 void removeModuleSet(ModuleSetHandleT H) { BaseLayer.removeModuleSet(H); }
191 return BaseLayer.findSymbol(Name, ExportedSymbolsOnly);
196 return BaseLayer.findSymbolIn(H, Name, ExportedSymbolsOnly);
200 BaseLayer.emitAndFinalize(H);
208 BaseLayerT &BaseLayer;
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectTransformLayerTest.cpp311 ObjectLinkingLayer<> BaseLayer; in TEST() local
315 ObjectTransformLayer<decltype(BaseLayer), decltype(IdentityTransform)> in TEST()
316 TransformLayer(BaseLayer, IdentityTransform); in TEST()