Patents
US 9,015,690 B2#14989121 Most CitedActiveUnited States (USPTO)Utility

Proactive loop fusion of non-adjacent loops with intervening control flow instructions

7Forward Citations (#14989121 Global)
0.6/yrCitation Velocity (#12364003 Global)
1.89Citation PageRank (#15878264 Global)
9Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and method for optimization of code with non-adjacent loops. A compiler builds a node tree, which is not a control flow graph, that represents parent-child relationships of nodes of a computer program. Each node represents a control flow statement or a straight-line block of statements of the computer program. If a non-adjacent loop pair of nodes satisfy predetermined conditions, the compiler may perform legal code transformations on the computer program and corresponding node transformations on the node tree. These transformations may make adjacent this pair of loop nodes. The compiler may be configured to perform legal code transformations, such as head and tail duplication, code motion, and if-merging, in order to make adjacent these two loop nodes. Then loop fusion may be performed on this loop pair in order to increase instruction level parallelism (ILP) within an optimized version of the original source code.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for loop fusion of non-adjacent loops, the method comprising: building a node tree that represents parent-child relationships illustrating actual in-program-order execution for each node of a computer program, wherein node types in the tree include types which identify a beginning of at least one of an if-region, a loop region, and a basic block region; initializing a first transformation node to be the starting node; and performing a node transformation on the first transformation node and a second transformation node immediately succeeding in-program-order to th

Technical Overview & Description

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

Non-Patent Literature (5)

  • "Bob Blainey, Christopher Barton, José Nelson Amaral";"Removing Impediments to Loop Fusion Through Code Transformations";"2005";"Spring Berlin Heidelberg";"vol. 2481";"pp. 309-328".
  • "Jeanne Ferrante; Karl J. Ottenstein;Joe D. Warren";"The Program Dependence Graph and Its Use in Optimization";"1987";"ACM 0164-0925/87/0700-0319"; "31 pages".
  • "Kandemir et al";"An Evaluation of Code and Data Optimizations in the Context of Disk Power Reduction";"Aug. 10, 2005";"6 pages".
  • "Kennedy et al";"maximizing loop parallelism and improving data locality via loop fusion and distribution";"Aug. 1993";"20 pages".
  • "Megido et al";"Optimal Weighted Loop Fusion for Parallel Programs";"1997";"10 pages".