Skip to main content

linear_scan

Function linear_scan 

Source
pub fn linear_scan(
    intervals: &[LiveInterval],
    allocatable: &[PReg],
) -> RegAllocResult
Expand description

Run linear-scan allocation over intervals using allocatable registers.

Spilled VRegs are recorded in RegAllocResult::spilled.