Handbook
Glossary
coalesce-later ( insn -- )
Vocabulary
compiler
.
cfg
.
ssa
.
destruction
.
coalescing
Inputs
insn
an
insn
Outputs
None
Word description
Generic word supposed to be called in a
make
context which generates a list of eliminatable vreg copies. The copies are batched up and then eliminated by
try-eliminate-copies
.
Definition
IN:
compiler.cfg.ssa.destruction.coalescing
GENERIC:
coalesce-later
( insn -- )
Methods
USING:
accessors
arrays
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
kernel
make
;
M:
##copy
coalesce-later
[
dst>>
]
[
src>>
]
bi
2array
,
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
make
;
M:
##parallel-copy
coalesce-later
values>>
%
;
USING:
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
kernel
;
M:
alien-call-insn
coalesce-later
drop
;
USING:
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
kernel
;
M:
insn
coalesce-later
drop
;
USING:
assocs
compiler.cfg.def-use
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
kernel
make
sequences
;
M:
vreg-insn
coalesce-later
[
defs-vregs
]
[
uses-vregs
]
bi
zip
?first
[
,
]
when*
;