llvm-project/llvm/examples
Lang Hames 0e940d55f8 [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 [examples] Fix llvm.memset prototype in BrainF example. 2020-05-10 17:20:56 -04:00
Bye [examples] Skip building the Bye pass plugin on windows 2020-05-13 13:40:56 +03:00
ExceptionDemo [examples] fix ExceptionDemo 2020-07-11 12:38:27 -07:00
Fibonacci [opaque pointer types] Add a FunctionCallee wrapper type, and use it. 2019-02-01 02:28:03 +00:00
HowToUseJIT [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
HowToUseLLJIT [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
IRTransforms Re-apply "[Examples] Add IRTransformations directory to examples." 2020-01-04 15:47:23 +00:00
Kaleidoscope Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming (NFC) 2020-03-12 00:12:03 +00:00
ModuleMaker Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
OCaml-Kaleidoscope
OrcV2Examples [ORC] Add TargetProcessControl and TPCIndirectionUtils APIs. 2020-07-16 15:09:13 -07:00
ParallelJIT [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
SpeculativeJIT [examples] Fix the SpeculativeJIT and ThinLtoJIT examples for 41379f1ec4. 2020-05-10 17:34:31 -07:00
ThinLtoJIT StoreInst should store Align, not MaybeAlign 2020-05-15 12:26:58 -07:00
CMakeLists.txt [Orc] Add basic OrcV2 C bindings and example. 2020-03-14 14:41:22 -07:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00