Patents
US 6,131,189 A#4791139 Most CitedExpiredUnited States (USPTO)Utility

System and method to efficiently represent aliases and indirect memory operations in static single assignment form during compilation

18Forward Citations (#4791139 Global)
0.7/yrCitation Velocity (#11026271 Global)
4.37Citation PageRank (#4118463 Global)
4Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A system and method for an optimizer of a compilation suite for representing aliases and indirect memory operations in static single assignment (SSA) during compilation of a program having one or more basic blocks of source code. The optimizer converts all scalar variables of said program to SSA form, wherein said SSA form includes a plurality of variable versions, zero or more occurrences of a chi function, zero or more occurences of a phi function, and zero or more occurrences of a mu function. The chi function, phi function, and mu function are inserted for the variable versions. The optimizer also determines whether a variable version can be renamed to a zero version, and upon such a determination, the optimizer renames the variable version to a zero version. The optimizer further converts all indirect variables of a program to SSA form, wherein the SSA form includes a plurality of virtual variable versions such that a virtual variable is assigned to an indirect variable, zero or more occurrences of a chi function, zero or more occurences of a phi function, and zero or more occurrences of a mu function. The chi function, phi function, and mu function are inserted for the virtua

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for representing aliases in single static assignment (SSA) during compilation of a program, comprising the steps of: (a) converting scalar variables of said program to SSA form, said SSA form including a plurality of variable versions, zero or more occurrences of a χ function, zero or more occurrences of a φ function, and a zero or more occurrences of a μ function, wherein said χ function, said φ function, and said μ function are inserted for one or more of said variable versions; (b) determining whether each one of said variable versions can be renamed to a zero version; and (c)

  2. Claim 2Depends on #1

    The method of claim 1, wherein step (c) comprises: renaming said one or more of said variable versions to said zero version if said variable versions that are defined by

Technical Overview & Description

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

Non-Patent Literature (5)

  • Alpern et al., "Detecting Equality of Variables in Programs," Conference Record of the 15th ACM Symposium on the Principles of Programming Languages, Jan., 1988, pp. 1-11.
  • Alpern et al., Detecting Equality of Variables in Programs, Conference Record of the 15th ACM Symposium on the Principles of Programming Languages , Jan., 1988, pp. 1 11.
  • Chase et al., "Analysis of Pointers and Structures," Proceedings of the Sigplan '90 Conference on Programming Language Design and Implementation, Jun., 1990, pp. 296-310.
  • Chase et al., Analysis of Pointers and Structures, Proceedings of the Sigplan 90 Conference on Programming Language Design and Implementation , Jun., 1990, pp. 296 310.
  • Choi et al., "Efficient Flow-Sensitive Interprocedural Computation of Pointer-Induced Aliases and Side Effects," Conference Record of the 20th ACM Symposium on the Principles of Programming Languages, Jan., 1993, 232-245.