Module rustc_mir::transform [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

Modules

add_call_guards [
Experimental
]
copy_prop [
Experimental
]

Trivial copy propagation pass.

deaggregator [
Experimental
]
dump_mir [
Experimental
]

This pass just dumps MIR at a specified point.

erase_regions [
Experimental
]

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.

inline [
Experimental
]

Inlining pass for MIR functions

instcombine [
Experimental
]

Performs various peephole optimizations.

no_landing_pads [
Experimental
]

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

promote_consts [
Experimental
]

A pass that promotes borrows of constant rvalues.

qualify_consts [
Experimental
]

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

simplify [
Experimental
]

A number of passes which remove various redundancies in the CFG.

simplify_branches [
Experimental
]

A pass that simplifies branches when their condition is known.

type_check [
Experimental
]

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