LLVM  11.0.0git
Public Member Functions | List of all members
llvm::orc::LLLazyJITBuilderSetters< JITType, SetterImpl, State > Class Template Reference

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

Inheritance diagram for llvm::orc::LLLazyJITBuilderSetters< JITType, SetterImpl, State >:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::LLLazyJITBuilderSetters< JITType, SetterImpl, State >:
Collaboration graph
[legend]

Public Member Functions

SetterImpl & setLazyCompileFailureAddr (JITTargetAddress Addr)
 Set the address in the target address to call if a lazy compile fails. More...
 
SetterImpl & setLazyCallthroughManager (std::unique_ptr< LazyCallThroughManager > LCTMgr)
 Set the lazy-callthrough manager. More...
 
SetterImpl & setIndirectStubsManagerBuilder (LLLazyJITBuilderState::IndirectStubsManagerBuilderFunction ISMBuilder)
 Set the IndirectStubsManager builder function. More...
 
- Public Member Functions inherited from llvm::orc::LLJITBuilderSetters< JITType, SetterImpl, State >
SetterImpl & setExecutionSession (std::unique_ptr< ExecutionSession > ES)
 Set an ExecutionSession for this instance. More...
 
SetterImpl & setJITTargetMachineBuilder (JITTargetMachineBuilder JTMB)
 Set the JITTargetMachineBuilder for this instance. More...
 
Optional< JITTargetMachineBuilder > & getJITTargetMachineBuilder ()
 Return a reference to the JITTargetMachineBuilder. More...
 
SetterImpl & setDataLayout (Optional< DataLayout > DL)
 Set a DataLayout for this instance. More...
 
SetterImpl & setObjectLinkingLayerCreator (LLJITBuilderState::ObjectLinkingLayerCreator CreateObjectLinkingLayer)
 Set an ObjectLinkingLayer creation function. More...
 
SetterImpl & setCompileFunctionCreator (LLJITBuilderState::CompileFunctionCreator CreateCompileFunction)
 Set a CompileFunctionCreator. More...
 
SetterImpl & setPlatformSetUp (LLJITBuilderState::PlatformSetupFunction SetUpPlatform)
 Set up an PlatformSetupFunction. 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...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::orc::LLJITBuilderSetters< JITType, SetterImpl, State >
SetterImpl & impl ()
 

Detailed Description

template<typename JITType, typename SetterImpl, typename State>
class llvm::orc::LLLazyJITBuilderSetters< JITType, SetterImpl, State >

Definition at line 394 of file LLJIT.h.

Member Function Documentation

◆ setIndirectStubsManagerBuilder()

template<typename JITType, typename SetterImpl, typename State>
SetterImpl& llvm::orc::LLLazyJITBuilderSetters< JITType, SetterImpl, State >::setIndirectStubsManagerBuilder ( LLLazyJITBuilderState::IndirectStubsManagerBuilderFunction  ISMBuilder)
inline

Set the IndirectStubsManager builder function.

If this method is not called then a default, in-process IndirectStubsManager builder for the host platform will be used.

Definition at line 419 of file LLJIT.h.

◆ setLazyCallthroughManager()

template<typename JITType, typename SetterImpl, typename State>
SetterImpl& llvm::orc::LLLazyJITBuilderSetters< JITType, SetterImpl, State >::setLazyCallthroughManager ( std::unique_ptr< LazyCallThroughManager LCTMgr)
inline

Set the lazy-callthrough manager.

If this method is not called then a default, in-process lazy callthrough manager for the host platform will be used.

Definition at line 410 of file LLJIT.h.

◆ setLazyCompileFailureAddr()

template<typename JITType, typename SetterImpl, typename State>
SetterImpl& llvm::orc::LLLazyJITBuilderSetters< JITType, SetterImpl, State >::setLazyCompileFailureAddr ( JITTargetAddress  Addr)
inline

Set the address in the target address to call if a lazy compile fails.

If this method is not called then the value will default to 0.

Definition at line 400 of file LLJIT.h.


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