Handbook
Glossary
out-vregs/stack ( #shuffle -- pair )
Final stage of compilation generates machine code from dataflow IR
Prev:
height-changes ( #shuffle -- height-changes )
Vocabulary
compiler
.
cfg
.
builder
Inputs
#shuffle
a
#shuffle
Outputs
pair
a
sequence
Word description
Returns a sequence of what vregs are on which stack locations after the shuffle instruction.
Definition
USING:
accessors
assocs
compiler.cfg.stacks.local
kernel
sequences
;
IN:
compiler.cfg.builder
:
out-vregs/stack
( #shuffle -- pair )
[
make-input-map
]
[
mapping>>
]
[
extract-outputs
]
tri
[
[
of
of
peek-loc
]
2with
map
]
2with
map
;