Handbook
Glossary
##shr-vector-imm
Vocabulary
compiler
.
cfg
.
instructions
Definition
IN:
compiler.cfg.instructions
TUPLE:
##shr-vector-imm
<
foldable-insn
dst src1 src2 rep insn#
;
Methods
USING:
accessors
compiler.cfg.gvn.avail
compiler.cfg.instructions
kernel
;
M:
##shr-vector-imm
>avail-insn-defs
[
]
change-dst
drop
;
USING:
accessors
compiler.cfg.gvn.avail
compiler.cfg.instructions
kernel
;
M:
##shr-vector-imm
>avail-insn-uses
[
dup
>avail-vreg
or*
]
change-src1
drop
;
USING:
accessors
arrays
compiler.cfg.gvn.expressions
compiler.cfg.gvn.graph
compiler.cfg.instructions
kernel
sequences.private
;
M:
##shr-vector-imm
>expr
\
##shr-vector-imm
swap
[
src1>>
vreg>vn
]
keep
[
src2>>
]
keep
[
rep>>
]
keep
drop
4
f
<array>
3
swap
[
set-array-nth
]
keep
2
swap
[
set-array-nth
]
keep
1
swap
[
set-array-nth
]
keep
0
swap
[
set-array-nth
]
keep
;
USING:
accessors
arrays
compiler.cfg.instructions
compiler.cfg.value-numbering.expressions
compiler.cfg.value-numbering.graph
kernel
sequences.private
;
M:
##shr-vector-imm
>expr
\
##shr-vector-imm
swap
[
src1>>
vreg>vn
]
keep
[
src2>>
]
keep
[
rep>>
]
keep
drop
4
f
<array>
3
swap
[
set-array-nth
]
keep
2
swap
[
set-array-nth
]
keep
1
swap
[
set-array-nth
]
keep
0
swap
[
set-array-nth
]
keep
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.linear-scan.assignment
kernel
;
M:
##shr-vector-imm
assign-insn-defs
[
vreg>reg
]
change-dst
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.linear-scan.assignment
kernel
;
M:
##shr-vector-imm
assign-insn-uses
[
vreg>reg
]
change-src1
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.representations.rewrite
kernel
;
M:
##shr-vector-imm
convert-insn-defs
[
converted-value
]
change-dst
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.representations.rewrite
kernel
;
M:
##shr-vector-imm
convert-insn-uses
[
converted-value
]
change-src1
drop
;
USING:
accessors
arrays
compiler.cfg.instructions
compiler.cfg.representations.preferred
;
M:
##shr-vector-imm
defs-vreg-reps
rep>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##shr-vector-imm
defs-vregs
dst>>
1array
;
USING:
accessors
compiler.cfg.instructions
compiler.codegen
cpu.architecture
kernel
;
M:
##shr-vector-imm
generate-insn
[
dst>>
]
keep
[
src1>>
]
keep
[
src2>>
]
keep
[
rep>>
]
keep
drop
%shr-vector-imm
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.intrinsics.simd.backend
cpu.architecture
sequences
;
M:
##shr-vector-imm
insn-available?
rep>>
%shr-vector-imm-reps
member?
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.renaming
kernel
;
M:
##shr-vector-imm
rename-insn-defs
[
rename-value
]
change-dst
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.renaming
kernel
;
M:
##shr-vector-imm
rename-insn-uses
[
rename-value
]
change-src1
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.construction.private
kernel
;
M:
##shr-vector-imm
ssa-rename-insn-defs
[
gen-name
]
change-dst
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.construction.private
kernel
;
M:
##shr-vector-imm
ssa-rename-insn-uses
[
top-name
]
change-src1
drop
;
USING:
accessors
arrays
compiler.cfg.instructions
compiler.cfg.representations.preferred
;
M:
##shr-vector-imm
uses-vreg-reps
rep>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##shr-vector-imm
uses-vregs
src1>>
1array
;