Patents
US 7,100,156 B2#5323173 Most CitedExpiredUnited States (USPTO)Utility

Interprocedural dead store elimination

17Forward Citations (#5323173 Global)
0.8/yrCitation Velocity (#8575599 Global)
2.97Citation PageRank (#7685334 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system for optimizing computer code generation by carrying out interprocedural dead store elimination. The system carries out a top down traversal of a call graph in an intermediate representation of the code being compiled. Live on exit (LOE) sets are defined for variables at call points for functions in the code being compiled. Bit vectors representing the LOE sets for call points for functions are stored in an LOE table indexed or hashed by call graph edges. For each function definition reached in the call graph traversal, a LOE set for the function itself is generated by taking the union of the LOE call point sets. The entries in the LOE table for the LOE call point sets are then removed. The LOE set for each function is used to determine if variables that are the subject of a store operation in a function may be subject to a dead store elimination optimization.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 17.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for determining the correctness of a potential interprocedural dead store optimization for an optimizing compiler, the optimizing compiler generating an intermediate representation of code to be compiled, including a call graph, the method comprising a top-down traversal of the call graph, and, for each procedure definition reached in the call graph traversal, further comprising: determining a live on exit set of interprocedural global variables for the reached procedure definition; determining a live on exit set of interprocedural global variables for each procedure call point within

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 4,951,194 AMethod for reducing memory allocations and data copying operations during program calling sequences199061
US 5,175,856 AComputer with integrated hierarchical representation (ihr) of program wherein ihr file is available for debugging and optimizing during target execution1992252
US 5,179,702 ASystem and method for controlling a highly parallel multiprocessor using an anarchy based scheduler for parallel execution thread scheduling1993622
US 5,428,793 AMethod and apparatus for compiling computer programs with interproceduural register allocation1995100
US 5,485,616 AUsing program call graphs to determine the maximum fixed point solution of interprocedural bidirectional data flow problems in a compiler1996103
US 5,555,417 AMethod and apparatus for compiling computer programs with interprocedural register allocation1996122
US 5,590,332 AGarbage collection, tail recursion and first-class continuations in stack-oriented languages1996101
US 5,812,855 ASystem and method for constaint propagation cloning for unknown edges in IPA199846
US 5,850,549 AGlobal variable coalescing199838
US 5,878,261 AMethod for restructuring code to reduce procedure call overhead199920
US 6,041,179 AObject oriented dispatch optimization200088
US 6,173,444 B1Optimizing compilation of pointer variables in the presence of indirect function calls200193
US 6,182,284 B1Method and system for eliminating phi instruction resource interferences and redundant copy instructions from static-single-assignment-form computer code200166
US 2002010911 A1Compile time pointer analysis algorithm statement of government interest—57
US 6,381,738 B1Method for optimizing creation and destruction of objects in computer programs2002134

Non-Patent Literature (5)

  • Adve et al., High Performance Fortran Compilation Techniques for Parallelizing Scientific Codes, IEEE, Nov. 1998, pp. 1-20.
  • Carr et al., Compiler optimization for improving data locality, 1994, IEEE, pp. 252-262.
  • Cooper, Fast Interprocedural Alias Analysis, ACMPRESS, Jan. 1989, pp. 49-59.
  • Cooper, Interprocedural Analyses of Fortran Programs, Citeseer, 1997, pp. 1-33.
  • Genin et al., System design, optimization and intelligent code generation for standard digital signal processors, May 1989, IEEE, vol. 1, pp. 565-569.