Module prettify

Source
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.

Structsยง

BasicBlockUpdater ๐Ÿ”’
LocalFinder ๐Ÿ”’
LocalUpdater ๐Ÿ”’
ReorderBasicBlocks ๐Ÿ”’
Rearranges the basic blocks into a reverse post-order.
ReorderLocals ๐Ÿ”’
Rearranges the locals into use order.

Functionsยง

permute ๐Ÿ”’