|
using | ObjectLinkingLayerCreator = std::function< Expected< std::unique_ptr< ObjectLayer > >(ExecutionSession &, const Triple &)> |
|
using | CompileFunctionCreator = std::function< Expected< std::unique_ptr< IRCompileLayer::IRCompiler > >(JITTargetMachineBuilder JTMB)> |
|
using | ProcessSymbolsJITDylibSetupFunction = unique_function< Expected< JITDylibSP >(LLJIT &J)> |
|
using | PlatformSetupFunction = unique_function< Expected< JITDylibSP >(LLJIT &J)> |
|
using | NotifyCreatedFunction = std::function< Error(LLJIT &)> |
|
Error | prepareForConstruction () |
| Called prior to JIT class construcion to fix up defaults.
|
|
LLJITBuilder & | setExecutorProcessControl (std::unique_ptr< ExecutorProcessControl > EPC) |
| Set an ExecutorProcessControl for this instance.
|
|
LLJITBuilder & | setExecutionSession (std::unique_ptr< ExecutionSession > ES) |
| Set an ExecutionSession for this instance.
|
|
LLJITBuilder & | setJITTargetMachineBuilder (JITTargetMachineBuilder JTMB) |
| Set the JITTargetMachineBuilder for this instance.
|
|
std::optional< JITTargetMachineBuilder > & | getJITTargetMachineBuilder () |
| Return a reference to the JITTargetMachineBuilder.
|
|
LLJITBuilder & | setDataLayout (std::optional< DataLayout > DL) |
| Set a DataLayout for this instance.
|
|
LLJITBuilder & | setLinkProcessSymbolsByDefault (bool LinkProcessSymbolsByDefault) |
| The LinkProcessSymbolsDyDefault flag determines whether the "Process" JITDylib will be added to the default link order at LLJIT construction time.
|
|
LLJITBuilder & | setProcessSymbolsJITDylibSetup (LLJITBuilderState::ProcessSymbolsJITDylibSetupFunction SetupProcessSymbolsJITDylib) |
| Set a setup function for the process symbols dylib.
|
|
LLJITBuilder & | setObjectLinkingLayerCreator (LLJITBuilderState::ObjectLinkingLayerCreator CreateObjectLinkingLayer) |
| Set an ObjectLinkingLayer creation function.
|
|
LLJITBuilder & | setCompileFunctionCreator (LLJITBuilderState::CompileFunctionCreator CreateCompileFunction) |
| Set a CompileFunctionCreator.
|
|
LLJITBuilder & | setPrePlatformSetup (unique_function< Error(LLJIT &)> PrePlatformSetup) |
| Set a setup function to be run just before the PlatformSetupFunction is run.
|
|
LLJITBuilder & | setPlatformSetUp (LLJITBuilderState::PlatformSetupFunction SetUpPlatform) |
| Set up an PlatformSetupFunction.
|
|
LLJITBuilder & | setNotifyCreatedCallback (LLJITBuilderState::NotifyCreatedFunction Callback) |
| Set up a callback after successful construction of the JIT.
|
|
LLJITBuilder & | setNumCompileThreads (unsigned NumCompileThreads) |
| Set the number of compile threads to use.
|
|
LLJITBuilder & | setSupportConcurrentCompilation (std::optional< bool > SupportConcurrentCompilation) |
| If set, this forces LLJIT concurrent compilation support to be either on or off.
|
|
Expected< std::unique_ptr< LLJIT > > | create () |
| Create an instance of the JIT.
|
|
std::unique_ptr< ExecutorProcessControl > | EPC |
|
std::unique_ptr< ExecutionSession > | ES |
|
std::optional< JITTargetMachineBuilder > | JTMB |
|
std::optional< DataLayout > | DL |
|
bool | LinkProcessSymbolsByDefault = true |
|
ProcessSymbolsJITDylibSetupFunction | SetupProcessSymbolsJITDylib |
|
ObjectLinkingLayerCreator | CreateObjectLinkingLayer |
|
CompileFunctionCreator | CreateCompileFunction |
|
unique_function< Error(LLJIT &)> | PrePlatformSetup |
|
PlatformSetupFunction | SetUpPlatform |
|
NotifyCreatedFunction | NotifyCreated |
|
unsigned | NumCompileThreads = 0 |
|
std::optional< bool > | SupportConcurrentCompilation |
|
LLJITBuilder & | impl () |
|