at.dms.kjc.sir.statespace
Class LinearRedundancyAnalyzer

java.lang.Object
  extended by at.dms.kjc.sir.statespace.LinearRedundancyAnalyzer

public class LinearRedundancyAnalyzer
extends Object

The LinearRedundancyAnalyzer tries to determine redundant computations across the firings of filters.
$Id: LinearRedundancyAnalyzer.java,v 1.3 2006/09/25 13:54:46 dimock Exp $


Constructor Summary
LinearRedundancyAnalyzer(LinearAnalyzer la)
          Main entry point for redundancy analysis.
 
Method Summary
 LinearRedundancy getRedundancy(SIRStream str)
          Returns the LinearRedundancy opject associated with the SIRStream str.
 boolean hasRedundancy(SIRStream str)
          Returns true if this linear redundancy analyzer has redundancy information for the passed SIRStream.
 String toString()
          Prints out the internal state of this analyzer for debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinearRedundancyAnalyzer

public LinearRedundancyAnalyzer(LinearAnalyzer la)
Main entry point for redundancy analysis. Gets passed a LinearAnalyzer and creates a new LinearRedundancyAnalyzer based on that.

Method Detail

hasRedundancy

public boolean hasRedundancy(SIRStream str)
Returns true if this linear redundancy analyzer has redundancy information for the passed SIRStream.


getRedundancy

public LinearRedundancy getRedundancy(SIRStream str)
Returns the LinearRedundancy opject associated with the SIRStream str.


toString

public String toString()
Prints out the internal state of this analyzer for debugging purposes.

Overrides:
toString in class Object