picceler
Loading...
Searching...
No Matches
picceler::IRPassManager Class Reference

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.

Detailed Description

Wrapper around MLIR PassManager to manage and run passes.

Constructor & Destructor Documentation

◆ IRPassManager()

picceler::IRPassManager::IRPassManager ( mlir::MLIRContext * context)

Constructs an IRPassManager with the given MLIR context. Also sets up the output stream and configures IR printing.

Parameters
contextThe MLIR context to use.

Member Function Documentation

◆ run()

void picceler::IRPassManager::run ( mlir::ModuleOp module)

Runs the pass manager on the given MLIR module.

Parameters
moduleThe MLIR module to run the passes on.

The documentation for this class was generated from the following files: