Home
last modified time | relevance | path

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

/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
H A 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 …]
H A 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()
H A 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;
H A DRTDyldObjectLinkingLayer.cpp158 VModuleKey K, MaterializationResponsibility &R, object::ObjectFile &Obj, in onObjLoad()
244 VModuleKey K, std::unique_ptr<MemoryBuffer> ObjBuffer, in onObjEmit()
H A DObjectLinkingLayer.cpp376 Error ObjectLinkingLayer::removeModule(VModuleKey K) { in removeModule()
459 Error EHFrameRegistrationPlugin::notifyRemovingModule(VModuleKey K) { in notifyRemovingModule()
H A 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()
H A DLazyReexports.cpp127 VModuleKey K) in LazyReexportsMaterializationUnit()
H A DCompileOnDemandLayer.cpp72 ThreadSafeModule TSM, VModuleKey K, in PartitioningIRMaterializationUnit()
H A DExecutionUtils.cpp309 L.add(JD, MemoryBuffer::getMemBuffer(ChildBufferRef), VModuleKey())) in tryToGenerate()
H A DIndirectionUtils.cpp29 CompileFunction Compile, VModuleKey K) in CompileCallbackMaterializationUnit()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
H A 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 …]
H A 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,
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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;
H A 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 …]
H A 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()
H A 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()
H A DLazyReexports.h163 ImplSymbolMap *SrcJDLoc, VModuleKey K);
188 VModuleKey K = VModuleKey()) {
/aosp_15_r20/external/pytorch/torch/csrc/jit/tensorexpr/
H A Dllvm_jit.cpp299 [this](VModuleKey) {
337 void removeModule(VModuleKey K) {
/aosp_15_r20/external/swiftshader/src/Reactor/
H A DLLVMJIT.cpp822 objectLayer.setNotifyLoaded([](llvm::orc::VModuleKey,