MLIR  16.0.0git
Namespaces | Functions
OptUtils.h File Reference
#include <functional>
#include <string>
+ Include dependency graph for OptUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 Include the generated interface declarations.
 
 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...