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 journalArticlepeer-review


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
Issue number5
StatePublished - May 1992


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

ASJC Scopus subject areas

  • Software


Dive into the research topics of 'Profile‐guided automatic inline expansion for C programs'. Together they form a unique fingerprint.

Cite this