Handbook
Glossary
try-eliminate-copies ( pairs must? -- )
Vreg Coalescing
Prev:
coalesce-cfg ( cfg -- )
Next:
try-eliminate-copy ( follower leader must? -- )
Vocabulary
compiler
.
cfg
.
ssa
.
destruction
.
coalescing
Inputs
pairs
a sequence of vreg pairs
must?
a
boolean
Outputs
None
Word description
Tries to eliminate the vreg copies in the
sequence
'pairs'. If 'must?' is
t
then a
vregs-shouldn't-interfere
error is thrown if any of the vregs interfere.
See also
try-eliminate-copy
Definition
USING:
kernel
sequences
;
IN:
compiler.cfg.ssa.destruction.coalescing
:
try-eliminate-copies
( pairs must? -- )
[
[
first2
]
]
dip
[
try-eliminate-copy
]
curry
compose
each
;