ida.pelab.loopdistributionTool
Class TopDownLoopDistributor
java.lang.Object
ida.pelab.loopdistributionTool.TopDownLoopDistributor
public class TopDownLoopDistributor
- extends java.lang.Object
Method Summary |
static void |
applyForLoopDistribution(cetus.hir.Traversable programNode)
|
static cetus.hir.Traversable |
getEquivalentNodeLevel(cetus.hir.Statement currentNode,
cetus.hir.Traversable parentLevel)
|
static boolean |
isBackwardDependency(cetus.analysis.DDGraph.Arc dependency,
cetus.hir.Traversable parentLevel)
|
void |
printDependencies(cetus.analysis.DDGraph dg,
java.util.ArrayList<cetus.analysis.DDGraph.Arc> dependencies)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopDownLoopDistributor
public TopDownLoopDistributor()
applyForLoopDistribution
public static void applyForLoopDistribution(cetus.hir.Traversable programNode)
printDependencies
public void printDependencies(cetus.analysis.DDGraph dg,
java.util.ArrayList<cetus.analysis.DDGraph.Arc> dependencies)
isBackwardDependency
public static boolean isBackwardDependency(cetus.analysis.DDGraph.Arc dependency,
cetus.hir.Traversable parentLevel)
getEquivalentNodeLevel
public static cetus.hir.Traversable getEquivalentNodeLevel(cetus.hir.Statement currentNode,
cetus.hir.Traversable parentLevel)