Skip to main content

Module transform

Module transform 

Source
Expand description

Passes of the dialect. transform holds the passes over TIRx functions, and function_pass builds one from a Rust closure.

Re-exports§

pub use function_pass::*;
pub use transform::*;

Modules§

function_pass
Function passes. A FunctionPass is a Pass that rewrites each TIRx function of a module on its own, given the module and the pass context.
transform
The passes of the dialect. Each function returns a Pass over the TIRx functions of a module; RemoveNoOpConfig and UnrollLoopConfig are the pass context options that configure remove_no_op and unroll_loop.