Module rustc_mir::transform [] [src]

Unstable (rustc_private)

Modules

break_cleanup_edges [Unstable]
erase_regions [Unstable]

This pass erases all early-bound regions from the types occuring in the MIR. We want to do this once just before trans, so trans does not have to take care erasing regions all over the place.

no_landing_pads [Unstable]

This pass removes the unwind branch of all the terminators when the no-landing-pads option is specified.

promote_consts [Unstable]

A pass that promotes borrows of constant rvalues.

qualify_consts [Unstable]

A pass that qualifies constness of temporaries in constants, static initializers and functions and also drives promotion.

remove_dead_blocks [Unstable]

A pass that erases the contents of dead blocks. This pass must run before any analysis passes because some of the dead blocks can be ill-typed.

simplify_cfg [Unstable]
type_check [Unstable]

This pass type-checks the MIR to ensure it is not broken.