Searched refs:EPC (Results 1 - 25 of 37) sorted by relevance

12

/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DEPCDebugObjectRegistrar.cpp1 //===----- EPCDebugObjectRegistrar.cpp - EPC-based debug registration -----===//
22 auto &EPC = ES.getExecutorProcessControl(); local
25 if (auto D = EPC.loadDylib(nullptr))
32 EPC.getTargetTriple().isOSBinFormatMachO()
33 ? EPC.intern("_llvm_orc_registerJITLoaderGDBWrapper")
34 : EPC.intern("llvm_orc_registerJITLoaderGDBWrapper");
40 EPC.lookupSymbols({{*RegistrationFunctionDylib, RegistrationSymbols}});
H A DEPCEHFrameRegistrar.cpp1 //===------ EPCEHFrameRegistrar.cpp - EPC-based eh-frame registration -----===//
27 auto &EPC = ES.getExecutorProcessControl(); local
30 if (auto D = EPC.loadDylib(nullptr))
37 if (EPC.getTargetTriple().isOSBinFormatMachO()) {
45 RegistrationSymbols.add(EPC.intern(RegisterWrapperName));
46 RegistrationSymbols.add(EPC.intern(DeregisterWrapperName));
49 EPC.lookupSymbols({{*RegistrationFunctionsDylib, RegistrationSymbols}});
H A DEPCIndirectionUtils.cpp1 //===------- EPCIndirectionUtils.cpp -- EPC based indirection APIs --------===//
82 auto &EPC = EPCIU.getExecutorProcessControl(); local
87 (EPC.getPageSize() - ABI.getPointerSize()) / TrampolineSize;
110 auto &EPC = EPCIU.getExecutorProcessControl(); local
111 auto PageSize = EPC.getPageSize();
113 EPC.getMemMgr(), nullptr,
239 EPCIndirectionUtils::Create(ExecutorProcessControl &EPC) { argument
240 const auto &TT = EPC.getTargetTriple();
248 return CreateWithABI<OrcAArch64>(EPC);
251 return CreateWithABI<OrcI386>(EPC);
342 EPCIndirectionUtils(ExecutorProcessControl &EPC, std::unique_ptr<ABISupport> ABI) argument
[all...]
H A DEPCGenericRTDyldMemoryManager.cpp1 //===----- EPCGenericRTDyldMemoryManager.cpp - EPC-bbasde MemMgr -----===//
24 ExecutorProcessControl &EPC) {
26 if (auto Err = EPC.getBootstrapSymbols(
35 return std::make_unique<EPCGenericRTDyldMemoryManager>(EPC, std::move(SAs));
39 ExecutorProcessControl &EPC, SymbolAddrs SAs)
40 : EPC(EPC), SAs(std::move(SAs)) {
50 if (auto Err2 = EPC.callSPSWrapper<
53 // FIXME: Report errors through EPC once that functionality is available.
106 if (CodeAlign > EPC
23 CreateWithDefaultBootstrapSymbols( ExecutorProcessControl &EPC) argument
38 EPCGenericRTDyldMemoryManager( ExecutorProcessControl &EPC, SymbolAddrs SAs) argument
[all...]
H A DEPCGenericDylibManager.cpp1 //===------- EPCGenericDylibManager.cpp -- Dylib management via EPC -------===//
64 ExecutorProcessControl &EPC) {
66 if (auto Err = EPC.getBootstrapSymbols(
71 return EPCGenericDylibManager(EPC, std::move(SAs));
78 EPC.callSPSWrapper<rt::SPSSimpleExecutorDylibManagerOpenSignature>(
89 EPC.callSPSWrapper<rt::SPSSimpleExecutorDylibManagerLookupSignature>(
100 EPC.callSPSWrapper<rt::SPSSimpleExecutorDylibManagerLookupSignature>(
63 CreateWithDefaultBootstrapSymbols( ExecutorProcessControl &EPC) argument
H A DEPCGenericJITLinkMemoryManager.cpp1 //===---- EPCGenericJITLinkMemoryManager.cpp -- Mem management via EPC ----===//
53 Parent.EPC.getPageSize()),
60 Parent.EPC.callSPSWrapperAsync<
79 Parent.EPC.callSPSWrapperAsync<
105 auto Pages = BL.getContiguousPageBasedLayoutSizes(EPC.getPageSize());
109 EPC.callSPSWrapperAsync<rt::SPSSimpleExecutorMemoryManagerReserveSignature>(
127 EPC.callSPSWrapperAsync<
156 alignTo(Seg.ContentSize + Seg.ZeroFillSize, EPC.getPageSize()));
H A DMemoryMapper.cpp193 SharedMemoryMapper::SharedMemoryMapper(ExecutorProcessControl &EPC, argument
195 : EPC(EPC), SAs(SAs), PageSize(PageSize) {
202 SharedMemoryMapper::Create(ExecutorProcessControl &EPC, SymbolAddrs SAs) { argument
208 return std::make_unique<SharedMemoryMapper>(EPC, SAs, *PageSize);
220 EPC.callSPSWrapperAsync<
332 EPC.callSPSWrapperAsync<
350 EPC.callSPSWrapperAsync<
393 EPC.callSPSWrapperAsync<
H A DLookupAndRecordAddrs.cpp55 ExecutorProcessControl &EPC, tpctypes::DylibHandle H,
64 auto Result = EPC.lookupSymbols(LR);
54 lookupAndRecordAddrs( ExecutorProcessControl &EPC, tpctypes::DylibHandle H, std::vector<std::pair<SymbolStringPtr, ExecutorAddr *>> Pairs, SymbolLookupFlags LookupFlags) argument
/openbsd-current/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericDylibManager.h1 //===- EPCGenericDylibManager.h -- Generic EPC Dylib management -*- C++ -*-===//
41 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
45 EPCGenericDylibManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) argument
46 : EPC(EPC), SAs(SAs) {}
60 ExecutorProcessControl &EPC; member in class:llvm::orc::EPCGenericDylibManager
H A DEPCGenericMemoryAccess.h1 //===- EPCGenericMemoryAccess.h - Generic EPC MemoryAccess impl -*- C++ -*-===//
39 EPCGenericMemoryAccess(ExecutorProcessControl &EPC, FuncAddrs FAs) argument
40 : EPC(EPC), FAs(FAs) {}
45 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt8Write>)>(
52 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt16Write>)>(
59 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt32Write>)>(
66 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessUInt64Write>)>(
73 EPC.callSPSWrapperAsync<void(SPSSequence<SPSMemoryAccessBufferWrite>)>(
78 ExecutorProcessControl &EPC; member in class:llvm::orc::EPCGenericMemoryAccess
[all...]
H A DEPCGenericJITLinkMemoryManager.h1 //===- EPCGenericJITLinkMemoryManager.h - EPC-based mem manager -*- C++ -*-===//
39 EPCGenericJITLinkMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs) argument
40 : EPC(EPC), SAs(SAs) {}
60 ExecutorProcessControl &EPC; member in class:llvm::orc::EPCGenericJITLinkMemoryManager
H A DEPCIndirectionUtils.h1 //===--- EPCIndirectionUtils.h - EPC based indirection utils ----*- C++ -*-===//
83 CreateWithABI(ExecutorProcessControl &EPC);
87 Create(ExecutorProcessControl &EPC);
90 ExecutorProcessControl &getExecutorProcessControl() const { return EPC; }
143 EPCIndirectionUtils(ExecutorProcessControl &EPC,
149 ExecutorProcessControl &EPC; member in class:llvm::orc::EPCIndirectionUtils
214 EPCIndirectionUtils::CreateWithABI(ExecutorProcessControl &EPC) { argument
216 EPC, std::make_unique<detail::ABISupportImpl<ORCABI>>()));
H A DEPCDynamicLibrarySearchGenerator.h38 : EPC(ES.getExecutorProcessControl()), H(H), Allow(std::move(Allow)) {}
60 ExecutorProcessControl &EPC; member in class:llvm::orc::EPCDynamicLibrarySearchGenerator
H A DEPCGenericRTDyldMemoryManager.h1 //===---- EPCGenericRTDyldMemoryManager.h - EPC-based MemMgr ----*- C++ -*-===//
9 // Defines a RuntimeDyld::MemoryManager that uses EPC and the ORC runtime
38 /// Create an EPCGenericRTDyldMemoryManager using the given EPC, looking up
41 CreateWithDefaultBootstrapSymbols(ExecutorProcessControl &EPC);
43 /// Create an EPCGenericRTDyldMemoryManager using the given EPC and symbol
45 EPCGenericRTDyldMemoryManager(ExecutorProcessControl &EPC, SymbolAddrs SAs);
113 ExecutorProcessControl &EPC; member in class:llvm::orc::EPCGenericRTDyldMemoryManager
H A DLookupAndRecordAddrs.h63 ExecutorProcessControl &EPC, tpctypes::DylibHandle H,
H A DMemoryMapper.h134 SharedMemoryMapper(ExecutorProcessControl &EPC, SymbolAddrs SAs,
138 Create(ExecutorProcessControl &EPC, SymbolAddrs SAs);
162 ExecutorProcessControl &EPC; member in class:llvm::orc::final
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h65 auto EPC = SelfExecutorProcessControl::Create(); local
66 if (!EPC)
67 return EPC.takeError();
69 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC));
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/include/
H A DKaleidoscopeJIT.h69 auto EPC = SelfExecutorProcessControl::Create(); local
70 if (!EPC)
71 return EPC.takeError();
73 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC));
/openbsd-current/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DLLJITWithRemoteDebugging.cpp147 std::unique_ptr<SimpleRemoteEPC> EPC; local
150 EPC = ExitOnErr(connectTCPSocket(OOPExecutorConnectTCP));
159 std::tie(EPC, PID) = ExitOnErr(launchLocalExecutor(Path));
202 .setExecutorProcessControl(std::move(EPC))
241 ExecutorProcessControl &EPC = local
243 int Result = ExitOnErr(EPC.runAsMain(MainAddr, ActualArgv));
H A DRemoteJITUtils.cpp141 auto EPC = SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>( local
145 if (!EPC)
146 return EPC.takeError();
148 return std::make_pair(std::move(*EPC), static_cast<uint64_t>(ProcessID));
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h72 auto EPC = SelfExecutorProcessControl::Create(); local
73 if (!EPC)
74 return EPC.takeError();
76 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC));
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h88 auto EPC = SelfExecutorProcessControl::Create(); local
89 if (!EPC)
90 return EPC.takeError();
92 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC));
/openbsd-current/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithExecutorProcessControl/
H A DLLJITWithExecutorProcessControl.cpp1 //===- LLJITWithExecutorProcessControl.cpp - LLJIT example with EPC utils -===//
137 auto EPC = ExitOnErr(SelfExecutorProcessControl::Create()); local
139 LLJITBuilder().setExecutorProcessControl(std::move(EPC)).create());
/openbsd-current/gnu/llvm/llvm/examples/SpeculativeJIT/
H A DSpeculativeJIT.cpp52 auto EPC = SelfExecutorProcessControl::Create();
53 if (!EPC)
54 return EPC.takeError();
56 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC));
/openbsd-current/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A DKaleidoscopeJIT.h173 auto EPC = SelfExecutorProcessControl::Create(); local
174 if (!EPC)
175 return EPC.takeError();
177 auto ES = std::make_unique<ExecutionSession>(std::move(*EPC));

Completed in 127 milliseconds

12