2015-06-22 23:37:34 +02:00
|
|
|
add_llvm_library(LLVMOrcJIT
|
|
|
|
ExecutionUtils.cpp
|
|
|
|
IndirectionUtils.cpp
|
|
|
|
NullResolver.cpp
|
2016-05-07 05:36:38 +02:00
|
|
|
OrcABISupport.cpp
|
2015-10-28 03:40:04 +01:00
|
|
|
OrcCBindings.cpp
|
2016-01-11 01:34:13 +01:00
|
|
|
OrcError.cpp
|
2015-06-22 23:37:34 +02:00
|
|
|
OrcMCJITReplacement.cpp
|
[Orc] Add support for remote JITing to the ORC API.
This patch adds utilities to ORC for managing a remote JIT target. It consists
of:
1. A very primitive RPC system for making calls over a byte-stream. See
RPCChannel.h, RPCUtils.h.
2. An RPC API defined in the above system for managing memory, looking up
symbols, creating stubs, etc. on a remote target. See OrcRemoteTargetRPCAPI.h.
3. An interface for creating high-level JIT components (memory managers,
callback managers, stub managers, etc.) that operate over the RPC API. See
OrcRemoteTargetClient.h.
4. A helper class for building servers that can handle the RPC calls. See
OrcRemoteTargetServer.h.
The system is designed to work neatly with the existing ORC components and
functionality. In particular, the ORC callback API (and consequently the
CompileOnDemandLayer) is supported, enabling lazy compilation of remote code.
Assuming this doesn't trigger any builder failures, a follow-up patch will be
committed which tests these utilities by using them to replace LLI's existing
remote-JITing demo code.
llvm-svn: 257305
2016-01-11 02:40:11 +01:00
|
|
|
OrcRemoteTargetRPCAPI.cpp
|
2015-06-22 23:37:34 +02:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/Orc
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
intrinsics_gen
|
|
|
|
)
|