Handbook
Glossary
linear-scan ( cfg -- )
Linear-scan register allocation
Vocabulary
compiler
.
cfg
.
linear-scan
Inputs
cfg
a
cfg
Outputs
None
Word description
Entry point for the linear scan register allocation pass.
Definition
USING:
compiler.cfg.linear-scan.numbering
compiler.cfg.linear-scan.resolve
compiler.cfg.utilities
;
IN:
compiler.cfg.linear-scan
:
linear-scan
( cfg -- )
{
number-instructions
allocate-and-assign-registers
resolve-data-flow
check-numbering
}
apply-passes
;