Handbook
Glossary
coalesce-now ( insn -- )
Vocabulary
compiler
.
cfg
.
ssa
.
destruction
.
coalescing
Inputs
insn
an
insn
Outputs
None
Word description
Generic word which finds copy pairs in instructions and tries to eliminate them directly.
See also
coalesce-later
Definition
IN:
compiler.cfg.ssa.destruction.coalescing
GENERIC:
coalesce-now
( insn -- )
Methods
USING:
accessors
assocs
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
kernel
sorting
;
M:
##phi
coalesce-now
[
dst>>
]
[
inputs>>
values
]
bi
zip-scalar
sort
t
try-eliminate-copies
;
USING:
accessors
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
kernel
;
M:
##tagged>integer
coalesce-now
[
dst>>
]
[
src>>
]
bi
t
try-eliminate-copy
;
USING:
compiler.cfg.instructions
compiler.cfg.ssa.destruction.coalescing
kernel
;
M:
insn
coalesce-now
drop
;