Title :
Heuristic algorithms for register allocation
Author :
Luque, E. ; Ripoll, A. ; Diez, T.
Author_Institution :
Dept. d´´Informatica, Univ. Autonoma de Barcelona, Spain
fDate :
1/1/1992 12:00:00 AM
Abstract :
A model to find the optimal register allocation of program variables, including large strongly connected regions (loops), is presented. The program is represented by a directed control flow graph and assumes that all variables have been allocated to memory locations. The model takes into account the cost and saving times involved in allocating variables to registers in each node of the program in order to maximise the global time saving in program execution. As the solution of this model requires exponential resources (both time and space) in the worse case, two heuristic algorithms with O(m) and O(m2) complexities have been developed. Comparisons between the performance of the two heuristic algorithms and the optimal one are made for a set of representative programs.
Keywords :
heuristic programming; integer programming; linear programming; program compilers; complexities; directed control flow graph; heuristic algorithms; program variables; register allocation;
Journal_Title :
Computers and Digital Techniques, IEE Proceedings E