Handbook
Glossary
vreg-immediate-arithmetic? ( vreg -- ? )
Vocabulary
compiler
.
cfg
.
value-numbering
.
rewrite
Inputs
vreg
vreg
Outputs
?
a
boolean
Word description
Checks if the 'vreg' is an immediate value in
fixnum
range.
Definition
USING:
accessors
combinators.short-circuit
compiler.cfg.instructions
compiler.cfg.value-numbering.graph
cpu.architecture
;
IN:
compiler.cfg.value-numbering.rewrite
:
vreg-immediate-arithmetic?
( vreg -- ? )
vreg>insn
{
[
##load-integer?
]
[
val>>
immediate-arithmetic?
]
}
1&&
;