Handbook
Glossary
temp-vregs ( insn -- seq )
Common code used by several passes for def-use analysis
Prev:
defs-vregs ( insn -- seq )
Next:
uses-vregs ( insn -- seq )
Vocabulary
compiler
.
cfg
.
def-use
Inputs
insn
an
insn
Outputs
seq
a
sequence
Word description
Returns the sequence of temporary vregs used by this instruction.
Definition
IN:
compiler.cfg.def-use
GENERIC:
temp-vregs
( insn -- seq )
Methods
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##allot
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##bit-test
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##box-alien
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##box-displaced-alien
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
kernel
;
M:
##check-nursery-branch
temp-vregs
[
temp1>>
]
[
temp2>>
]
bi
2array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##compare-float-ordered
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##compare-float-unordered
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##compare-imm
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##compare-integer-imm
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##compare-integer
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##compare
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##dispatch
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
kernel
;
M:
##save-context
temp-vregs
[
temp1>>
]
[
temp2>>
]
bi
2array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##test-imm
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##test-vector-branch
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##test-vector
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
;
M:
##test
temp-vregs
temp>>
1array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
kernel
;
M:
##write-barrier-imm
temp-vregs
[
temp1>>
]
[
temp2>>
]
bi
2array
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
kernel
;
M:
##write-barrier
temp-vregs
[
temp1>>
]
[
temp2>>
]
bi
2array
;
USING:
compiler.cfg.def-use
compiler.cfg.instructions
kernel
;
M:
insn
temp-vregs
drop
{
}
;