Handbook
Glossary
split-for-spill ( live-interval n -- before/f after/f )
Spill slot assignment
Next:
first-use-rep ( live-interval -- rep/f )
Vocabulary
compiler
.
cfg
.
linear-scan
.
allocation
.
spilling
Inputs
live-interval
a
live-interval-state
n
an
integer
Outputs
before/f
a
live-interval-state
or
f
after/f
a
live-interval-state
or
f
Word description
During register allocation an interval needs to be split so that the 'after' part of it can be placed in a spill slot.
Definition
USING:
compiler.cfg.linear-scan.allocation.splitting
kernel
;
IN:
compiler.cfg.linear-scan.allocation.spilling
:
split-for-spill
( live-interval n -- before/f after/f )
split-interval
[
spill-before
]
[
spill-after
]
bi*
;