Home
last modified time | relevance | path

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

12

/freebsd/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(), EPC.getSymbolStringPool(), EPC.getTargetTriple(), 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.cpp23 ExecutorProcessControl &EPC) { in CreateWithDefaultBootstrapSymbols() argument
25 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.cpp19 auto &EPC = ES.getExecutorProcessControl(); in createJITLoaderGDBRegistrar() local
22 if (auto D = EPC.getDylibMgr().loadDylib(nullptr)) in createJITLoaderGDBRegistrar()
29 EPC.getTargetTriple().isOSBinFormatMachO() in createJITLoaderGDBRegistrar()
30 ? EPC.intern("_llvm_orc_registerJITLoaderGDBWrapper") in createJITLoaderGDBRegistrar()
31 : EPC.intern("llvm_orc_registerJITLoaderGDBWrapper"); in createJITLoaderGDBRegistrar()
36 auto Result = EPC.getDylibMgr().lookupSymbols( 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.cpp52 Parent.EPC.getPageSize()), in finalize()
59 Parent.EPC.callSPSWrapperAsync< in finalize()
78 Parent.EPC.callSPSWrapperAsync< in abandon()
104 auto Pages = BL.getContiguousPageBasedLayoutSizes(EPC.getPageSize()); in allocate()
108 EPC.callSPSWrapperAsync<rt::SPSSimpleExecutorMemoryManagerReserveSignature>( in allocate()
126 EPC.callSPSWrapperAsync< in deallocate()
155 alignTo(Seg.ContentSize + Seg.ZeroFillSize, EPC.getPageSize())); in completeAllocation()
H A DMemoryMapper.cpp206 SharedMemoryMapper::SharedMemoryMapper(ExecutorProcessControl &EPC, in SharedMemoryMapper() argument
208 : EPC(EPC), SAs(SAs), PageSize(PageSize) { in SharedMemoryMapper()
215 SharedMemoryMapper::Create(ExecutorProcessControl &EPC, SymbolAddrs SAs) { in Create() argument
221 return std::make_unique<SharedMemoryMapper>(EPC, SAs, *PageSize); in Create()
234 EPC.callSPSWrapperAsync< in reserve()
365 EPC.callSPSWrapperAsync< in initialize()
383 EPC.callSPSWrapperAsync< in deinitialize()
431 EPC.callSPSWrapperAsync< in release()
H A DLLJIT.cpp697 if ((ES || EPC) && NumCompileThreads) in prepareForConstruction()
717 SupportConcurrentCompilation = NumCompileThreads || ES || EPC; in prepareForConstruction()
766 if (!ES && !EPC) { in prepareForConstruction()
784 EPC = std::move(*EPCOrErr); in prepareForConstruction()
787 } else if (EPC) { in prepareForConstruction()
790 << EPC.get() << "\n"; in prepareForConstruction()
1003 assert(!(S.EPC && S.ES) && "EPC and ES should not both be set"); in LLJIT()
1005 if (S.EPC) { in LLJIT()
1006 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT()
1010 if (auto EPC = SelfExecutorProcessControl::Create()) { in LLJIT() local
[all …]
H A DLookupAndRecordAddrs.cpp55 ExecutorProcessControl &EPC, tpctypes::DylibHandle H, in lookupAndRecordAddrs() argument
64 auto Result = EPC.getDylibMgr().lookupSymbols(LR); in lookupAndRecordAddrs()
H A DUnwindInfoRegistrationPlugin.cpp26 auto &EPC = ES.getExecutorProcessControl(); in Create() local
27 if (auto Err = EPC.getBootstrapSymbols( in Create()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericMemoryAccess.h47 EPCGenericMemoryAccess(ExecutorProcessControl &EPC, FuncAddrs FAs) in EPCGenericMemoryAccess() argument
48 : EPC(EPC), FAs(FAs) {} in EPCGenericMemoryAccess()
53 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt8Write>)>( in writeUInt8sAsync()
60 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt16Write>)>( in writeUInt16sAsync()
67 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt32Write>)>( in writeUInt32sAsync()
74 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt64Write>)>( in writeUInt64sAsync()
81 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessPointerWrite>)>( in writePointersAsync()
88 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessBufferWrite>)>( in writeBuffersAsync()
95 EPC.callSPSWrapperAsync<SPSSequence<uint8_t>(SPSSequence<SPSExecutorAddr>)>( in readUInt8sAsync()
110 EPC.callSPSWrapperAsync<SPSSequence<uint16_t>( in readUInt16sAsync()
[all …]
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.h43 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
47 EPCGenericDylibManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericDylibManager() argument
48 : EPC(EPC), SAs(SAs) {} in EPCGenericDylibManager()
85 ExecutorProcessControl &EPC;
H A DEPCGenericJITLinkMemoryManager.h41 EPCGenericJITLinkMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericJITLinkMemoryManager() argument
42 : EPC(EPC), SAs(SAs) {} in EPCGenericJITLinkMemoryManager()
62 ExecutorProcessControl &EPC; variable
H A DEPCDynamicLibrarySearchGenerator.h44 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)),
57 : EPC(ES.getExecutorProcessControl()), Allow(std::move(Allow)),
85 ExecutorProcessControl &EPC; variable
H A DEPCGenericRTDyldMemoryManager.h43 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
47 EPCGenericRTDyldMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs);
115 ExecutorProcessControl &EPC; variable
H A DCore.h1383 LLVM_ABI ExecutionSession(std::unique_ptr<ExecutorProcessControl> EPC);
1395 ExecutorProcessControl &getExecutorProcessControl() { return *EPC; } in getExecutorProcessControl()
1398 const Triple &getTargetTriple() const { return EPC->getTargetTriple(); } in getTargetTriple()
1401 size_t getPageSize() const { return EPC->getPageSize(); } in getPageSize()
1405 return EPC->getSymbolStringPool(); in getSymbolStringPool()
1409 SymbolStringPtr intern(StringRef SymName) { return EPC->intern(SymName); } in intern()
1567 EPC->getDispatcher().dispatch(std::move(T)); in dispatchTask()
1572 return EPC->getBootstrapMap(); in getBootstrapMap()
1578 return EPC->getBootstrapMapValue<T, SPSTagT>(Key, Val); in getBootstrapMapValue()
1583 return EPC->getBootstrapSymbolsMap(); in getBootstrapSymbolsMap()
[all …]
H A DMemoryMapper.h135 SharedMemoryMapper(ExecutorProcessControl &EPC, SymbolAddrs SAs,
139 Create(ExecutorProcessControl &EPC, SymbolAddrs SAs);
164 ExecutorProcessControl &EPC; variable
H A DLLJIT.h316 std::unique_ptr<ExecutorProcessControl> EPC; variable
340 setExecutorProcessControl(std::unique_ptr<ExecutorProcessControl> EPC) { in setExecutorProcessControl() argument
345 impl().EPC = std::move(EPC); in setExecutorProcessControl()
352 !impl().EPC && in setExecutionSession()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Debugging/
H A DVTuneSupportPlugin.h30 VTuneSupportPlugin(ExecutorProcessControl &EPC, ExecutorAddr RegisterImplAddr, in VTuneSupportPlugin() argument
32 : EPC(EPC), RegisterVTuneImplAddr(RegisterImplAddr), in VTuneSupportPlugin()
47 Create(ExecutorProcessControl &EPC, JITDylib &JD, bool EmitDebugInfo,
51 ExecutorProcessControl &EPC;
H A DPerfSupportPlugin.h30 PerfSupportPlugin(ExecutorProcessControl &EPC,
53 Create(ExecutorProcessControl &EPC, JITDylib &JD, bool EmitDebugInfo,
57 ExecutorProcessControl &EPC;
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DPerfSupportPlugin.cpp254 PerfSupportPlugin::PerfSupportPlugin(ExecutorProcessControl &EPC, in PerfSupportPlugin() argument
259 : EPC(EPC), RegisterPerfStartAddr(RegisterPerfStartAddr), in PerfSupportPlugin()
263 cantFail(EPC.callSPSWrapper<void()>(RegisterPerfStartAddr)); in PerfSupportPlugin()
266 cantFail(EPC.callSPSWrapper<void()>(RegisterPerfEndAddr)); in ~PerfSupportPlugin()
273 auto Batch = getRecords(EPC.getExecutionSession(), G, CodeIndex, in modifyPassConfig()
285 PerfSupportPlugin::Create(ExecutorProcessControl &EPC, JITDylib &JD, in Create() argument
287 if (!EPC.getTargetTriple().isOSBinFormatELF()) { in Create()
292 auto &ES = EPC.getExecutionSession(); in Create()
300 return std::make_unique<PerfSupportPlugin>(EPC, StartAddr, EndAddr, ImplAddr, in Create()
H A DVTuneSupportPlugin.cpp149 if (auto Err = EPC.callSPSWrapper<void(shared::SPSVTuneUnloadedMethodIDs)>( in notifyRemovingResources()
170 VTuneSupportPlugin::Create(ExecutorProcessControl &EPC, JITDylib &JD, in Create() argument
172 auto &ES = EPC.getExecutionSession(); in Create()
185 EPC, RegisterImplAddr, UnregisterImplAddr, EmitDebugInfo); in Create()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DRemoteJITUtils.cpp167 S.CreateMemoryManager = [SlabAllocateSizeString](SimpleRemoteEPC &EPC) { in launchExecutor()
168 return createSharedMemoryManager(EPC, SlabAllocateSizeString); in launchExecutor()
259 S.CreateMemoryManager = [SlabAllocateSizeString](SimpleRemoteEPC &EPC) { in connectTCPSocket()
260 return createSharedMemoryManager(EPC, SlabAllocateSizeString); in connectTCPSocket()
/freebsd/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.cpp710 std::unique_ptr<orc::ExecutorProcessControl> EPC = ExitOnErr(launchRemote()); in main() local
719 *EPC)); in main()
727 ExitOnErr(RemoteResolver::Create(*EPC))); in main()
736 Result = ExitOnErr(EPC->runAsMain(Entry, {})); in main()
747 ExitOnErr(EPC->disconnect()); in main()
1027 std::unique_ptr<orc::ExecutorProcessControl> EPC = nullptr; in runOrcJIT() local
1029 EPC = ExitOnErr(orc::SelfExecutorProcessControl::Create( in runOrcJIT()
1166 if (EPC) { in runOrcJIT()
1168 Result = ExitOnErr(EPC->runAsMain(MainAddr, InputArgv)); in runOrcJIT()

12