Handbook
Glossary
unary-constant-fold* ( x insn -- y )
Vocabulary
compiler
.
cfg
.
value-numbering
.
folding
Inputs
x
an
object
insn
an
object
Outputs
y
an
object
Definition
IN:
compiler.cfg.value-numbering.folding
GENERIC:
unary-constant-fold*
( x insn -- y )
Methods
USING:
compiler.cfg.instructions
compiler.cfg.value-numbering.folding
kernel
math
;
M:
##neg
unary-constant-fold*
drop
neg
;
USING:
compiler.cfg.instructions
compiler.cfg.value-numbering.folding
kernel
math
;
M:
##not
unary-constant-fold*
drop
bitnot
;