1998 · 39 citations · 7 references
ComputingComputer EngineeringComputer ScienceAlgorithmsCompilersComputer ArchitectureControl-flow AnalysisData-flow AnalysisRegister AllocationProfile-guided OptimizationRegister AssignmentStatic Single Assignment Form
We present a new register promotion algorithm based on Static Single Assignment (SSA) form. Register promotion is aimed at promoting program names from memory locations to registers. Our algorithm is profile-driven and is based on the scope of intervals. In cases where a complete promotion is not possible because of the presence of function calls or pointer references, the proposed algorithm is capable of eliminating loads and stores on frequently executed paths by placing loads and stores on less frequently executed paths. We also describe an efficient method to incrementally update SSA form when new definitions are cloned from an existing name during register promotion. On SPECInt95 benchmarks, our algorithm removes about ~12% of memory operations which access scalar variables.
7
Global value numbers and redundant computations
Barry K. Rosen, Mark N. Wegman, F. K. Zadeck · 1988 · 483 citations
Global code motion/global value numbering
Cliff Click · 1995 · 107 citations