Handbook
Glossary
rewrite-memory-op ( insn -- insn/f )
Vocabulary
compiler
.
cfg
.
value-numbering
.
alien
Inputs
insn
an
object
Outputs
insn/f
an
object
Definition
USING:
combinators
cpu.architecture
kernel
;
IN:
compiler.cfg.value-numbering.alien
:
rewrite-memory-op
( insn -- insn/f )
complex-addressing?
[
{
{
[
dup
fuse-base-offset?
]
[
fuse-base-offset
]
}
{
[
dup
fuse-displacement-offset?
]
[
fuse-displacement-offset
]
}
{
[
dup
fuse-scale?
]
[
fuse-scale
]
}
[
drop
f
]
}
cond
]
[
drop
f
]
if
;