11.6.1 Register Allocation vs.Assignment

11.6.2 Register Allocation Schemes

11.6.3 Register Allocation by Usage Counts

11.6.4 Register Allocation by Graph Coloring

11.6.5 Register Assignment and Reassignment

11.6.4 Register Management

11.6.1 Register Allocation vs. Assignment

The term register allocation is used for two tasks: (1) register allocation itself which decides which program values shall reside in registers and (2) register assignment which picks the specific register in which these values will reside.

     Some compilers make a tentative allocation, then try an assignment, and if necessary reallocate.