Handbook
Glossary
##store-memory
Vocabulary
compiler
.
cfg
.
instructions
Definition
IN:
compiler.cfg.instructions
TUPLE:
##store-memory
<
vreg-insn
src base displacement scale offset rep c-type insn#
;
Methods
USING:
accessors
compiler.cfg.gvn.avail
compiler.cfg.instructions
kernel
;
M:
##store-memory
>avail-insn-uses
[
dup
>avail-vreg
or*
]
change-src
[
dup
>avail-vreg
or*
]
change-base
[
dup
>avail-vreg
or*
]
change-displacement
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.linear-scan.assignment
kernel
;
M:
##store-memory
assign-insn-uses
[
vreg>reg
]
change-src
[
vreg>reg
]
change-base
[
vreg>reg
]
change-displacement
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.representations.rewrite
kernel
;
M:
##store-memory
convert-insn-uses
[
converted-value
]
change-src
[
converted-value
]
change-base
[
converted-value
]
change-displacement
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.codegen
cpu.architecture
kernel
;
M:
##store-memory
generate-insn
[
src>>
]
keep
[
base>>
]
keep
[
displacement>>
]
keep
[
scale>>
]
keep
[
offset>>
]
keep
[
rep>>
]
keep
[
c-type>>
]
keep
drop
%store-memory
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.renaming
kernel
;
M:
##store-memory
rename-insn-uses
[
rename-value
]
change-src
[
rename-value
]
change-base
[
rename-value
]
change-displacement
drop
;
USING:
compiler.cfg.gvn.alien
compiler.cfg.gvn.rewrite
compiler.cfg.instructions
;
M:
##store-memory
rewrite
rewrite-memory-op
;
USING:
compiler.cfg.instructions
compiler.cfg.value-numbering.alien
compiler.cfg.value-numbering.rewrite
;
M:
##store-memory
rewrite
rewrite-memory-op
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.construction.private
kernel
;
M:
##store-memory
ssa-rename-insn-uses
[
top-name
]
change-src
[
top-name
]
change-base
[
top-name
]
change-displacement
drop
;
USING:
accessors
combinators
compiler.cfg.instructions
compiler.cfg.representations.preferred
cpu.architecture
kernel
sequences.generalizations
;
M:
##store-memory
uses-vreg-reps
{
[
rep>>
]
[
drop
int-rep
]
[
drop
int-rep
]
}
cleave
3
narray
;
USING:
accessors
combinators
compiler.cfg.def-use
compiler.cfg.instructions
sequences.generalizations
;
M:
##store-memory
uses-vregs
{
[
src>>
]
[
base>>
]
[
displacement>>
]
}
cleave
3
narray
;