18#ifndef MLIR_EXECUTIONENGINE_JITRUNNER_H
19#define MLIR_EXECUTIONENGINE_JITRUNNER_H
21#include "llvm/ADT/STLExtras.h"
22#include "llvm/ExecutionEngine/Orc/Core.h"
30class MangleAndInterner;
static llvm::ManagedStatic< PassManagerOptions > options
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Operation is the basic unit of execution within MLIR.
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.
const FrozenRewritePatternSet GreedyRewriteConfig config
int JitRunnerMain(int argc, char **argv, const DialectRegistry ®istry, JitRunnerConfig config={})
Entry point for all CPU runners.
Configuration to override functionality of the JitRunner.
llvm::function_ref< llvm::LogicalResult(mlir::Operation *, JitRunnerOptions &options)> mlirTransformer
MLIR transformer applied after parsing the input into MLIR IR and before passing the MLIR IR to the E...
llvm::function_ref< llvm::orc::SymbolMap(llvm::orc::MangleAndInterner)> runtimesymbolMap
A callback to register symbols with ExecutionEngine at runtime.
llvm::function_ref< std::unique_ptr< llvm::Module >(Operation *, llvm::LLVMContext &)> llvmModuleBuilder
A custom function that is passed to ExecutionEngine.
JitRunner command line options used by JitRunnerConfig methods.
llvm::StringRef mainFuncType
The type of the main function (as string, from cmd-line)
llvm::StringRef mainFuncName
The name of the main function.