## The Omega Test: a fast and practical integer programming algorithm for dependence analysis (1992)

### Cached

### Download Links

- [www.cs.umd.edu]
- [www.cs.wm.edu]
- [www.cs.wm.edu]
- [www.cs.tamu.edu]
- [www.eng.utah.edu]
- [www.cs.cmu.edu]
- [www.cs.cmu.edu]
- [www-2.cs.cmu.edu]
- DBLP

### Other Repositories/Bibliography

Venue: | Communications of the ACM |

Citations: | 451 - 15 self |

### BibTeX

@ARTICLE{Pugh92theomega,

author = {William Pugh},

title = {The Omega Test: a fast and practical integer programming algorithm for dependence analysis},

journal = {Communications of the ACM},

year = {1992},

volume = {8},

pages = {4--13}

}

### Years of Citing Articles

### OpenURL

### Abstract

The Omega testi s ani nteger programmi ng algori thm that can determi ne whether a dependence exi sts between two array references, and i so, under what condi7: ns. Conventi nalwi[A m holds thati nteger programmiB techni:36 are far too expensi e to be used for dependence analysi6 except as a method of last resort for si:8 ti ns that cannot be deci:A by si[976 methods. We present evi[77B that suggests thiwi sdomi s wrong, and that the Omega testi s competi ti ve wi th approxi mate algori thms usedi n practi ce and sui table for usei n producti on compi lers. Experi ments suggest that, for almost all programs, the average ti me requi red by the Omega test to determi ne the di recti on vectors for an array pai ri s less than 500 secs on a 12 MIPS workstati on. The Omega testi based on an extensi n of Four i0-Motzki var i ble eli937 ti n (aliB: r programmiA method) toi nteger programmi ng, and has worst-case exponenti al ti me complexi ty. However, we show that for manysiB7 ti ns i whi h ...

### Citations

441 |
Optimizing Supercompilers for Supercomputers
- Wolfe
- 1989
(Show Context)
Citation Context ...lexity. Dependence analysis is often structured as a decision problem: tests simply answer yes or no. Compilers and other program restructuring tools need to know the data dependence direction vector =-=[Wol82]-=- and data dependence distance vector [KMC72, Mur71] that describes the relation between the iterations in which the conflicting reads/writes occur. The data dependence distance vector describes the di... |

348 | Dependence Analysis for Supercomputing - Banerjee - 1988 |

293 | Automatic translation of fortran programs to vector form - Allen, Kennedy - 1987 |

196 | Scanning polyhedra with DO loops
- Ancourt, Irigoin
- 1991
(Show Context)
Citation Context ...ng Loop Bounds The Omega test can be used to determine appropriate loop bounds when interchanging non-rectangular loops. This use of integer programming and projection to perform this is described by =-=[AI91]-=-. 6 Performance We have implemented the Omega test in Wolfe's tiny tool [Wol91]. We handle min and max expressions in loop bounds and symbolic constants, and compute exact sets of direction vectors (a... |

138 | Practical dependence testing
- Goff, Kennedy, et al.
- 1991
(Show Context)
Citation Context ...ant tests and Banerjee’s Generalized GCD tests. Of the remaining 9% of the cases, they found that their SVPC, Acyclic or Loop Residue tests could be applied in 86% of the unique cases. The Delta tes=-=t [GKT91]-=- works by searching for dependence distances that can be easily determined, and then propagating that information with the intent of making it possible to easily determine other dependence distances p... |

128 | Interprocedural Dependence Analysis and Parallelization - Burke, Cytron - 1986 |

126 |
Fourier-Motzkin elimination and its dual
- Dantzig, Eaves
- 1973
(Show Context)
Citation Context ...imensions and repeat the above process, eventually getting to problems in one dimension. 2.3.1 Detecting real solutions using Fourier-Motzkin variable elimination Fourier-Motzkin variable elimination =-=[DE73] e-=-liminates a variable from a linear programming problem. Intuitively, Fourier-Motzkin variable elimination finds the n − 1 dimensional shadow cast by an n dimensional object. 4sFigure 2: A visual dep... |

120 |
Efficient and exact data dependence analysis
- Maydan, Hennessy, et al.
- 1991
(Show Context)
Citation Context ... endfor The flow/anti dependence distances for the example above are all the distances that satisfy {−4 ≤ ∆j ≤ 4; −7 ≤ ∆i − ∆j, ∆i +∆j ≤ 10; ∆i ≤ 9} except for {∆i =9;∆=-=j =0}. Maydan, Hennessy and Lam [MHL91]-=- use memoization to obtain better performance. Memoization could be added to the Omega test. However, the cost of computing a hash key and verifying a cache hit would be about 2-4 times the copying co... |

90 |
Semantical interprocedural parallelization: an overview of the pips project, in:ICS
- Irigoin, Jouvelot, et al.
- 1991
(Show Context)
Citation Context ...ng loop bounds. However, they are difficult to use for determining the existence of integer solutions. Ancourt and Irigoin [AI91] do not give any performance data for their algorithm. A recent report =-=[IJT91]-=- on the PIPS project mentions that Fourier-Motzkin variable elimination is used to analyze dependences (based on the work described in [AI91]). The methods used are not fully described, but the basic ... |

87 | Dependence analysis for subscripted variables and its application to program transformations - ALLEN |

82 | A technique for summarizing data access and its use in parallelism enhancing transformations - Balasundaram, Kennedy - 1989 |

81 | On the number of operations simultaneously executable in Fortran-like prograrns and their resulting speedup - Kuck, Muraoka, et al. - 1972 |

71 |
Deciding linear inequalities by computing loop residues
- Shostak
- 1981
(Show Context)
Citation Context ... the number of constraints, a process that takes O(mn 2 ) worst-case time. They found [MHL91] that this test could be applied in over 1/4 of the unique cases encountered. The “Loop Residue” algori=-=thm [Sho81] can b-=-e applied in just those cases where each constraint is of the form xi ≥ xj + c, xi ≥ c, orc ≥ xi. In a set of constraints with this property, Fourier-Motzkin variable elimination is exact and pr... |

63 |
Tseng: The power test for data dependency
- Wolfe, C
- 1992
(Show Context)
Citation Context ...e constraints. 3Nonlinear subscripts Integer programming dependence analysis methods allow us to properly handle symbolic constants [LT88, HP90] and some types of min and max functions in loop bounds =-=[WT92]-=- and conditional assignments [LC90]. For example, even if we had no information about the value of n, wewouldliketobeabletodecidethat there are no flow dependences in the following program: for i = 1 ... |

61 |
A loop restructuring research tool
- Wolfe
- 1990
(Show Context)
Citation Context ... when interchanging non-rectangular loops. This use of integer programming and projection to perform this is described by [AI91]. 6 Performance We have implemented the Omega test in Wolfe’s tiny too=-=l [Wol91]-=-. We handle min and max expressions in loop bounds and symbolic constants, and compute exact sets of direction vectors (as opposed to the compressed direction vectors normally generated by tiny). We a... |

44 | Symbolic dependence analysis for high performance parallelizing compilers - Haghighat, Polychronopoulos - 1990 |

40 |
Uniform techniques for loop optimization
- Pugh
(Show Context)
Citation Context ...tion tools. For example, it can be used for determining loop bounds after loop interchange [AI91], and we have made extensive use of it in work that considers loop transformations in a uniform manner =-=[Pug91]-=-. 11 Acknowledgments Thanks to everyone who gave me feedback on this work, especially Michael Wolfe and the anonymous referee who provided detailed comments, as well as to my research group (Dave Wonn... |

21 | Parallelism Exposure and Exploitation in Programs - Muraoka - 1971 |

19 | Experience with Interprocedural Analysis of Array Side Effects - Havlak, Kennedy - 1990 |

17 | Introducing symbolic problem solving techniques in the dependence testing phases of a vectorizer - Lichnewsky, Thomasset - 1988 |

16 |
Interprocedural analysis for program restructuring with parafrase
- Triolet
- 1985
(Show Context)
Citation Context ...orks in practice. Lu and Chen describe [LC90] an integer programming algorithm for dependence analysis. However, their method appears prohibitively expensive for use in a production compiler. Triolet =-=[Tri85]-=- used Fourier-Motzkin techniques for representing affected array regions in interprocedural analysis. Triolet found Fourier-Motzkin techniques to be expensive (22 to 28 times longer than using simpler... |

15 |
Dependence of multi-dimensional array references
- Wallace
- 1988
(Show Context)
Citation Context ...d 16sthe Delta test, we expect that it should be able to solve more problems exactly and efficiently than any one of them alone. 8 Related work on Exact Dependence Analysis The Constraint-Matrix test =-=[Wal88]-=- makes use of the simplex algorithm modified for integer programming. The Constraint-Matrix test can fail to terminate and it is not clear how efficiently it works in practice. Lu and Chen describe [L... |

14 | Data dependence analysis on multi-dimensional array references - Li, Yew, et al. |

6 | Some results on exact data dependence analysis - Li, Yew |

5 |
Subdomain dependence test for massive parallelism
- Lu, Chen
- 1990
(Show Context)
Citation Context ...s Integer programming dependence analysis methods allow us to properly handle symbolic constants [LT88, HP90] and some types of min and max functions in loop bounds [WT92] and conditional assignments =-=[LC90]-=-. For example, even if we had no information about the value of n, wewouldliketobeabletodecidethat there are no flow dependences in the following program: for i = 1 to n do a[i+n] = a[i] As previous a... |

3 |
Extending the Banerjee-Wolfe test to handle execution conditions
- Klappholz, Kong
- 1991
(Show Context)
Citation Context ... constants that cannot be determined at compile-time, we can produce a predicate that will allow us to determine at run-time if a particular dependence or dependence direction exists (as described by =-=[KK91]-=-). Alternatively, at compile time we could ask the user if the predicate is true. 5.3Summarizing Array References In interprocedural analysis, we need to characterize the portions of an array that may... |

1 | Languages and Compilers for Parallel Computing - Li, Yew, et al. - 1990 |

1 | Dependence Analysis jor Subscripted Variables and Its Application to Program Transjormatio ns - Allen - 1983 |

1 | Dantzig rmd B.C. Eaves. Fourier- Motzkin elirnnation and its dual - B |

1 | R6mi TrioIet. Semanticaf interprocedural parallelizatiorc An overview of the pips project - tigoin, Jouvelot - 1991 |

1 | Some results on exact data dependence anrdysis - Li, Yew - 1990 |

1 | Parallelism EzposuTe and Ezplottatton in Programs - Muraoka - 1971 |

1 | Optimizing Supercompilers jor Supercomput em - Wolfe - 1982 |