This paper was published through Galoá and has a deposited DOI. To cite this paper, use one of the standards below:
In case you are one of the co-authors and want to register this paper in your Lattes, use the following code: doi > 10.59254/sbpo-2025-212472
If you've NEVER registered a DOI in your Lattes, check our tutorial!This paper explores the use of metaheuristics for register allocation in compilers, modeled as a graph coloring problem. Due to its NP-complete nature, exact methods are often impractical, while metaheuristics appear as alternatives. In this paper, we implement and compare three metaheuristics — Greedy Randomized Adaptive Search Procedure (GRASP), Tabu Search (TS), and Simulated Annealing (SA) — aiming to minimize conflicts under different color constraints. Experiments were conducted on DIMACS benchmark graphs to simulate limited-register scenarios. TS performed better on dense graphs, SA was more effective on regular and sparse ones, and GRASP showed competitive results in specific cases. The findings suggest that metaheuristics are promising tools for improving register allocation and reducing memory usage, especially under tight hardware constraints.
With nearly 200,000 papers published, Galoá empowers scholars to share and discover cutting-edge research through our streamlined and accessible academic publishing platform.
Learn more about our products:
This proceedings is identified by a DOI , for use in citations or bibliographic references. Attention: this is not a DOI for the paper and as such cannot be used in Lattes to identify a particular work.
Check the link "How to cite" in the paper's page, to see how to properly cite the paper