LLVM 24.0.0git
llvm::orc::LLLazyJITBuilder Class Reference

Constructs LLLazyJIT instances. More...

#include "llvm/ExecutionEngine/Orc/LLJIT.h"

Inheritance diagram for llvm::orc::LLLazyJITBuilder:
[legend]

Additional Inherited Members

Public Types inherited from llvm::orc::LLLazyJITBuilderState
using IndirectStubsManagerBuilderFunction
Public Types inherited from llvm::orc::LLJITBuilderState
using MemoryManagerCreator
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::LLLazyJITBuilderState
LLVM_ABI Error prepareForConstruction ()
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::LLLazyJITBuilderSetters< LLLazyJIT, LLLazyJITBuilder, LLLazyJITBuilderState >
LLLazyJITBuilder & setLazyCompileFailureAddr (ExecutorAddr Addr)
 Set the address in the target address to call if a lazy compile fails.
LLLazyJITBuilder & setLazyCallthroughManager (std::unique_ptr< LazyCallThroughManager > LCTMgr)
 Set the lazy-callthrough manager.
LLLazyJITBuilder & setIndirectStubsManagerBuilder (LLLazyJITBuilderState::IndirectStubsManagerBuilderFunction ISMBuilder)
 Set the IndirectStubsManager builder function.
Public Member Functions inherited from llvm::orc::LLJITBuilderSetters< LLLazyJIT, LLLazyJITBuilder, LLLazyJITBuilderState >
LLLazyJITBuilder & setExecutorProcessControl (std::unique_ptr< ExecutorProcessControl > EPC)
 Set an ExecutorProcessControl for this instance.
LLLazyJITBuilder & setExecutionSession (std::unique_ptr< ExecutionSession > ES)
 Set an ExecutionSession for this instance.
LLLazyJITBuilder & setJITTargetMachineBuilder (JITTargetMachineBuilder JTMB)
 Set the JITTargetMachineBuilder for this instance.
std::optional< JITTargetMachineBuilder > & getJITTargetMachineBuilder ()
 Return a reference to the JITTargetMachineBuilder.
LLLazyJITBuilder & setDataLayout (std::optional< DataLayout > DL)
 Set a DataLayout for this instance.
LLLazyJITBuilder & setLinkProcessSymbolsByDefault (bool LinkProcessSymbolsByDefault)
 The LinkProcessSymbolsDyDefault flag determines whether the "Process" JITDylib will be added to the default link order at LLJIT construction time.
LLLazyJITBuilder & setMemoryManagerCreator (LLJITBuilderState::MemoryManagerCreator CreateMemoryManager)
 Set a memory manager creation function.
LLLazyJITBuilder & setProcessSymbolsJITDylibSetup (LLJITBuilderState::ProcessSymbolsJITDylibSetupFunction SetupProcessSymbolsJITDylib)
 Set a setup function for the process symbols dylib.
LLLazyJITBuilder & setObjectLinkingLayerCreator (LLJITBuilderState::ObjectLinkingLayerCreator CreateObjectLinkingLayer)
 Set an ObjectLinkingLayer creation function.
LLLazyJITBuilder & setCompileFunctionCreator (LLJITBuilderState::CompileFunctionCreator CreateCompileFunction)
 Set a CompileFunctionCreator.
LLLazyJITBuilder & setPrePlatformSetup (unique_function< Error(LLJIT &)> PrePlatformSetup)
 Set a setup function to be run just before the PlatformSetupFunction is run.
LLLazyJITBuilder & setPlatformSetUp (LLJITBuilderState::PlatformSetupFunction SetUpPlatform)
 Set up an PlatformSetupFunction.
LLLazyJITBuilder & setNotifyCreatedCallback (LLJITBuilderState::NotifyCreatedFunction Callback)
 Set up a callback after successful construction of the JIT.
LLLazyJITBuilder & setNumCompileThreads (unsigned NumCompileThreads)
 Set the number of compile threads to use.
LLLazyJITBuilder & setSupportConcurrentCompilation (std::optional< bool > SupportConcurrentCompilation)
 If set, this forces LLJIT concurrent compilation support to be either on or off.
Expected< std::unique_ptr< LLLazyJIT > > create ()
 Create an instance of the JIT.
Public Attributes inherited from llvm::orc::LLLazyJITBuilderState
Triple TT
ExecutorAddr LazyCompileFailureAddr
std::unique_ptr< LazyCallThroughManager > LCTMgr
IndirectStubsManagerBuilderFunction ISMBuilder
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
MemoryManagerCreator CreateMemoryManager
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< LLLazyJIT, LLLazyJITBuilder, LLLazyJITBuilderState >
LLLazyJITBuilder & impl ()

Detailed Description

Constructs LLLazyJIT instances.

Definition at line 600 of file LLJIT.h.


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