Handbook
Glossary
coalesce-cfg ( cfg -- )
Vreg Coalescing
Next:
try-eliminate-copies ( pairs must? -- )
Vocabulary
compiler
.
cfg
.
ssa
.
destruction
.
coalescing
Inputs
cfg
a
cfg
Outputs
None
Word description
In this step,
leader-map
info is calculated.
Definition
USING:
compiler.cfg.linearization
kernel
make
sequences
;
IN:
compiler.cfg.ssa.destruction.coalescing
:
coalesce-cfg
( cfg -- )
cfg>insns-rpo
dup
init-coalescing
[
[
[
coalesce-now
]
[
coalesce-later
]
bi
]
each
]
{
}
make
[
first2
eliminatable-copy?
]
filter
f
try-eliminate-copies
;