Module cranelift_codegen::ir::layout
source · 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§
- Iterate over blocks in layout order. See crate::ir::layout::Layout::blocks.
- Iterate over instructions in a block in layout order. See
Layout::block_insts()
. - The
Layout
struct determines the layout of blocks and instructions in a function. It does not contain definitions of instructions or blocks, but depends onInst
andBlock
entity references being defined elsewhere.