| Constructor and Description |
|---|
OmegaTest(DDArrayAccessInfo a1,
DDArrayAccessInfo a2,
java.util.LinkedList<Loop> common_enclosing_loops,
java.util.HashMap<Loop,LoopInfo> loopInfo) |
| 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
|
void |
printDirectionVector(java.util.HashMap<Loop,java.lang.Integer> dv,
java.util.LinkedList<Loop> nest) |
boolean |
testDependence(DependenceVector dependence_vector)
Runs the dependence test on a direction vector
|
public OmegaTest(DDArrayAccessInfo a1, DDArrayAccessInfo a2, java.util.LinkedList<Loop> common_enclosing_loops, java.util.HashMap<Loop,LoopInfo> loopInfo)
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 void printDirectionVector(java.util.HashMap<Loop,java.lang.Integer> dv, java.util.LinkedList<Loop> nest)
public java.util.LinkedList<Loop> getCommonEnclosingLoops()
DDTestgetCommonEnclosingLoops in interface DDTest