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
Passtransforms anIRModuleunder the currentPassContext, which decides the passes that run and the instruments that observe them;ModulePasswraps a function andSequentialruns passes in order. - instrument
- Pass instruments. A
BasePassInstrumentis aPassInstrumentwhose hooks are callbacks, such as Rust closures, that aPassContextcalls around each pass.