LLVM  10.0.0svn
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
Collaboration diagram for llvm::orc::LLJITBuilderState:
Collaboration graph

Public Types

using ObjectLinkingLayerCreator = std::function< std::unique_ptr< ObjectLayer >(ExecutionSession &, const Triple &TT)>
using CompileFunctionCreator = std::function< Expected< IRCompileLayer::CompileFunction >(JITTargetMachineBuilder JTMB)>

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 185 of file LLJIT.h.

Member Typedef Documentation

◆ CompileFunctionCreator

Definition at line 192 of file LLJIT.h.

◆ ObjectLinkingLayerCreator

Definition at line 188 of file LLJIT.h.

Member Function Documentation

◆ prepareForConstruction()

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

Called prior to JIT class construcion to fix up defaults.

Definition at line 18 of file LLJIT.cpp.

References llvm::orc::JITTargetMachineBuilder::detectHost(), JTMB, and llvm::Error::success().

Member Data Documentation

◆ CreateCompileFunction

CompileFunctionCreator llvm::orc::LLJITBuilderState::CreateCompileFunction

Definition at line 197 of file LLJIT.h.

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

◆ CreateObjectLinkingLayer

ObjectLinkingLayerCreator llvm::orc::LLJITBuilderState::CreateObjectLinkingLayer

Definition at line 196 of file LLJIT.h.

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

◆ ES

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


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

Definition at line 195 of file LLJIT.h.

Referenced by llvm::orc::LLJIT::createObjectLinkingLayer(), and prepareForConstruction().

◆ NumCompileThreads

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

Definition at line 198 of file LLJIT.h.

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

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