MLIR  20.0.0git
Public Attributes | List of all members
mlir::JitRunnerConfig Struct Reference

Configuration to override functionality of the JitRunner. More...

#include "mlir/ExecutionEngine/JitRunner.h"

Public Attributes

llvm::function_ref< llvm::LogicalResult(mlir::Operation *, JitRunnerOptions &options)> mlirTransformer = nullptr
 MLIR transformer applied after parsing the input into MLIR IR and before passing the MLIR IR to the ExecutionEngine. More...
 
llvm::function_ref< std::unique_ptr< llvm::Module >Operation *, llvm::LLVMContext &)> llvmModuleBuilder = nullptr
 A custom function that is passed to ExecutionEngine. More...
 
llvm::function_ref< llvm::orc::SymbolMap(llvm::orc::MangleAndInterner)> runtimesymbolMap = nullptr
 A callback to register symbols with ExecutionEngine at runtime. More...
 

Detailed Description

Configuration to override functionality of the JitRunner.

Definition at line 48 of file JitRunner.h.

Member Data Documentation

◆ llvmModuleBuilder

llvm::function_ref<std::unique_ptr<llvm::Module>Operation *, llvm::LLVMContext &)> mlir::JitRunnerConfig::llvmModuleBuilder = nullptr

A custom function that is passed to ExecutionEngine.

It processes MLIR and creates an LLVM IR module.

Definition at line 59 of file JitRunner.h.

◆ mlirTransformer

llvm::function_ref<llvm::LogicalResult(mlir::Operation *, JitRunnerOptions &options)> mlir::JitRunnerConfig::mlirTransformer = nullptr

MLIR transformer applied after parsing the input into MLIR IR and before passing the MLIR IR to the ExecutionEngine.

Definition at line 53 of file JitRunner.h.

◆ runtimesymbolMap

llvm::function_ref<llvm::orc::SymbolMap(llvm::orc::MangleAndInterner)> mlir::JitRunnerConfig::runtimesymbolMap = nullptr

A callback to register symbols with ExecutionEngine at runtime.

Definition at line 63 of file JitRunner.h.


The documentation for this struct was generated from the following file: