Software Practice and Experience · 1991 · 238 citations · 14 references
ComputingComputer EngineeringComputer ScienceCompilersOptimizationProgramming LanguagesCode GenerationCompiler ConstructionControl-flow AnalysisData-flow AnalysisPerformance OptimizationStatic Code AnalysisCode OptimizationCompile-time OptimizationCompiler DesignProfile-guided OptimizationProfiling
Abstract This paper describes the design and implementation of an optimizing compiler that automatically generates profile information to assist classic code optimizations. This compiler contains two new components, an execution profiler and a profile‐based code optimizer, which are not commonly found in traditional optimizing compilers. The execution profiler inserts probes into the input program, executes the input program for several inputs, accumulates profile information and supplies this information to the optimizer. The profile‐based code optimizer uses the profile information to expose new optimization opportunities that are not visible to traditional global optimization methods. Experimental results show that the profile‐based code optimizer significantly improves the performance of production C programs that have already been optimized by a high‐quality global code optimizer.
14
Susan L. Graham, Peter B. Kessler, Marshall Kirk McKusick · 1982 · 978 citations
Profile guided code positioning
Karl Pettis, Robert C. Hansen, Jack W. Davidson · ACM SIGPLAN Notices · 2004 · 393 citations
Scott McFarling, J. Hennesey · ACM SIGARCH Computer Architecture News · 1986 · 263 citations