Skip to main content

Module transform

Module transform 

Source
Expand description

Pass infrastructure. A Pass transforms an IRModule under the current PassContext, whose instruments observe each pass it runs.

Re-exports§

pub use core::*;
pub use instrument::*;

Modules§

core
Passes. A Pass transforms an IRModule under the current PassContext, which decides the passes that run and the instruments that observe them; ModulePass wraps a function and Sequential runs passes in order.
instrument
Pass instruments. A BasePassInstrument is a PassInstrument whose hooks are callbacks, such as Rust closures, that a PassContext calls around each pass.