Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DLayer.h39 ThreadSafeModule TSM, VModuleKey K);
46 IRMaterializationUnit(ThreadSafeModule TSM, VModuleKey K,
99 VModuleKey K = VModuleKey());
115 ThreadSafeModule TSM, VModuleKey K);
122 VModuleKey K;
137 VModuleKey K = VModuleKey());
152 Create(ObjectLayer &L, VModuleKey K, std::unique_ptr<MemoryBuffer> O);
154 BasicObjectLayerMaterializationUnit(ObjectLayer &L, VModuleKey K,
DRTDyldObjectLinkingLayer.h42 std::function<void(VModuleKey, const object::ObjectFile &Obj,
47 std::function<void(VModuleKey, std::unique_ptr<MemoryBuffer>)>;
119 Error onObjLoad(VModuleKey K, MaterializationResponsibility &R,
125 void onObjEmit(VModuleKey K, std::unique_ptr<MemoryBuffer> ObjBuffer,
197 std::function<void(VModuleKey, const object::ObjectFile &Obj,
202 std::function<void(VModuleKey, const object::ObjectFile &Obj,
206 using NotifyFreedFtor = std::function<void(VModuleKey, const object::ObjectFile &Obj)>;
214 ConcreteLinkedObject(LegacyRTDyldObjectLinkingLayer &Parent, VModuleKey K, in ConcreteLinkedObject()
329 VModuleKey K;
338 createLinkedObject(LegacyRTDyldObjectLinkingLayer &Parent, VModuleKey K, in createLinkedObject()
[all …]
DObjectTransformLayer.h73 template <typename ObjectPtr> Error addObject(VModuleKey K, ObjectPtr Obj) { in addObject()
78 Error removeObject(VModuleKey K) { return BaseLayer.removeObject(K); } in removeObject()
96 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn()
103 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
107 void mapSectionAddress(VModuleKey K, const void *LocalAddress, in mapSectionAddress()
DIRCompileLayer.h49 std::function<void(VModuleKey K, ThreadSafeModule TSM)>;
78 std::function<void(VModuleKey K, std::unique_ptr<Module>)>;
108 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule()
120 Error removeModule(VModuleKey K) { return BaseLayer.removeObject(K); } in removeModule()
138 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn()
146 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
DLazyEmittingLayer.h45 EmissionDeferredModule(VModuleKey K, std::unique_ptr<Module> M) in EmissionDeferredModule()
184 VModuleKey K;
190 std::map<VModuleKey, std::unique_ptr<EmissionDeferredModule>> ModuleMap;
205 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule()
216 Error removeModule(VModuleKey K) { in removeModule()
246 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn()
254 Error emitAndFinalize(VModuleKey K) { in emitAndFinalize()
DObjectLinkingLayer.h70 virtual Error notifyRemovingModule(VModuleKey K) { in notifyRemovingModule()
144 Error removeModule(VModuleKey K);
152 DenseMap<VModuleKey, AllocPtr> TrackedAllocs;
163 Error notifyRemovingModule(VModuleKey K) override;
175 DenseMap<VModuleKey, EHFrameRange> TrackedEHFrameRanges;
DIRTransformLayer.h78 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule()
83 Error removeModule(VModuleKey K) { return BaseLayer.removeModule(K); } in removeModule()
101 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn()
109 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
DCore.h42 using VModuleKey = uint64_t; variable
451 VModuleKey getVModuleKey() const { return K; } in getVModuleKey()
523 VModuleKey NewKey = VModuleKey());
535 VModuleKey K);
539 VModuleKey K;
552 MaterializationUnit(SymbolFlagsMap InitalSymbolFlags, VModuleKey K) in MaterializationUnit()
581 VModuleKey K;
607 AbsoluteSymbolsMaterializationUnit(SymbolMap Symbols, VModuleKey K);
630 absoluteSymbols(SymbolMap Symbols, VModuleKey K = VModuleKey()) {
649 SymbolAliasMap Aliases, VModuleKey K);
[all …]
DCompileOnDemandLayer.h208 LogicalDylib(VModuleKey K, std::shared_ptr<SymbolResolver> BackingResolver, in LogicalDylib()
247 VModuleKey K;
252 std::vector<VModuleKey> BaseLayerVModuleKeys;
265 std::function<std::shared_ptr<SymbolResolver>(VModuleKey K)>;
268 std::function<void(VModuleKey K, std::shared_ptr<SymbolResolver> R)>;
305 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule()
317 Error addExtraModule(VModuleKey K, std::unique_ptr<Module> M) { in addExtraModule()
325 Error removeModule(VModuleKey K) { in removeModule()
351 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn()
627 Expected<VModuleKey>
[all …]
DExecutionUtils.h116 VModuleKey K),
121 std::vector<std::string> CtorDtorNames, VModuleKey K) in LegacyCtorDtorRunner()
149 orc::VModuleKey K;
154 std::vector<std::string> CtorDtorNames, VModuleKey K) in LegacyCtorDtorRunner()
DLazyReexports.h163 ImplSymbolMap *SrcJDLoc, VModuleKey K);
188 VModuleKey K = VModuleKey()) {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h56 virtual JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
58 virtual Error removeModule(orc::VModuleKey K) = 0; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
65 JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
70 Error removeModule(orc::VModuleKey K) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
85 JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
90 Error removeModule(orc::VModuleKey K) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
216 [this](orc::VModuleKey K) { in OrcCBindingsStack()
226 [this](orc::VModuleKey K, const object::ObjectFile &Obj,
230 [this](orc::VModuleKey K, const object::ObjectFile &Obj) {
285 Expected<orc::VModuleKey>
[all …]
DLayer.cpp21 Error IRLayer::add(JITDylib &JD, ThreadSafeModule TSM, VModuleKey K) { in add()
28 ThreadSafeModule TSM, VModuleKey K) in IRMaterializationUnit()
79 ThreadSafeModule TSM, VModuleKey K, SymbolFlagsMap SymbolFlags, in IRMaterializationUnit()
108 IRLayer &L, const ManglingOptions &MO, ThreadSafeModule TSM, VModuleKey K) in BasicIRLayerMaterializationUnit()
142 VModuleKey K) { in add()
151 BasicObjectLayerMaterializationUnit::Create(ObjectLayer &L, VModuleKey K, in Create()
165 ObjectLayer &L, VModuleKey K, std::unique_ptr<MemoryBuffer> O, in BasicObjectLayerMaterializationUnit()
DOrcMCJITReplacement.h243 [this](VModuleKey K) { in OrcMCJITReplacement()
249 [this](VModuleKey K, std::unique_ptr<Module> M) {
428 void operator()(VModuleKey K, const object::ObjectFile &Obj, in operator()
442 void operator()(VModuleKey K, const object::ObjectFile &Obj, in operator()
484 std::map<VModuleKey, std::vector<std::string>> UnexecutedConstructors;
485 std::map<VModuleKey, std::vector<std::string>> UnexecutedDestructors;
492 std::map<VModuleKey, SectionAddrSet> UnfinalizedSections;
DRTDyldObjectLinkingLayer.cpp158 VModuleKey K, MaterializationResponsibility &R, object::ObjectFile &Obj, in onObjLoad()
244 VModuleKey K, std::unique_ptr<MemoryBuffer> ObjBuffer, in onObjEmit()
DObjectLinkingLayer.cpp376 Error ObjectLinkingLayer::removeModule(VModuleKey K) { in removeModule()
459 Error EHFrameRegistrationPlugin::notifyRemovingModule(VModuleKey K) { in notifyRemovingModule()
DLazyReexports.cpp127 VModuleKey K) in LazyReexportsMaterializationUnit()
DCore.cpp425 JITDylib &JD, SymbolFlagsMap SymbolFlags, VModuleKey K) in MaterializationResponsibility()
517 VModuleKey NewKey) { in delegate()
519 if (NewKey == VModuleKey()) in delegate()
552 SymbolMap Symbols, VModuleKey K) in AbsoluteSymbolsMaterializationUnit()
583 SymbolAliasMap Aliases, VModuleKey K) in ReExportsMaterializationUnit()
DExecutionUtils.cpp309 L.add(JD, MemoryBuffer::getMemBuffer(ChildBufferRef), VModuleKey())) in tryToGenerate()
DCompileOnDemandLayer.cpp72 ThreadSafeModule TSM, VModuleKey K, in PartitioningIRMaterializationUnit()
DIndirectionUtils.cpp29 CompileFunction Compile, VModuleKey K) in CompileCallbackMaterializationUnit()
/external/swiftshader/src/Reactor/
DLLVMJIT.cpp714 objectLayer.setNotifyLoaded([](llvm::orc::VModuleKey,
/external/llvm-project/llvm/docs/tutorial/
DBuildingAJIT2.rst215 Error IRLayer::add(JITDylib &JD, ThreadSafeModule TSM, VModuleKey K) {