LLVM: llvm::orc::LLJITBuilder Class Reference (original) (raw)

Constructs LLJIT instances. More...

#include "[llvm/ExecutionEngine/Orc/LLJIT.h](llvm%5F2ExecutionEngine%5F2Orc%5F2LLJIT%5F8h%5Fsource.html)"

Inheritance diagram for llvm::orc::LLJITBuilder:

[legend]

Additional Inherited Members
Public Types inherited from llvm::orc::LLJITBuilderState
using ObjectLinkingLayerCreator
using CompileFunctionCreator
using ProcessSymbolsJITDylibSetupFunction
using PlatformSetupFunction = unique_function<Expected<JITDylibSP>(LLJIT &J)>
using NotifyCreatedFunction = std::function<Error(LLJIT &)>
Public Member Functions inherited from llvm::orc::LLJITBuilderState
LLVM_ABI Error prepareForConstruction ()
Called prior to JIT class construcion to fix up defaults.
Public Member Functions inherited from llvm::orc::LLJITBuilderSetters< LLJIT, LLJITBuilder, LLJITBuilderState >
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.
Public Attributes inherited from llvm::orc::LLJITBuilderState
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
Protected Member Functions inherited from llvm::orc::LLJITBuilderSetters< LLJIT, LLJITBuilder, LLJITBuilderState >
LLJITBuilder & impl ()

Detailed Description

Constructs LLJIT instances.

Definition at line 511 of file LLJIT.h.


The documentation for this class was generated from the following file: