Handbook
Glossary
select-representations ( cfg -- )
Virtual register representation selection
Vocabulary
compiler
.
cfg
.
representations
Inputs
cfg
a
cfg
Outputs
None
Word description
Entry point for the representation selection compiler pass. After this word hasn run, the
representations
hashtable has been filled with vregs and what their preferred representations are.
Definition
USING:
compiler.cfg.loop-detection
compiler.cfg.predecessors
compiler.cfg.representations.coalescing
compiler.cfg.representations.rewrite
compiler.cfg.representations.selection
compiler.cfg.utilities
;
IN:
compiler.cfg.representations
:
select-representations
( cfg -- )
{
needs-loops
needs-predecessors
compute-components
compute-possibilities
compute-representations
insert-conversions
}
apply-passes
;