Two-level automatic software optimization using cooperative co-evolutionary algorithms
The rapid expansion of specialized hardware architectures has significantly increased the complexity of software optimization. Modern computing systems now incorporate diverse processors, co-processors, and heterogeneous execution environments. Each type of hardware requires specific optimization strategies to fully exploit its computational potential. Therefore, generic compiler optimizations often fail to account for intricate software-hardware interactions, leading to inefficiencies or performance degradation. Moreover, evolving compilation frameworks like LLVM continually introduce new optimizations and modify their optimization managers. This constant evolution makes it challenging to establish standardized optimization strategies. In this work, we first analyze the impact of the two existing pass managers in LLVM on automatic software optimization. Then, we define a novel two-level combinatorial optimization problem that leverages both pass managers for improved runtime performance. We solve this problem using a cooperative co-evolutionary cellular genetic algorithm and conduct extensive experiments to evaluate the impact of the different pass managers on software runtime. Specifically, we assess three optimization strategies, considering the legacy and new pass managers. Results demonstrate that the proposed methodology allows significantly enhancing the runtime efficiency of the considered software, achieving up to runtime improvement over the non-optimized program and over the best existing optimization approaches. • Examines the impact of the legacy and new LLVM pass managers on automatic software optimization. • Introduces a two-level optimization framework that integrates both pass managers. • Employs a cooperative co-evolutionary strategy to address the joint optimization problem. • Demonstrates substantial runtime improvements—up to 99.41
Authors
- Patricia Ruiz (ORCID: https://orcid.org/0000-0001-5891-0646)
- José Miguel Aragón-Jurado (ORCID: https://orcid.org/0000-0002-9835-8793)
- Bernabè Dorronsoro (ORCID: https://orcid.org/0000-0003-0481-790X)
- Yusuke Nojima
- Juan Carlos de la Torre
Institutions
- Universidad de Cádiz (ES)
- Osaka Metropolitan University (JP)
- Tokyo Metropolitan University (JP)
Publication Details
- Journal
- Applied Soft Computing
- Published
- 2026-03-17
- DOI
- https://doi.org/10.1016/j.asoc.2026.115066
- Primary Topic
- Advanced Multi-Objective Optimization Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00