Skip to main content Module regalloc Copy item path Source pub use LocalRegisterAllocator as RegisterAllocator;pub use LocalRegisterAllocatorDyn as RegisterAllocatorDyn;GraphColorAllocator Greedy graph-coloring register allocator (interference graph from live intervals). LinearScanAllocator Classic linear scan register allocator (Poletto & Sarkar, 1999). LiveInterval Live interval: the range [start, end] of instruction indices (0-based,
counting sequentially across all blocks in program order) during which
vreg must be kept alive. Allocation Result of allocating a virtual register: either a physical register or a
stack spill slot (byte offset from the frame base pointer). PhysRegHandle Opaque handle that allows dynamic dispatch over register allocators without
leaking architecture-specific physical register types. LocalRegisterAllocator Target-facing interface for MIR register allocation (per-function/incremental). LocalRegisterAllocatorDyn Object-safe wrapper around LocalRegisterAllocator permitting dynamic dispatch
via dyn LocalRegisterAllocatorDyn. PhysRegConvertible Conversion helpers that allow a concrete physical register type to be
converted to/from a PhysRegHandle for dynamic dispatch. intervals_interfere Interference check for live intervals: overlap on the global instruction index line.