Abstract
Register allocation is one of most important compiler optimization techniques. The most famous method for register allocation is graph coloring and the solution presented in this paper (RAGCES) is based on the graph coloring too; for coloring interference graph, evolutionary algorithm is used. In this method graph coloring and selecting variables for spilling is taken place at the same time. This method was tested on several graphs and results were compared with the results of the previous methods.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Aho, A.V., Sethi, R., Ullman, J.D.: Compilers: Principles, Techniques, and Tools. Addison-Wesley, Reading (1986)
Beaty, S.J.: Register Allocation and Assignment in a Retargetable Microcode Compiler Using Graph Coloring. Colorado State University (1987)
Cooper, K.D., Dasgupta, A.: Tailoring Graph-Coloring Register Allocation for Runtime Compilation. IEEE Computer Society (2006)
Chaitin, G.: Register Allocation and Spilling via Graph Coloring. In: Sigplan 1982 (1982)
Chow, F.C., Hennessy, J.L.: The Priority-Based Coloring Approach to Register Allocation. ACM (1990)
Chaitin, G., Auslander, M., Chandra, A., Cocke, J., Hopkins, M., Markstein, P.: Register Allocation via Coloring. Computer Languages, 45–57 (1981)
Briggs, P.: Register allocation via graph coloring, Phd thesis, Rice University, Houston, USA (1992)
Wu, S., Li, S.: Extending Traditional Graph-Coloring Register Allocation exploiting Meta-heuristics for Embedded Systems. IEEE Computer Society (2007)
Topcuoglu, H.R., Demiroz, B., Kandemir, M.: Solving the Register Allocation Problem for Embedded Systems Using a Hybrid Evolutionary Algorithm. IEEE Transaction on Evolutionary Computation 11(5) (October 2007)
Hack, S., Goos, G.: Optimal Register Allocation for SSA-form programs in polynomial time. Information Processing Letters 98, 150–155 (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Shamizi, S., Lotfi, S. (2011). Register Allocation via Graph Coloring Using an Evolutionary Algorithm. In: Panigrahi, B.K., Suganthan, P.N., Das, S., Satapathy, S.C. (eds) Swarm, Evolutionary, and Memetic Computing. SEMCCO 2011. Lecture Notes in Computer Science, vol 7077. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-27242-4_1
Download citation
DOI: https://doi.org/10.1007/978-3-642-27242-4_1
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-27241-7
Online ISBN: 978-3-642-27242-4
eBook Packages: Computer ScienceComputer Science (R0)