|
picceler
|
Wrapper around MLIR PassManager to manage and run passes. More...
#include <pass_manager.h>
Public Member Functions | |
| IRPassManager (mlir::MLIRContext *context) | |
| Constructs an IRPassManager with the given MLIR context. Also sets up the output stream and configures IR printing. | |
| void | run (mlir::ModuleOp module) |
| Runs the pass manager on the given MLIR module. | |
Wrapper around MLIR PassManager to manage and run passes.
| picceler::IRPassManager::IRPassManager | ( | mlir::MLIRContext * | context | ) |
Constructs an IRPassManager with the given MLIR context. Also sets up the output stream and configures IR printing.
| context | The MLIR context to use. |
| void picceler::IRPassManager::run | ( | mlir::ModuleOp | module | ) |
Runs the pass manager on the given MLIR module.
| module | The MLIR module to run the passes on. |