|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcetus.analysis.BanerjeeTest
public class BanerjeeTest
Banerjee Test implements data-dependence testing for a pair of affine subscripts using Banerjee inequalities
| Constructor Summary | |
|---|---|
BanerjeeTest(SubscriptPair pair)
Constructor |
|
| Method Summary | |
|---|---|
java.util.LinkedList<Loop> |
getCommonEnclosingLoops()
Returns a list of loops from outermost to innermost that are common to the two expressions being tested for dependence, whether they are a pair of subscripts or a pair of whole array accesses |
boolean |
isTestEligible()
Returns whether the constructor for the dependence test determined whether it would be eligible to run the test on the pair of subscripts or not |
boolean |
testDependence(DependenceVector dependence_vector)
Runs the dependence test on a direction vector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BanerjeeTest(SubscriptPair pair)
normalSubscript1 - normalSubscript2 - loopnest - - Store loop nest ArrayListloopInfo - - Provide loop information for all loops in the nest| Method Detail |
|---|
public boolean isTestEligible()
DDTest
isTestEligible in interface DDTestpublic boolean testDependence(DependenceVector dependence_vector)
DDTest
testDependence in interface DDTestdependence_vector - The dependence vector under which test needs to be performed
public java.util.LinkedList<Loop> getCommonEnclosingLoops()
DDTest
getCommonEnclosingLoops in interface DDTest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||