cetus.analysis
Class DDTDriver

java.lang.Object
  extended by cetus.analysis.AnalysisPass
      extended by cetus.analysis.DDTDriver

public class DDTDriver
extends AnalysisPass

Performs array data-dependence analysis on eligible loop nests in the program


Field Summary
 
Fields inherited from class cetus.analysis.AnalysisPass
program
 
Constructor Summary
DDTDriver(Program program)
          Constructor
 
Method Summary
 DDGraph analyzeLoopsForDependence(Loop loop)
          Analyze this loop and all inner loops to build a dependence graph for the loop nest with this loop as the outermost loop
 DDGraph getDDGraph(boolean summarize, Loop loop)
          Deprecated. This routine must no longer be used to get access to data dependence information Instead, obtain a copy of the dependence graph from Program object and use DDGraph API for details related to dependence information
 java.lang.String getPassName()
           
 void start()
          Performs whole program data-dependence analysis
 
Methods inherited from class cetus.analysis.AnalysisPass
run, startAndCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDTDriver

public DDTDriver(Program program)
Constructor

Method Detail

start

public void start()
Performs whole program data-dependence analysis

Specified by:
start in class AnalysisPass

getPassName

public java.lang.String getPassName()
Specified by:
getPassName in class AnalysisPass

analyzeLoopsForDependence

public DDGraph analyzeLoopsForDependence(Loop loop)
Analyze this loop and all inner loops to build a dependence graph for the loop nest with this loop as the outermost loop


getDDGraph

public DDGraph getDDGraph(boolean summarize,
                          Loop loop)
Deprecated. This routine must no longer be used to get access to data dependence information Instead, obtain a copy of the dependence graph from Program object and use DDGraph API for details related to dependence information

Performs data-dependence analysis on the nest defined by loop and returns the dependence graph summarize = Direction Vectors summarized or not

Returns:
DDGraph - dependence graph for nest null if loop nest is not eligible for dependence analysis