An analysis of executable size reduction by LLVM passes

Jain, Shalini and Borah, Utpal and Kumar, Prateek and Sinha, Vaibhav B and Purini, Suresh and Upadrasta, Ramakrishna (2019) An analysis of executable size reduction by LLVM passes. CSI Transactions on ICT. pp. 1-6. ISSN 2277-9078

Full text not available from this repository. (Request a copy)

Abstract

The formidable increase in the number of smaller and smarter embedded devices has compelled programmers to develop more and more specialized application programs for these systems. These resource intensive programs that have to be executed on limited memory systems make a strong case for compiler optimizations that reduce the executable size of programs. Standard compilers (like LLVM) offer an out-of-the-box -Oz optimization option—just a series of compiler optimization passes—that is specifically targeted for the reduction of the generated executable size. In this paper, we aim to analyze the effects of optimizations of LLVM compiler on the reduction of executable size. Specifically, we take the size of the executable as a metric and attempt to divide the -Oz series into logical groups and study their individual effects; while also study the effect of their combinations. Our preliminary study over SPEC CPU 2017 benchmarks gives us an insight into the comparative effect of the groups of passes on the executable size. Our work has potential to enable the user to tailor a custom series of passes so as to obtain the desired executable size.

[error in script]
IITH Creators:
IITH CreatorsORCiD
Upadrasta, RamakrishnaUNSPECIFIED
Item Type: Article
Uncontrolled Keywords: Compilers, Compiler optimizations, Code size optimizations
Subjects: Computer science
Divisions: Department of Computer Science & Engineering
Depositing User: Team Library
Date Deposited: 11 Jun 2019 11:10
Last Modified: 11 Jun 2019 11:10
URI: http://raiithold.iith.ac.in/id/eprint/5458
Publisher URL: http://doi.org/10.1007/s40012-019-00248-5
OA policy: http://sherpa.ac.uk/romeo/issn/2277-9078/
Related URLs:

Actions (login required)

View Item View Item
Statistics for RAIITH ePrint 5458 Statistics for this ePrint Item