LLVM 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::orc::LLJITBuilderState Class Reference

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

Inheritance diagram for llvm::orc::LLJITBuilderState:
Inheritance graph
[legend]

Public Types

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 &)>
 

Public Member Functions

Error prepareForConstruction ()
 Called prior to JIT class construcion to fix up defaults.
 

Public Attributes

std::unique_ptr< ExecutorProcessControlEPC
 
std::unique_ptr< ExecutionSessionES
 
std::optional< JITTargetMachineBuilderJTMB
 
std::optional< DataLayoutDL
 
bool LinkProcessSymbolsByDefault = true
 
ProcessSymbolsJITDylibSetupFunction SetupProcessSymbolsJITDylib
 
ObjectLinkingLayerCreator CreateObjectLinkingLayer
 
CompileFunctionCreator CreateCompileFunction
 
unique_function< Error(LLJIT &)> PrePlatformSetup
 
PlatformSetupFunction SetUpPlatform
 
NotifyCreatedFunction NotifyCreated
 
unsigned NumCompileThreads = 0
 
std::optional< boolSupportConcurrentCompilation
 

Detailed Description

Definition at line 298 of file LLJIT.h.

Member Typedef Documentation

◆ CompileFunctionCreator

Definition at line 304 of file LLJIT.h.

◆ NotifyCreatedFunction

Definition at line 313 of file LLJIT.h.

◆ ObjectLinkingLayerCreator

Definition at line 300 of file LLJIT.h.

◆ PlatformSetupFunction

Definition at line 311 of file LLJIT.h.

◆ ProcessSymbolsJITDylibSetupFunction

Definition at line 308 of file LLJIT.h.

Member Function Documentation

◆ prepareForConstruction()

Error llvm::orc::LLJITBuilderState::prepareForConstruction ( )

Member Data Documentation

◆ CreateCompileFunction

CompileFunctionCreator llvm::orc::LLJITBuilderState::CreateCompileFunction

Definition at line 322 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::createCompileFunction().

◆ CreateObjectLinkingLayer

ObjectLinkingLayerCreator llvm::orc::LLJITBuilderState::CreateObjectLinkingLayer

Definition at line 321 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::createObjectLinkingLayer().

◆ DL

std::optional<DataLayout> llvm::orc::LLJITBuilderState::DL

Definition at line 318 of file LLJIT.h.

◆ EPC

std::unique_ptr<ExecutorProcessControl> llvm::orc::LLJITBuilderState::EPC

Definition at line 315 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::LLJIT().

◆ ES

std::unique_ptr<ExecutionSession> llvm::orc::LLJITBuilderState::ES

Definition at line 316 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::LLJIT().

◆ JTMB

std::optional<JITTargetMachineBuilder> llvm::orc::LLJITBuilderState::JTMB

◆ LinkProcessSymbolsByDefault

bool llvm::orc::LLJITBuilderState::LinkProcessSymbolsByDefault = true

Definition at line 319 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::LLJIT().

◆ NotifyCreated

NotifyCreatedFunction llvm::orc::LLJITBuilderState::NotifyCreated

Definition at line 325 of file LLJIT.h.

◆ NumCompileThreads

unsigned llvm::orc::LLJITBuilderState::NumCompileThreads = 0

Definition at line 326 of file LLJIT.h.

◆ PrePlatformSetup

unique_function<Error(LLJIT &)> llvm::orc::LLJITBuilderState::PrePlatformSetup

Definition at line 323 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::LLJIT().

◆ SetUpPlatform

PlatformSetupFunction llvm::orc::LLJITBuilderState::SetUpPlatform

Definition at line 324 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::LLJIT().

◆ SetupProcessSymbolsJITDylib

ProcessSymbolsJITDylibSetupFunction llvm::orc::LLJITBuilderState::SetupProcessSymbolsJITDylib

Definition at line 320 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::LLJIT().

◆ SupportConcurrentCompilation

std::optional<bool> llvm::orc::LLJITBuilderState::SupportConcurrentCompilation

Definition at line 327 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::createCompileFunction(), and llvm::orc::LLJIT::LLJIT().


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