Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
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 …]
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 …]
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()
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()
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()
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()
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()
DLookupAndRecordAddrs.cpp55 ExecutorProcessControl &EPC, tpctypes::DylibHandle H, in lookupAndRecordAddrs() argument
64 auto Result = EPC.lookupSymbols(LR); in lookupAndRecordAddrs()
DLLJIT.cpp699 if (!ES && !EPC) { in prepareForConstruction()
705 EPC = std::move(*EPCOrErr); in prepareForConstruction()
711 << EPC.get() << "\n"; in prepareForConstruction()
839 assert(!(S.EPC && S.ES) && "EPC and ES should not both be set"); in LLJIT()
841 if (S.EPC) { in LLJIT()
842 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT()
846 if (auto EPC = SelfExecutorProcessControl::Create()) { in LLJIT() local
847 ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in LLJIT()
849 Err = EPC.takeError(); in LLJIT()
/openbsd/src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
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;
DEPCGenericDylibManager.h41 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
45 EPCGenericDylibManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericDylibManager() argument
46 : EPC(EPC), SAs(SAs) {} in EPCGenericDylibManager()
60 ExecutorProcessControl &EPC;
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()
DEPCGenericJITLinkMemoryManager.h39 EPCGenericJITLinkMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) in EPCGenericJITLinkMemoryManager() argument
40 : EPC(EPC), SAs(SAs) {} in EPCGenericJITLinkMemoryManager()
60 ExecutorProcessControl &EPC; variable
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()
DEPCGenericRTDyldMemoryManager.h41 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
45 EPCGenericRTDyldMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs);
113 ExecutorProcessControl &EPC; variable
DEPCDynamicLibrarySearchGenerator.h38 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)) {}
60 ExecutorProcessControl &EPC;
DMemoryMapper.h134 SharedMemoryMapper(ExecutorProcessControl &EPC, SymbolAddrs SAs,
138 Create(ExecutorProcessControl &EPC, SymbolAddrs SAs);
162 ExecutorProcessControl &EPC; variable
/openbsd/src/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
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/include/
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/Chapter2/
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/
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/
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/
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/
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 …]
DForwardingMemoryManager.h93 Create(orc::ExecutorProcessControl &EPC) { in Create() argument
95 orc::EPCGenericDylibManager::CreateWithDefaultBootstrapSymbols(EPC); in Create()

12