Understanding the Code Transformation Algorithms' Impact
- 1 State University of Maringa, Brazil
Abstract
Modern compilers provide several code transformations, which are automatic program transformations applied with the goal of improving the program performance. In this article, we investigate how standard compiler code transformations, performed at the compiler intermediate representation, affect such representation and consequently the performance. Our research targets clang/LLVM, a popular compiler infrastructure. Our experimental evaluation demonstrates how several code transformations change the intermediate representation and consequently improve the target code's performance in terms of runtime.
DOI: https://doi.org/10.3844/jcssp.2019.1678.1693
Copyright: © 2019 Anderson Faustino da Silva and Leonardo Deganello de Souza. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- 3,706 Views
- 1,400 Downloads
- 0 Citations
Download
Keywords
- Code Transformation
- Intermediate Representation
- Clang/LLVM