A Graph-based Model for Building Optimization Sequences: A Study Case on Code Size Reduction
Resumo
Embedded Systems applications have several limitations, one of these limitations is the memory size. Modern compilers provide optimization sequences that reduce the code size, contributing to solve this memory issue. This paper presents a new approach to predict optimization sequences for unseen programs. Our strategy builds a graph-based model, which describes the relationship between two optimization, and an engine to traversal the graph and build an optimization sequence. We propose four traverse algorithms. The best traversal algorithm overcomes OPT Oz in 4%. Moreover, our algorithms have a performance similar to state-of-the-art algorithms, through a single evaluation.
Palavras-chave:
Compiler, Code Size, Program reasoning
Publicado
30/09/2021
Como Citar
QUEIROZ JUNIOR, Nilton Luiz; SILVA, Anderson Faustino da.
A Graph-based Model for Building Optimization Sequences: A Study Case on Code Size Reduction. In: SIMPÓSIO BRASILEIRO DE LINGUAGENS DE PROGRAMAÇÃO (SBLP), 25. , 2021, Joinville.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2021
.
p. 92–99.