class ConcurrentIRCompiler

Declaration

class ConcurrentIRCompiler : public IRCompiler { /* full declaration omitted */ };

Description

A thread-safe version of SimpleCompiler. This class creates a new TargetMachine and SimpleCompiler instance for each compile.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h:82

Inherits from: IRCompileLayer::IRCompiler

Member Variables

private llvm::orc::JITTargetMachineBuilder JTMB
private llvm::ObjectCache* ObjCache = nullptr

Method Overview

Inherited from IRCompileLayer::IRCompiler:

Methods

ConcurrentIRCompiler(
    llvm::orc::JITTargetMachineBuilder JTMB,
    llvm::ObjectCache* ObjCache = nullptr)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h:84

Parameters

llvm::orc::JITTargetMachineBuilder JTMB
llvm::ObjectCache* ObjCache = nullptr

void setObjectCache(llvm::ObjectCache* ObjCache)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h:87

Parameters

llvm::ObjectCache* ObjCache