SSA register coloring pass.

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.
This commit is contained in:
Jakob Stoklund Olesen
2017-02-15 13:26:52 -08:00
parent 2ec7412a81
commit 329e51ac4f
3 changed files with 339 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ pub enum ConstraintKind {
}
/// Constraints for an encoding recipe.
#[derive(Clone)]
pub struct RecipeConstraints {
/// Constraints for the instruction's fixed value operands.
///