| Constructor and Description |
|---|
BanerjeeTest(SubscriptPair pair)
Constructs a new test problem with the specified
SubscriptPair. |
| Modifier and Type | Method and Description |
|---|---|
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
|
public BanerjeeTest(SubscriptPair pair)
SubscriptPair.pair - the input SubscriptPair object.public boolean isTestEligible()
DDTestisTestEligible in interface DDTestpublic boolean testDependence(DependenceVector dependence_vector)
DDTesttestDependence in interface DDTestdependence_vector - The dependence vector under which test needs to be performedpublic java.util.LinkedList<Loop> getCommonEnclosingLoops()
DDTestgetCommonEnclosingLoops in interface DDTest