Research Article Open Access

Understanding the Code Transformation Algorithms' Impact

Anderson Faustino da Silva1 and Leonardo Deganello de Souza1
  • 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.

Journal of Computer Science
Volume 15 No. 11, 2019, 1678-1693

DOI: https://doi.org/10.3844/jcssp.2019.1678.1693

Submitted On: 27 February 2019 Published On: 27 November 2019

How to Cite: da Silva, A. F. & de Souza, L. D. (2019). Understanding the Code Transformation Algorithms' Impact. Journal of Computer Science, 15(11), 1678-1693. https://doi.org/10.3844/jcssp.2019.1678.1693

  • 3,043 Views
  • 1,084 Downloads
  • 0 Citations

Download

Keywords

  • Code Transformation
  • Intermediate Representation
  • Clang/LLVM