register allocation
register allocation
(compiler, algorithm)This problem can be shown to be isomorphic to graph colouring by relating values to nodes in the graph andregisters to colours. Values (nodes) which must be validsimultaneously are linked by edges and cannot be stored in thesame register (coloured the same).
See also register dancing and register spilling.
[Preston Briggs, PhD thesis, Rice University, April 1992"Register Allocation via Graph Coloring"].