Handbook
Glossary
edge-next-use ( from to entries -- distances )
Vocabulary
compiler
.
cfg
.
register-allocation
.
chordal
.
spilling
.
next-use
Inputs
from
an
object
to
an
object
entries
an
object
Outputs
distances
an
object
Definition
USING:
accessors
assocs
compiler.cfg.instructions
kernel
sequences
;
IN:
compiler.cfg.register-allocation.chordal.spilling.next-use
::
edge-next-use
( from to entries -- distances )
to entries
at
clone
:>
distances to
instructions>>
[
##phi?
]
filter
[|
phi | from phi
inputs>>
at
0
swap
distances
set-at
]
each
distances
;