Techniques and Trade-Offs in Function Inlining Optimization

Gupta, Priya and Jha, Aditya and Gupta, Brinda and Sumpi, Kime and Sahoo, Sabyasachi and Chalapathi, Mukkoti Maruthi Venkata (2023) Techniques and Trade-Offs in Function Inlining Optimization. EAI Endorsed Transactions on Scalable Information Systems. ISSN 2032-9407

[thumbnail of 68312.pdf] PDF
68312.pdf

Download (1MB)

Abstract

Function inlining is a critical optimization technique used by compilers to improve program performance by replacing a function call with the body of the function and eliminating the overhead associated with function calls. However, the decision of when to inline functions and when not to is a nontrivial problem due to interactions with the rest of the compiler pipeline. Incorrect inlining decisions can cause runtime performance degradation, making this problem a crucial one to study. This paper reviews the different techniques used to optimize function inlining, including simple textual substitution, profile-guided inlining, interprocedural optimization, partial inlining, speculative inlining, and advanced techniques such as indirect call optimizations. Each technique has its strengths, weaknesses, and trade-offs, and ongoing research is exploring ways to overcome these challenges. Optimizing function inlining is a complex problem, and different techniques offer different tradeoffs. Further research to improve the performance of function inlining while minimizing any potential drawbacks could be pursued based on this paper.

Item Type: Article
Uncontrolled Keywords: Function inlining, Compliler optimization, function call, program performance, compiler pipeline
Date Deposited: 04 Mar 2026 18:07
Last Modified: 03 Dec 2026 13:38
URI: https://eprints.eai.eu/id/eprint/51232

Actions (login required)

View Item
View Item