Handbook
Glossary
compute-phase-ssa-block ( bb -- )
Vocabulary
compiler
.
cfg
.
register-allocation
.
ssa
.
phases
Inputs
bb
an
object
Outputs
None
Definition
USING:
accessors
assocs
compiler.cfg.instructions
compiler.cfg.linear-scan.live-intervals
compiler.cfg.register-allocation.ssa
kernel
math
namespaces
sequences
;
IN:
compiler.cfg.register-allocation.ssa.phases
::
compute-phase-ssa-block
( bb -- )
bb
phase-block-from
from
set
bb
block-to
1
+
to
set
bb
handle-live-out
bb
instructions>>
<reversed>
[
dup
##phi?
[
dst>>
from
get
over
phi-entry-positions
get
set-at
from
get
t
record-def
]
[
compute-phase-insn-intervals
]
if
]
each
;