Handbook
Glossary
##replace-imm
Basic block instructions
Prev:
##replace
Next:
##spill
Vocabulary
compiler
.
cfg
.
instructions
Class description
An instruction that replaces an item on the data or register stack with an
immediate
value. The
value-numbering
compiler optimization pass can sometimes rewrite
##replace
instructions to ##replace-imm's.
See also
##replace
Definition
IN:
compiler.cfg.instructions
TUPLE:
##replace-imm
<
insn
src loc insn#
;
Methods
USING:
accessors
compiler.cfg.instructions
compiler.codegen
cpu.architecture
kernel
;
M:
##replace-imm
generate-insn
[
src>>
]
keep
[
loc>>
]
keep
drop
%replace-imm
;
USING:
compiler.cfg.instructions
compiler.cfg.stacks.padding
;
M:
##replace-imm
visit-insn
live-location
;