Profile‐guided automatic inline expansion for C programs

Pohua P. Chang, Scott A. Mahlke, William Y. Chen, Wen‐Mei W. Hwu

Research output: Contribution to journalArticle

Abstract

This paper describes critical implementation issues that must be addressed to develop a fully automatic inliner. These issues are: integration into a compiler, program representation, hazard prevention, expansion sequence control, and program modification. An automatic inter‐file inliner that uses profile information has been implemented and integrated into an optimizing C compiler. The experimental results show that this inliner achieves significant speedups for production C programs.

Original languageEnglish (US)
Pages (from-to)349-369
Number of pages21
JournalSoftware: Practice and Experience
Volume22
Issue number5
DOIs
StatePublished - May 1992

    Fingerprint

Keywords

  • C compiler
  • Code optimization
  • Inline expansion
  • Profile information

ASJC Scopus subject areas

  • Software

Cite this