Handbook
Glossary
evaluate-compare-imm ( insn -- ? )
Vocabulary
compiler
.
cfg
.
value-numbering
.
comparisons
Inputs
insn
an
object
Outputs
?
an
object
Definition
USING:
accessors
combinators
compiler.cfg.comparisons
compiler.cfg.value-numbering.rewrite
kernel
;
IN:
compiler.cfg.value-numbering.comparisons
:
evaluate-compare-imm
( insn -- ? )
[
src1>>
vreg>literal
]
[
src2>>
]
[
cc>>
]
tri
{
{
cc=
[
eq?
]
}
{
cc/=
[
eq?
not
]
}
}
case
;