LLVM  11.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< std::unique_ptr< ObjectLayer >(ExecutionSession &, const Triple &TT)>
 
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. More...
 

Public Attributes

std::unique_ptr< ExecutionSessionES
 
Optional< JITTargetMachineBuilderJTMB
 
Optional< DataLayoutDL
 
ObjectLinkingLayerCreator CreateObjectLinkingLayer
 
CompileFunctionCreator CreateCompileFunction
 
PlatformSetupFunction SetUpPlatform
 
unsigned NumCompileThreads = 0
 

Detailed Description

Definition at line 257 of file LLJIT.h.

Member Typedef Documentation

◆ CompileFunctionCreator

Definition at line 264 of file LLJIT.h.

◆ ObjectLinkingLayerCreator

Definition at line 260 of file LLJIT.h.

◆ PlatformSetupFunction

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

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

◆ CreateObjectLinkingLayer

ObjectLinkingLayerCreator llvm::orc::LLJITBuilderState::CreateObjectLinkingLayer

Definition at line 271 of file LLJIT.h.

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

◆ DL

Optional<DataLayout> llvm::orc::LLJITBuilderState::DL

Definition at line 270 of file LLJIT.h.

◆ ES

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

Definition at line 268 of file LLJIT.h.

◆ JTMB

Optional<JITTargetMachineBuilder> llvm::orc::LLJITBuilderState::JTMB

Definition at line 269 of file LLJIT.h.

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

◆ NumCompileThreads

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

Definition at line 274 of file LLJIT.h.

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

◆ SetUpPlatform

PlatformSetupFunction llvm::orc::LLJITBuilderState::SetUpPlatform

Definition at line 273 of file LLJIT.h.


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