Handbook
Glossary
memory-name ( value -- name )
Vocabulary
compiler
.
cfg
.
register-allocation
.
chordal
.
spilling
Inputs
value
an
object
Outputs
name
an
object
Definition
USING:
assocs
compiler.cfg.linear-scan.allocation.state
compiler.cfg.register-allocation.rematerialization
compiler.cfg.registers
kernel
namespaces
;
IN:
compiler.cfg.register-allocation.chordal.spilling
::
memory-name
( value -- name )
value
spill-homes
get
[
drop
value
rep-of
next-vreg-rep
:>
name value
rematerialization-of
[
]
[
name name
rep-of
assign-spill-slot
]
if*
name
spill-memory-locations
get
set-at
name
]
cache
;