Call-site tree and its application in function inlining

檔案

本條目沒有附加檔案。

至出版者網站查看(DOI) ›

日期

2024-01-01

類型

期刊名稱

International Journal of Embedded Systems

卷期與頁次

第 17 卷第 5 期,頁 1–12

ISSN

1741-1068
1741-1076

語言

英文

摘要

Traditionally, function invocation is represented as the (static) call graph or the (dynamic) execution tree in compilers.We define the new call-site tree, in which two different executions of a call-site (say α that is located within a function f ) are represented by the same node if and only if the calling chains from main to f in the two different executions of α are identical.Function inlining is a very profitable optimisation that replaces a call-site with the body of the called function.Intuitively, it is preferable to inline the call-sites that are executed most often.Call-sites are suitable for function inlining because they allow to adjust the execution counts of (new and existing) call-sites without re-profiling after a call-site is inlined.We also propose analysis algorithms of the call-site tree and implement an inliner in LLVM.The experimental results on SPEC INT 2006 are reported.

所屬典藏

期刊論文
顯示完整詮釋資料 統計資料

引用此條目

Yang, A., Huang, S. K., & Yang, W. (2024). Call-site tree and its application in function inlining. International Journal of Embedded Systems, 17(5), 1–12. https://doi.org/10.1504/ijes.2024.140220

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享