Skip to main content

Module live_range

Module live_range 

Source
Expand description

Live range computation for virtual registers.

Computes the program points where each virtual register is live, represented as intervals over instruction indices in the flat LIR.

Structs§

LiveRange
A live range interval [start, end) for a virtual register.

Functions§

collect_vregs
Collect all virtual registers used in the instruction sequence.
compute_live_ranges
Compute live ranges for all virtual registers in a LIR instruction sequence.