Expand description
Function layout.
The order of basic blocks in a function and the order of instructions in a block is
determined by the Layout data structure defined in this module.
Structsยง
- Blocks
- Iterate over blocks in layout order. See crate::ir::layout::Layout::blocks.
- Insts
- Iterate over instructions in a block in layout order. See
Layout::block_insts(). - Layout
- The
Layoutstruct determines the layout of blocks and instructions in a function. It does not contain definitions of instructions or blocks, but depends onInstandBlockentity references being defined elsewhere.