DocumentCode :
1171093
Title :
Heuristic algorithms for register allocation
Author :
Luque, E. ; Ripoll, A. ; Diez, T.
Author_Institution :
Dept. d´´Informatica, Univ. Autonoma de Barcelona, Spain
Volume :
139
Issue :
1
fYear :
1992
fDate :
1/1/1992 12:00:00 AM
Firstpage :
73
Lastpage :
80
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;
fLanguage :
English
Journal_Title :
Computers and Digital Techniques, IEE Proceedings E
Publisher :
iet
ISSN :
0143-7062
Type :
jour
Filename :
119113
Link To Document :
بازگشت