This gives the target ISA a chance to reserve registers like the stack pointer or hard-wired 0 registers like %x0 on RISC-V.
16 lines
332 B
Rust
16 lines
332 B
Rust
//! Register allocation.
|
|
//!
|
|
//! This module contains data structures and algorithms used for register allocation.
|
|
|
|
pub mod liverange;
|
|
pub mod liveness;
|
|
pub mod allocatable_set;
|
|
pub mod live_value_tracker;
|
|
pub mod coloring;
|
|
|
|
mod affinity;
|
|
mod context;
|
|
|
|
pub use self::allocatable_set::AllocatableSet;
|
|
pub use self::context::Context;
|