Patent ReferencesMethod for improving the efficiency of arithmetic code generation in an optimizing compiler using machine independent update instruction generation System and method for solving monotone information propagation problems System and method for optimizing computer code using a compact data flow representation Method of compilation optimization using an N-dimensional template for relocated and replicated alignment of arrays in data-parallel programs for reduced data communication during execution Method and apparatus for finding induction variables for use in compiling computer instructions Method and apparatus for an improved optimizing compiler System and method to efficiently represent aliases and indirect memory operations in static single assignment form during compilation Patent #: 5768596 InventorsApplicationNo. 829856 filed on 04/01/1997US Classes:715/527, Print preview717/142, Scanning and lexical analysis717/146, Including intermediate code717/159Code restructuringExaminersPrimary: Trammell, James P.Assistant: Smith, Demetra R. Attorney, Agent or FirmInternational ClassesG06F 009/45G06F 009/44 AbstractBriefly, in one embodiment, the invention is a method for eliminating common subexpressions in an initial SSA intermediate language representation of at least a portion of a computer program. The method includes (a) inserting a phi-node for an unambiguous definition used in an unambiguous subexpression reaching a join point in the initial intermediate language subsequent to the join point; (b) inserting a phi-node for the unambiguous common subexpression; (c) renaming the unambiguous definition and a subsequent use reached by the definition; and (d) renaming the unambiguous common subexpression.Other References
| |