Understanding and Exploiting Optimal Function Inlining

Authors: Theodoros Theodoridis, ETH Zurich; Tobias Grosser, University of Edinburgh; Zhendong Su, ETH Zurich Abstract: Inlining is a core transformation in optimizing compilers. It replaces a function call (call site) with the body of the called function (callee). It helps reduce function call overhead and binary size, and more importantly, enables other optimizations. The problem of inlining has been extensively studied, but it is far from being solved; predicting which inlining decisions are beneficial is nontrivial due to interactions with the rest of the compiler pipeline....

April 26, 2023 ยท Luke