Patents
US 8,935,684 B2#40572106 Most CitedActiveUnited States (USPTO)Utility

Loop invariant method expression hoisting

2Forward Citations (#40572106 Global)
0.2/yrCitation Velocity (#35642040 Global)
1.00Citation PageRank (#41813031 Global)
4Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system, method and computer-readable medium are disclosed for improving the performance of a compiler. A set of source code instructions are processed to generate a plurality of source code instruction subsets, each of which is respectively associated with a mathematical operator. The source code subsets are then reordered to “hoist,” or place, a source code instruction subset associated with a product operator before a source code instruction subset associated with a summation operator. The plurality of source code instruction subsets are iteratively reordered until no source code instruction subset associated with a summation operator precedes a source code instruction subset associated with a product operator. A compiler is then used to compile the resulting reordered plurality of source code instruction subsets into a set of optimized object code instructions.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implementable method for improving the performance of a compiler, comprising: identifying, in source code, an expression that is included in a nested loop, the expression including at least one term that is dependent on at least one iterator variable of the nested loop; generating a sum-of-products (SOP) representation of the expression, the sum-of-products representation including a summation of groups of multiplied terms in the expression, wherein the SOP representation comprises an SOP expression tree; flattening operations the SOP expression tree to generate a flattened SOP expr

Technical Overview & Description

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

Non-Patent Literature (4)

  • A Method for Estimating Optimal Unrolling Times for Nested Loops, Koseki et al., IEEE 1997.
  • Aho, Alfred V. et al., Compilers: Principles, Techniques, and Tools, Loop invariant code motion, 1986.
  • Compiler-Based Approach for Exploiting Scratch-Pad in Presence of Irregular Array Access, Absar, et al., IEEE 2005.
  • Optimized Unrolling of Nested Loops, Sarkar, ACM 2000.