Handbook
Glossary
compute-representations ( cfg -- )
Vocabulary
compiler
.
cfg
.
representations
.
selection
Inputs
cfg
an
object
Outputs
None
Definition
USING:
assocs
compiler.cfg.registers
compiler.cfg.representations.coalescing
disjoint-sets
kernel
namespaces
;
IN:
compiler.cfg.representations.selection
:
compute-representations
( cfg -- )
compute-costs
costs
get
minimize-costs
[
components
get
[
disjoint-set-members
]
keep
]
dip
[
[
[
dup
]
]
dip
[
representative
]
curry
compose
]
dip
[
at
]
curry
compose
H{
}
map>assoc
representations
set
;