at.dms.kjc.sir.linear
Class LinearDotSimple
java.lang.Object
at.dms.kjc.StreamItDot
at.dms.kjc.sir.linear.LinearDot
at.dms.kjc.sir.linear.LinearDotSimple
- All Implemented Interfaces:
- AttributeStreamVisitor
public class LinearDotSimple
- extends LinearDot
This is like LinearDot except that the node labels are only
the names and not the IO rates. Makes for easier reading.
Method Summary |
String |
getClusterString(SIRStream self)
Override the string used to create a new subgraph, to color it if we have a
linear rep for it. |
static void |
printGraph(SIRStream str,
String filename,
LinearAnalyzer lfa,
LinearRedundancyAnalyzer lra)
Prints dot graph of to , using LinearAnalyzer lfa
and LinearRedundancyAnalyzer lra. |
Object |
visitFilter(SIRFilter self,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JMethodDeclaration init,
JMethodDeclaration work,
CType inputType,
CType outputType)
Override visitFilter to color filters that compute linear functions. |
Methods inherited from class at.dms.kjc.StreamItDot |
compile, getName, makeFilterLabel, makeLabelledNode, print, printGraph, printGraph, processWorkFunction, visitFeedbackLoop, visitJoiner, visitPhasedFilter, visitPipeline, visitSplitJoin, visitSplitter, visitStructure |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearDotSimple
public LinearDotSimple(PrintStream outputstream,
LinearAnalyzer anal,
LinearRedundancyAnalyzer lra)
- Make a LinearDotSimple printer that prints out the dot graph using information
from the linear filter analyzer to annotate the graph (eg color it silly).
Also include redundancy information.
visitFilter
public Object visitFilter(SIRFilter self,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JMethodDeclaration init,
JMethodDeclaration work,
CType inputType,
CType outputType)
- Override visitFilter to color filters that compute linear functions.
- Specified by:
visitFilter
in interface AttributeStreamVisitor
- Overrides:
visitFilter
in class LinearDot
getClusterString
public String getClusterString(SIRStream self)
- Override the string used to create a new subgraph, to color it if we have a
linear rep for it.
- Overrides:
getClusterString
in class LinearDot
printGraph
public static void printGraph(SIRStream str,
String filename,
LinearAnalyzer lfa,
LinearRedundancyAnalyzer lra)
- Prints dot graph of to , using LinearAnalyzer lfa
and LinearRedundancyAnalyzer lra.