Handbook
Glossary
record-def ( vreg n spill-slot? -- )
Live interval utilities
Prev:
compute-live-intervals* ( insn -- )
Next:
record-use ( vreg n spill-slot? -- )
Vocabulary
compiler
.
cfg
.
linear-scan
.
live-intervals
Inputs
vreg
an
integer
n
an
integer
spill-slot?
a
boolean
Outputs
None
Word description
Records that the 'vreg' is defined at the instruction numbered 'n'.
Definition
USING:
accessors
compiler.cfg.linear-scan.ranges
compiler.cfg.registers
kernel
;
IN:
compiler.cfg.linear-scan.live-intervals
::
record-def
( vreg n spill-slot? -- )
vreg
vreg>live-interval
:>
live-interval n live-interval
ranges>>
shorten-ranges
n live-interval spill-slot?
(add-use)
vreg
rep-of
>>def-rep
drop
;