Handbook
Glossary
simplify-slot-addressing ( insn -- insn/f )
Vocabulary
compiler
.
cfg
.
value-numbering
.
slots
Inputs
insn
an
object
Outputs
insn/f
an
object
Definition
USING:
accessors
compiler.cfg.value-numbering.graph
kernel
math
;
IN:
compiler.cfg.value-numbering.slots
:
simplify-slot-addressing
( insn -- insn/f )
dup
simplify-slot-addressing?
[
dup
slot>>
vreg>insn
[
src1>>
>>slot
]
[
src2>>
over
scale>>
[
shift
-
]
2curry
change-tag
]
bi
]
[
drop
f
]
if
;