1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/examples
Lang Hames 757f986da8 [ORC] Add TargetProcessControl and TPCIndirectionUtils APIs.
TargetProcessControl is a new API for communicating with JIT target processes.
It supports memory allocation and access, and inspection of some process
properties, e.g. the target proces triple and page size.

Centralizing these APIs allows utilities written against TargetProcessControl
to remain independent of the communication procotol with the target process
(which may be direct memory access/allocation for in-process JITing, or may
involve some form of IPC or RPC).

An initial set of TargetProcessControl-based utilities for lazy compilation is
provided by the TPCIndirectionUtils class.

An initial implementation of TargetProcessControl for in-process JITing
is provided by the SelfTargetProcessControl class.

An example program showing how the APIs can be used is provided in
llvm/examples/OrcV2Examples/LLJITWithTargetProcessControl.
2020-07-16 15:09:13 -07:00
..
BrainF
Bye
ExceptionDemo
Fibonacci
HowToUseJIT
HowToUseLLJIT
IRTransforms
Kaleidoscope
ModuleMaker
OCaml-Kaleidoscope
OrcV2Examples [ORC] Add TargetProcessControl and TPCIndirectionUtils APIs. 2020-07-16 15:09:13 -07:00
ParallelJIT
SpeculativeJIT
ThinLtoJIT
CMakeLists.txt
LLVMBuild.txt