Home
last modified time | relevance | path

Searched refs:EPC (Results 1 – 25 of 36) sorted by relevance

12

/src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericMemoryAccess.h40 EPCGenericMemoryAccess(ExecutorProcessControl &EPC, FuncAddrs FAs) in EPCGenericMemoryAccess() argument
41 : EPC(EPC), FAs(FAs) {} in EPCGenericMemoryAccess()
46 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt8Write>)>( in writeUInt8sAsync()
53 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt16Write>)>( in writeUInt16sAsync()
60 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt32Write>)>( in writeUInt32sAsync()
67 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt64Write>)>( in writeUInt64sAsync()
74 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessBufferWrite>)>( in writeBuffersAsync()
81 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessPointerWrite>)>( in writePointersAsync()
86 ExecutorProcessControl &EPC;
H A DEPCIndirectionUtils.h81 CreateWithABI(ExecutorProcessControl &EPC);
85 Create(ExecutorProcessControl &EPC);
94 ExecutorProcessControl &getExecutorProcessControl() const { return EPC; } in getExecutorProcessControl()
145 EPCIndirectionUtils(ExecutorProcessControl &EPC,
151 ExecutorProcessControl &EPC; variable
216 EPCIndirectionUtils::CreateWithABI(ExecutorProcessControl &EPC) { in CreateWithABI() argument
218 EPC, std::make_unique<detail::ABISupportImpl<ORCABI>>())); in CreateWithABI()
H A DEPCGenericDylibManager.h42 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
46 EPCGenericDylibManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericDylibManager() argument
47 : EPC(EPC), SAs(SAs) {} in EPCGenericDylibManager()
82 ExecutorProcessControl &EPC;
H A DEPCGenericJITLinkMemoryManager.h39 EPCGenericJITLinkMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericJITLinkMemoryManager() argument
40 : EPC(EPC), SAs(SAs) {} in EPCGenericJITLinkMemoryManager()
60 ExecutorProcessControl &EPC; variable
H A DEPCGenericRTDyldMemoryManager.h41 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
45 EPCGenericRTDyldMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs);
113 ExecutorProcessControl &EPC; variable
H A DMemoryMapper.h134 SharedMemoryMapper(ExecutorProcessControl &EPC, SymbolAddrs SAs,
138 Create(ExecutorProcessControl &EPC, SymbolAddrs SAs);
162 ExecutorProcessControl &EPC; variable
H A DEPCDynamicLibrarySearchGenerator.h43 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)),
68 ExecutorProcessControl &EPC;
H A DLLJIT.h315 std::unique_ptr<ExecutorProcessControl> EPC; variable
339 setExecutorProcessControl(std::unique_ptr<ExecutorProcessControl> EPC) { in setExecutorProcessControl() argument
344 impl().EPC = std::move(EPC); in setExecutorProcessControl()
351 !impl().EPC && in setExecutionSession()
H A DCore.h1459 ExecutionSession(std::unique_ptr<ExecutorProcessControl> EPC);
1471 ExecutorProcessControl &getExecutorProcessControl() { return *EPC; } in getExecutorProcessControl()
1474 const Triple &getTargetTriple() const { return EPC->getTargetTriple(); } in getTargetTriple()
1477 size_t getPageSize() const { return EPC->getPageSize(); } in getPageSize()
1481 return EPC->getSymbolStringPool(); in getSymbolStringPool()
1485 SymbolStringPtr intern(StringRef SymName) { return EPC->intern(SymName); } in intern()
1642 EPC->getDispatcher().dispatch(std::move(T)); in dispatchTask()
1656 EPC->callWrapperAsync(std::forward<ArgTs>(Args)...); in callWrapperAsync()
1667 return EPC->callWrapper(WrapperFnAddr, ArgBuffer); in callWrapper()
1675 EPC->callSPSWrapperAsync<SPSSignature, SendResultT, ArgTs...>( in callSPSWrapperAsync()
[all …]
H A DLookupAndRecordAddrs.h63 ExecutorProcessControl &EPC, tpctypes::DylibHandle H,
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCIndirectionUtils.cpp82 auto &EPC = EPCIU.getExecutorProcessControl(); in EPCTrampolinePool() local
87 (EPC.getPageSize() - ABI.getPointerSize()) / TrampolineSize; in EPCTrampolinePool()
110 auto &EPC = EPCIU.getExecutorProcessControl(); in grow() local
111 auto PageSize = EPC.getPageSize(); in grow()
113 EPC.getMemMgr(), nullptr, in grow()
235 EPCIndirectionUtils::Create(ExecutorProcessControl &EPC) { in Create() argument
236 const auto &TT = EPC.getTargetTriple(); in Create()
244 return CreateWithABI<OrcAArch64>(EPC); in Create()
247 return CreateWithABI<OrcI386>(EPC); in Create()
250 return CreateWithABI<OrcLoongArch64>(EPC); in Create()
[all …]
H A DEPCGenericRTDyldMemoryManager.cpp24 ExecutorProcessControl &EPC) { in CreateWithDefaultBootstrapSymbols() argument
26 if (auto Err = EPC.getBootstrapSymbols( in CreateWithDefaultBootstrapSymbols()
35 return std::make_unique<EPCGenericRTDyldMemoryManager>(EPC, std::move(SAs)); in CreateWithDefaultBootstrapSymbols()
39 ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericRTDyldMemoryManager() argument
40 : EPC(EPC), SAs(std::move(SAs)) { in EPCGenericRTDyldMemoryManager()
50 if (auto Err2 = EPC.callSPSWrapper< in ~EPCGenericRTDyldMemoryManager()
106 if (CodeAlign > EPC.getPageSize()) { in reserveAllocationSpace()
110 if (RODataAlign > EPC.getPageSize()) { in reserveAllocationSpace()
114 if (RWDataAlign > EPC.getPageSize()) { in reserveAllocationSpace()
121 TotalSize += alignTo(CodeSize, EPC.getPageSize()); in reserveAllocationSpace()
[all …]
H A DEPCDebugObjectRegistrar.cpp22 auto &EPC = ES.getExecutorProcessControl(); in createJITLoaderGDBRegistrar() local
25 if (auto D = EPC.loadDylib(nullptr)) in createJITLoaderGDBRegistrar()
32 EPC.getTargetTriple().isOSBinFormatMachO() in createJITLoaderGDBRegistrar()
33 ? EPC.intern("_llvm_orc_registerJITLoaderGDBWrapper") in createJITLoaderGDBRegistrar()
34 : EPC.intern("llvm_orc_registerJITLoaderGDBWrapper"); in createJITLoaderGDBRegistrar()
40 EPC.lookupSymbols({{*RegistrationFunctionDylib, RegistrationSymbols}}); in createJITLoaderGDBRegistrar()
H A DEPCGenericDylibManager.cpp64 ExecutorProcessControl &EPC) { in CreateWithDefaultBootstrapSymbols() argument
66 if (auto Err = EPC.getBootstrapSymbols( in CreateWithDefaultBootstrapSymbols()
71 return EPCGenericDylibManager(EPC, std::move(SAs)); in CreateWithDefaultBootstrapSymbols()
78 EPC.callSPSWrapper<rt::SPSSimpleExecutorDylibManagerOpenSignature>( in open()
87 EPC.callSPSWrapperAsync<rt::SPSSimpleExecutorDylibManagerLookupSignature>( in lookupAsync()
105 EPC.callSPSWrapperAsync<rt::SPSSimpleExecutorDylibManagerLookupSignature>( in lookupAsync()
H A DEPCGenericJITLinkMemoryManager.cpp53 Parent.EPC.getPageSize()), in finalize()
60 Parent.EPC.callSPSWrapperAsync< in finalize()
79 Parent.EPC.callSPSWrapperAsync< in abandon()
105 auto Pages = BL.getContiguousPageBasedLayoutSizes(EPC.getPageSize()); in allocate()
109 EPC.callSPSWrapperAsync<rt::SPSSimpleExecutorMemoryManagerReserveSignature>( in allocate()
127 EPC.callSPSWrapperAsync< in deallocate()
156 alignTo(Seg.ContentSize + Seg.ZeroFillSize, EPC.getPageSize())); in completeAllocation()
H A DMemoryMapper.cpp197 SharedMemoryMapper::SharedMemoryMapper(ExecutorProcessControl &EPC, in SharedMemoryMapper() argument
199 : EPC(EPC), SAs(SAs), PageSize(PageSize) { in SharedMemoryMapper()
206 SharedMemoryMapper::Create(ExecutorProcessControl &EPC, SymbolAddrs SAs) { in Create() argument
212 return std::make_unique<SharedMemoryMapper>(EPC, SAs, *PageSize); in Create()
224 EPC.callSPSWrapperAsync< in reserve()
354 EPC.callSPSWrapperAsync< in initialize()
372 EPC.callSPSWrapperAsync< in deinitialize()
419 EPC.callSPSWrapperAsync< in release()
H A DLookupAndRecordAddrs.cpp55 ExecutorProcessControl &EPC, tpctypes::DylibHandle H, in lookupAndRecordAddrs() argument
64 auto Result = EPC.lookupSymbols(LR); in lookupAndRecordAddrs()
H A DLLJIT.cpp670 if ((ES || EPC) && NumCompileThreads) in prepareForConstruction()
690 SupportConcurrentCompilation = NumCompileThreads || ES || EPC; in prepareForConstruction()
739 if (!ES && !EPC) { in prepareForConstruction()
757 EPC = std::move(*EPCOrErr); in prepareForConstruction()
760 } else if (EPC) { in prepareForConstruction()
763 << EPC.get() << "\n"; in prepareForConstruction()
982 assert(!(S.EPC && S.ES) && "EPC and ES should not both be set"); in LLJIT()
984 if (S.EPC) { in LLJIT()
985 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT()
989 if (auto EPC = SelfExecutorProcessControl::Create()) { in LLJIT() local
[all …]
H A DEPCDynamicLibrarySearchGenerator.cpp53 EPC.lookupSymbolsAsync(Request, [this, &JD, LS = std::move(LS), in tryToGenerate()
/src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Debugging/
H A DVTuneSupportPlugin.h29 VTuneSupportPlugin(ExecutorProcessControl &EPC, ExecutorAddr RegisterImplAddr, in VTuneSupportPlugin() argument
31 : EPC(EPC), RegisterVTuneImplAddr(RegisterImplAddr), in VTuneSupportPlugin()
46 Create(ExecutorProcessControl &EPC, JITDylib &JD, bool EmitDebugInfo,
50 ExecutorProcessControl &EPC;
H A DPerfSupportPlugin.h29 PerfSupportPlugin(ExecutorProcessControl &EPC,
52 Create(ExecutorProcessControl &EPC, JITDylib &JD, bool EmitDebugInfo,
56 ExecutorProcessControl &EPC;
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DPerfSupportPlugin.cpp255 PerfSupportPlugin::PerfSupportPlugin(ExecutorProcessControl &EPC, in PerfSupportPlugin() argument
260 : EPC(EPC), RegisterPerfStartAddr(RegisterPerfStartAddr), in PerfSupportPlugin()
264 cantFail(EPC.callSPSWrapper<void()>(RegisterPerfStartAddr)); in PerfSupportPlugin()
267 cantFail(EPC.callSPSWrapper<void()>(RegisterPerfEndAddr)); in ~PerfSupportPlugin()
274 auto Batch = getRecords(EPC.getExecutionSession(), G, CodeIndex, in modifyPassConfig()
286 PerfSupportPlugin::Create(ExecutorProcessControl &EPC, JITDylib &JD, in Create() argument
288 if (!EPC.getTargetTriple().isOSBinFormatELF()) { in Create()
293 auto &ES = EPC.getExecutionSession(); in Create()
301 return std::make_unique<PerfSupportPlugin>(EPC, StartAddr, EndAddr, ImplAddr, in Create()
H A DVTuneSupportPlugin.cpp148 if (auto Err = EPC.callSPSWrapper<void(shared::SPSVTuneUnloadedMethodIDs)>( in notifyRemovingResources()
169 VTuneSupportPlugin::Create(ExecutorProcessControl &EPC, JITDylib &JD, in Create() argument
171 auto &ES = EPC.getExecutionSession(); in Create()
184 EPC, RegisterImplAddr, UnregisterImplAddr, EmitDebugInfo); in Create()
/src/contrib/llvm-project/llvm/tools/lli/
H A DForwardingMemoryManager.h93 Create(orc::ExecutorProcessControl &EPC) { in Create() argument
95 orc::EPCGenericDylibManager::CreateWithDefaultBootstrapSymbols(EPC); in Create()
H A Dlli.cpp709 std::unique_ptr<orc::ExecutorProcessControl> EPC = ExitOnErr(launchRemote()); in main() local
718 *EPC)); in main()
726 ExitOnErr(RemoteResolver::Create(*EPC))); in main()
735 Result = ExitOnErr(EPC->runAsMain(Entry, {})); in main()
746 ExitOnErr(EPC->disconnect()); in main()
1025 std::unique_ptr<orc::ExecutorProcessControl> EPC = nullptr; in runOrcJIT() local
1027 EPC = ExitOnErr(orc::SelfExecutorProcessControl::Create( in runOrcJIT()
1169 if (EPC) { in runOrcJIT()
1171 Result = ExitOnErr(EPC->runAsMain(MainAddr, InputArgv)); in runOrcJIT()

12