LLVM 17.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]
Collaboration diagram for llvm::orc::LLJITBuilderState:
Collaboration 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 PlatformSetupFunction = std::function< Error(LLJIT &J)>
 

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
 
ObjectLinkingLayerCreator CreateObjectLinkingLayer
 
CompileFunctionCreator CreateCompileFunction
 
PlatformSetupFunction SetUpPlatform
 
unsigned NumCompileThreads = 0
 

Detailed Description

Definition at line 251 of file LLJIT.h.

Member Typedef Documentation

◆ CompileFunctionCreator

Definition at line 257 of file LLJIT.h.

◆ ObjectLinkingLayerCreator

Definition at line 253 of file LLJIT.h.

◆ PlatformSetupFunction

Definition at line 261 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 268 of file LLJIT.h.

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

◆ CreateObjectLinkingLayer

ObjectLinkingLayerCreator llvm::orc::LLJITBuilderState::CreateObjectLinkingLayer

Definition at line 267 of file LLJIT.h.

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

◆ DL

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

Definition at line 266 of file LLJIT.h.

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

◆ EPC

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

Definition at line 263 of file LLJIT.h.

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

◆ ES

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

Definition at line 264 of file LLJIT.h.

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

◆ JTMB

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

◆ NumCompileThreads

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

Definition at line 270 of file LLJIT.h.

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

◆ SetUpPlatform

PlatformSetupFunction llvm::orc::LLJITBuilderState::SetUpPlatform

Definition at line 269 of file LLJIT.h.

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


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