Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
239 EPCIndirectionUtils::Create(ExecutorProcessControl &EPC) { in Create() argument
240 const auto &TT = EPC.getTargetTriple(); in Create()
248 return CreateWithABI<OrcAArch64>(EPC); in Create()
251 return CreateWithABI<OrcI386>(EPC); in Create()
254 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 DEPCEHFrameRegistrar.cpp27 auto &EPC = ES.getExecutorProcessControl(); in Create() local
30 if (auto D = EPC.loadDylib(nullptr)) in Create()
37 if (EPC.getTargetTriple().isOSBinFormatMachO()) { in Create()
45 RegistrationSymbols.add(EPC.intern(RegisterWrapperName)); in Create()
46 RegistrationSymbols.add(EPC.intern(DeregisterWrapperName)); in Create()
49 EPC.lookupSymbols({{*RegistrationFunctionsDylib, RegistrationSymbols}}); in Create()
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()
89 EPC.callSPSWrapper<rt::SPSSimpleExecutorDylibManagerLookupSignature>( in lookup()
100 EPC.callSPSWrapper<rt::SPSSimpleExecutorDylibManagerLookupSignature>( in lookup()
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.cpp193 SharedMemoryMapper::SharedMemoryMapper(ExecutorProcessControl &EPC, in SharedMemoryMapper() argument
195 : EPC(EPC), SAs(SAs), PageSize(PageSize) { in SharedMemoryMapper()
202 SharedMemoryMapper::Create(ExecutorProcessControl &EPC, SymbolAddrs SAs) { in Create() argument
208 return std::make_unique<SharedMemoryMapper>(EPC, SAs, *PageSize); in Create()
220 EPC.callSPSWrapperAsync< in reserve()
332 EPC.callSPSWrapperAsync< in initialize()
350 EPC.callSPSWrapperAsync< in deinitialize()
393 EPC.callSPSWrapperAsync< in release()
H A DLookupAndRecordAddrs.cpp55 ExecutorProcessControl &EPC, tpctypes::DylibHandle H, in lookupAndRecordAddrs() argument
64 auto Result = EPC.lookupSymbols(LR); in lookupAndRecordAddrs()
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericMemoryAccess.h39 EPCGenericMemoryAccess(ExecutorProcessControl &EPC, FuncAddrs FAs) in EPCGenericMemoryAccess() argument
40 : EPC(EPC), FAs(FAs) {} in EPCGenericMemoryAccess()
45 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt8Write>)>( in writeUInt8sAsync()
52 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt16Write>)>( in writeUInt16sAsync()
59 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt32Write>)>( in writeUInt32sAsync()
66 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt64Write>)>( in writeUInt64sAsync()
73 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessBufferWrite>)>( in writeBuffersAsync()
78 ExecutorProcessControl &EPC;
H A DEPCGenericDylibManager.h41 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
45 EPCGenericDylibManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericDylibManager() argument
46 : EPC(EPC), SAs(SAs) {} in EPCGenericDylibManager()
60 ExecutorProcessControl &EPC;
H A DEPCIndirectionUtils.h83 CreateWithABI(ExecutorProcessControl &EPC);
87 Create(ExecutorProcessControl &EPC);
90 ExecutorProcessControl &getExecutorProcessControl() const { return EPC; } in getExecutorProcessControl()
143 EPCIndirectionUtils(ExecutorProcessControl &EPC,
149 ExecutorProcessControl &EPC; variable
214 EPCIndirectionUtils::CreateWithABI(ExecutorProcessControl &EPC) { in CreateWithABI() argument
216 EPC, std::make_unique<detail::ABISupportImpl<ORCABI>>())); in CreateWithABI()
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 DLLJIT.h263 std::unique_ptr<ExecutorProcessControl> EPC; variable
282 setExecutorProcessControl(std::unique_ptr<ExecutorProcessControl> EPC) { in setExecutorProcessControl() argument
287 impl().EPC = std::move(EPC); in setExecutorProcessControl()
370 SetterImpl &setExecutorProcessControl(ExecutorProcessControl &EPC) { in setExecutorProcessControl() argument
371 impl().EPC = &EPC; in setExecutorProcessControl()
H A DEPCGenericRTDyldMemoryManager.h41 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
45 EPCGenericRTDyldMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs);
113 ExecutorProcessControl &EPC; variable
H A DEPCDynamicLibrarySearchGenerator.h38 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)) {}
60 ExecutorProcessControl &EPC;
H A DMemoryMapper.h134 SharedMemoryMapper(ExecutorProcessControl &EPC, SymbolAddrs SAs,
138 Create(ExecutorProcessControl &EPC, SymbolAddrs SAs);
162 ExecutorProcessControl &EPC; variable
/openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DLLJITWithRemoteDebugging.cpp147 std::unique_ptr<SimpleRemoteEPC> EPC; in main() local
150 EPC = ExitOnErr(connectTCPSocket(OOPExecutorConnectTCP)); in main()
159 std::tie(EPC, PID) = ExitOnErr(launchLocalExecutor(Path)); in main()
202 .setExecutorProcessControl(std::move(EPC)) in main()
241 ExecutorProcessControl &EPC = in main() local
243 int Result = ExitOnErr(EPC.runAsMain(MainAddr, ActualArgv)); in main()
H A DRemoteJITUtils.cpp141 auto EPC = SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>( in launchLocalExecutor() local
145 if (!EPC) in launchLocalExecutor()
146 return EPC.takeError(); in launchLocalExecutor()
148 return std::make_pair(std::move(*EPC), static_cast<uint64_t>(ProcessID)); in launchLocalExecutor()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/include/
H A DKaleidoscopeJIT.h69 auto EPC = SelfExecutorProcessControl::Create(); in Create() local
70 if (!EPC) in Create()
71 return EPC.takeError(); in Create()
73 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h65 auto EPC = SelfExecutorProcessControl::Create(); in Create() local
66 if (!EPC) in Create()
67 return EPC.takeError(); in Create()
69 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h72 auto EPC = SelfExecutorProcessControl::Create(); in Create() local
73 if (!EPC) in Create()
74 return EPC.takeError(); in Create()
76 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h88 auto EPC = SelfExecutorProcessControl::Create(); in Create() local
89 if (!EPC) in Create()
90 return EPC.takeError(); in Create()
92 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create()
/openbsd-src/gnu/llvm/llvm/examples/SpeculativeJIT/
H A DSpeculativeJIT.cpp52 auto EPC = SelfExecutorProcessControl::Create(); in Create() local
53 if (!EPC) in Create()
54 return EPC.takeError(); in Create()
56 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A DKaleidoscopeJIT.h173 auto EPC = SelfExecutorProcessControl::Create(); in Create() local
174 if (!EPC) in Create()
175 return EPC.takeError(); in Create()
177 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in Create()
/openbsd-src/gnu/llvm/llvm/tools/lli/
H A Dlli.cpp666 std::unique_ptr<orc::ExecutorProcessControl> EPC = in main() local
723 *EPC)); in main()
731 ExitOnErr(RemoteResolver::Create(*EPC))); in main()
740 Result = ExitOnErr(EPC->runAsMain(Entry, {})); in main()
751 ExitOnErr(EPC->disconnect()); in main()
931 std::unique_ptr<orc::ExecutorProcessControl> EPC = nullptr; in runOrcJIT() local
933 EPC = ExitOnErr(orc::SelfExecutorProcessControl::Create( in runOrcJIT()
936 Builder.setObjectLinkingLayerCreator([&EPC, &P](orc::ExecutionSession &ES, in runOrcJIT()
938 auto L = std::make_unique<orc::ObjectLinkingLayer>(ES, EPC->getMemMgr()); in runOrcJIT()
1090 if (EPC) { in runOrcJIT()
[all …]

12