ida.pelab.loopdistributionTool
Class TopDownLoopDistributor

java.lang.Object
  extended by ida.pelab.loopdistributionTool.TopDownLoopDistributor

public class TopDownLoopDistributor
extends java.lang.Object


Constructor Summary
TopDownLoopDistributor()
           
 
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
 

Constructor Detail

TopDownLoopDistributor

public TopDownLoopDistributor()
Method Detail

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)