Handbook
Glossary
allocate-and-assign-registers ( cfg -- )
Vocabulary
compiler
.
cfg
.
linear-scan
Inputs
cfg
a
cfg
Outputs
None
Word description
Allocates and assigns registers and spill slots to SSA values in the cfg.
Definition
USING:
compiler.cfg.linear-scan.allocation
compiler.cfg.linear-scan.assignment
compiler.cfg.linear-scan.live-intervals
kernel
;
IN:
compiler.cfg.linear-scan
:
allocate-and-assign-registers
( cfg -- )
[
]
[
compute-live-intervals
]
[
admissible-registers
]
tri
allocate-registers
assign-registers
;