This is a bare-bones outline of the SSA coloring pass. Many features are missing, including: - Handling instruction operand constraints beyond simple register classes. - Handling ABI requirements for function arguments and return values. - Generating shuffle code for EBB arguments.
12 lines
239 B
Rust
12 lines
239 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;
|