Structs§
- Lint 🔒An adapter for
MirLint
s that implementsMirPass
.
Constants§
- Maps MIR pass names to a snake case form to match profiling naming style
Traits§
- MirLint 🔒Just like
MirPass
, except it cannot mutateBody
, and MIR dumping is disabled (via theLint
adapter). - MirPass 🔒A streamlined trait that you can implement to create a pass; the pass will be named after the type, and it will consist of a main loop that goes over each available MIR and applies
run_pass
.
Functions§
- c_name 🔒
- The optional
phase_change
is applied after executing all the passes, if present - Run the sequence of passes without validating the MIR after each pass. The MIR is still validated at the end.
- Converts a MIR pass name into a snake case form to match the profiling naming style.