PROFILE-GUIDED AUTOMATIC IN-LINE EXPANSION FOR C-PROGRAMS

被引:74
|
作者
CHANG, PP
MAHLKE, SA
CHEN, WY
HWU, WMW
机构
[1] Center for Reliable and High-Performance Computing, Coordinated Science Laboratory, University of Illinois, Champaign, Illinois, 61801, 1101 W. Springfield Ave, Urbana
来源
SOFTWARE-PRACTICE & EXPERIENCE | 1992年 / 22卷 / 05期
关键词
IN-LINE EXPANSION; C-COMPILER; CODE OPTIMIZATION; PROFILE INFORMATION;
D O I
10.1002/spe.4380220502
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 bas been implemented and integrated into an optimizing C compiler. The experimental results show that this inliner achieves significant speedups for production C programs.
引用
收藏
页码:349 / 369
页数:21
相关论文
共 5 条
  • [1] Profile-Guided Deployment of Stream Programs on Multicores
    Farhad, S. M.
    Ko, Yousun
    Burgstaller, Bernd
    Scholz, Bernhard
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (05) : 79 - 88
  • [2] IN-LINE FUNCTION EXPANSION FOR COMPILING C PROGRAMS
    HWU, WMW
    CHANG, PP
    [J]. SIGPLAN NOTICES, 1989, 24 (07): : 246 - 257
  • [3] A tool for automatic flow analysis of C-programs for WCET calculation
    Gustafsson, J
    Lisper, B
    Sandberg, C
    Bermudo, N
    [J]. EIGHTH IEEE INTERNATIONAL WORKSHOP ON OBJECT-ORIENTED REAL-TIME DEPENDABLE SYSTEMS, PROCEEDINGS, 2003, : 106 - 112
  • [4] Janus: Statically-Driven and Profile-Guided Automatic Dynamic Binary Parallelisation
    Zhou, Ruoyu
    Jones, Timothy M.
    [J]. PROCEEDINGS OF THE 2019 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO '19), 2019, : 15 - 25
  • [5] COMPILING C FOR VECTORIZATION, PARALLELIZATION, AND IN-LINE EXPANSION
    ALLEN, R
    JOHNSON, S
    [J]. SIGPLAN NOTICES, 1988, 23 (07): : 241 - 249