|
LLVM
10.0.0
|
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
Public Member Functions | |
| SetterImpl & | setJITTargetMachineBuilder (JITTargetMachineBuilder JTMB) |
| Set the JITTargetMachineBuilder for this instance. More... | |
| Optional< JITTargetMachineBuilder > & | getJITTargetMachineBuilder () |
| Return a reference to the JITTargetMachineBuilder. More... | |
| SetterImpl & | setObjectLinkingLayerCreator (LLJITBuilderState::ObjectLinkingLayerCreator CreateObjectLinkingLayer) |
| Set an ObjectLinkingLayer creation function. More... | |
| SetterImpl & | setCompileFunctionCreator (LLJITBuilderState::CompileFunctionCreator CreateCompileFunction) |
| Set a CompileFunctionCreator. More... | |
| SetterImpl & | setNumCompileThreads (unsigned NumCompileThreads) |
| Set the number of compile threads to use. More... | |
| Expected< std::unique_ptr< JITType > > | create () |
| Create an instance of the JIT. More... | |
Protected Member Functions | |
| SetterImpl & | impl () |
|
inline |
|
inline |
Return a reference to the JITTargetMachineBuilder.
|
inlineprotected |
|
inline |
Set a CompileFunctionCreator.
If this method is not called, a default creation function wil be used that will construct a basic IR compile function that is compatible with the selected number of threads (SimpleCompiler for '0' compile threads, ConcurrentIRCompiler otherwise).
|
inline |
Set the JITTargetMachineBuilder for this instance.
If this method is not called, JITTargetMachineBuilder::detectHost will be used to construct a default target machine builder for the host platform.
|
inline |
Set the number of compile threads to use.
If set to zero, compilation will be performed on the execution thread when JITing in-process. If set to any other number N, a thread pool of N threads will be created for compilation.
If this method is not called, behavior will be as if it were called with a zero argument.
|
inline |
Set an ObjectLinkingLayer creation function.
If this method is not called, a default creation function will be used that will construct an RTDyldObjectLinkingLayer.
1.8.13