Title :
Register Allocation by Evolutionary Algorithm
Author :
Negri Lintzmayer, Carla ; Mulati, Mauro Henrique ; Faustino da Silva, Anderson
Author_Institution :
Univ. of Campinas, Campinas, Brazil
Abstract :
Graph coloring is a highly effective approach to intraprocedural register allocation. In this paper, we describe a new algorithm for intraprocedural register allocation called HECRA, an algorithm that extends a classic graph coloring register allocator to use a hybrid evolutionary coloring algorithm. The experiments demonstrated that our algorithm is able to minimize the amount of spills, thereby improving the quality of the generated code. Besides, HECRA is interesting in contexts where compile time is a concern, and not only the quality of the generated code.
Keywords :
evolutionary computation; graph colouring; optimising compilers; HECRA; compile time; generated code quality; graph coloring register allocator; hybrid evolutionary coloring algorithm; intraprocedural register allocation; Color; Equations; Mathematical model; Registers; Resource management; Sociology; Statistics; Ant Colony Optimization; ColorAnt-RT; Graph Coloring; HCA; Register Allocation;
Conference_Titel :
Chilean Computer Science Society (SCCC), 2012 31st International Conference of the
Conference_Location :
Valparaiso
Print_ISBN :
978-1-4799-2937-5
DOI :
10.1109/SCCC.2012.31