MLIR  20.0.0git
Namespaces | Functions
OptUtils.h File Reference
#include <functional>
#include <string>

Go to the source code of this file.

Namespaces

 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 
 mlir
 Include the generated interface declarations.
 

Functions

std::function< llvm::Error(llvm::Module *)> mlir::makeOptimizingTransformer (unsigned optLevel, unsigned sizeLevel, llvm::TargetMachine *targetMachine)
 Create a module transformer function for MLIR ExecutionEngine that runs LLVM IR passes corresponding to the given speed and size optimization levels (e.g. More...