Expand description
These two passes provide no value to the compiler, so are off at every level.
However, they can be enabled on the command line
(-Zmir-enable-passes=+ReorderBasicBlocks,+ReorderLocals)
to make the MIR easier to read for humans.
Re-exportsยง
use rustc_index::bit_set::DenseBitSet;๐use rustc_index::IndexSlice;๐use rustc_index::IndexVec;๐use rustc_middle::mir::visit::MutVisitor;๐use rustc_middle::mir::visit::PlaceContext;๐use rustc_middle::mir::visit::Visitor;๐use rustc_middle::ty::TyCtxt;๐use crate::PassPolicy;๐use rustc_middle::mir::*;๐
Structsยง
- Basic
Block ๐Updater - Local
Finder ๐ - Local
Updater ๐ - Reorder
Basic ๐Blocks - Rearranges the basic blocks into a reverse post-order.
- Reorder
Locals ๐ - Rearranges the locals into use order.
Functionsยง
- permute ๐