14 #ifndef MLIR_EXECUTIONENGINE_OPTUTILS_H
15 #define MLIR_EXECUTIONENGINE_OPTUTILS_H
33 std::function<llvm::Error(llvm::Module *)>
35 llvm::TargetMachine *targetMachine);
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.
std::function< llvm::Error(llvm::Module *)> makeOptimizingTransformer(unsigned optLevel, unsigned sizeLevel, llvm::TargetMachine *targetMachine)
Create a module transformer function for MLIR ExecutionEngine that runs LLVM IR passes corresponding ...