Handbook
Glossary
##save-context
Basic block instructions
Prev:
##local-allot
Next:
allocation-insn
Vocabulary
compiler
.
cfg
.
instructions
Class description
The ##save-context instructions saves the state of the data, retain and callstacks in the threads
context
struct.
See also
%save-context
Definition
IN:
compiler.cfg.instructions
TUPLE:
##save-context
<
vreg-insn
temp1 temp2 insn#
;
Methods
USING:
accessors
compiler.cfg.gvn.avail
compiler.cfg.instructions
kernel
;
M:
##save-context
>avail-insn-temps
[
]
change-temp1
[
]
change-temp2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.linear-scan.assignment
kernel
;
M:
##save-context
assign-insn-temps
[
vreg>reg
]
change-temp1
[
vreg>reg
]
change-temp2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.representations.rewrite
kernel
;
M:
##save-context
convert-insn-temps
[
]
change-temp1
[
]
change-temp2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.codegen
cpu.architecture
kernel
;
M:
##save-context
generate-insn
[
temp1>>
]
keep
[
temp2>>
]
keep
drop
%save-context
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.registers
compiler.cfg.renaming
kernel
;
M:
##save-context
rename-insn-temps
[
drop
next-vreg
]
change-temp1
[
drop
next-vreg
]
change-temp2
drop
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.construction.private
kernel
;
M:
##save-context
ssa-rename-insn-temps
[
]
change-temp1
[
]
change-temp2
drop
;
USING:
compiler.cfg.instructions
compiler.cfg.representations.preferred
cpu.architecture
kernel
;
M:
##save-context
temp-vreg-reps
drop
{
int-rep
int-rep
}
;
USING:
accessors
arrays
compiler.cfg.def-use
compiler.cfg.instructions
kernel
;
M:
##save-context
temp-vregs
[
temp1>>
]
[
temp2>>
]
bi
2array
;