public class DependenceAnalysis
extends java.lang.Object
Constructor and Description |
---|
DependenceAnalysis(Xnode loop)
Constructs and run the analysis of dependencies.
|
Modifier and Type | Method and Description |
---|---|
DependenceDirection |
getDirectionVector()
Get the direction vector.
|
int |
getDistanceVector()
Get the distance vector.
|
Xnode |
getDoStmt()
Get the do statement node used for this analysis.
|
java.lang.String |
getInductionVariable()
Get the induction variable string value of the iteration space.
|
java.lang.String |
getInfoMsg()
Get a formatted message that holds various information.
|
boolean |
isIndependent()
Check whether the iteration space has dependencies or not.
|
public DependenceAnalysis(Xnode loop) throws java.lang.Exception
loop
- The do statement node to be analyzed.java.lang.Exception
- If the given node is null or is not a do statement node.public java.lang.String getInductionVariable()
public int getDistanceVector()
public DependenceDirection getDirectionVector()
public boolean isIndependent()
public Xnode getDoStmt()
public java.lang.String getInfoMsg()