Handbook
Glossary
simplify ( insn -- insn' )
Vocabulary
compiler
.
cfg
.
gvn
Inputs
insn
an
object
Outputs
insn'
an
object
Definition
IN:
compiler.cfg.gvn
GENERIC:
simplify
( insn -- insn' )
Methods
USING:
compiler.cfg.gvn
compiler.cfg.instructions
;
M:
##copy
simplify
;
USING:
arrays
compiler.cfg.gvn
sequences
;
M:
array
simplify
[
simplify
]
map
;
USING:
compiler.cfg.gvn
compiler.cfg.gvn.avail
compiler.cfg.gvn.rewrite
compiler.cfg.instructions
kernel
;
M:
insn
simplify
[
rewrite
]
[
simplify
]
[
dup
>avail-insn-uses
]
?if
;