|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.StreamItDot
at.dms.kjc.sir.linear.LinearDot
public class LinearDot
This class extends the main StreamIt dot (graph) printer to annotate the dot graphs with linear analysis information. It colors linear nodes blue, linear nodes with a constant component violet red and linear structures pink.
It also adds linear redundancy information
Nested Class Summary |
---|
Nested classes/interfaces inherited from class at.dms.kjc.StreamItDot |
---|
StreamItDot.NamePair |
Constructor Summary | |
---|---|
LinearDot(PrintStream outputstream,
LinearAnalyzer anal,
LinearRedundancyAnalyzer lra)
Make a LinearDot printer that prints out the dot graph using information from the linear filter analyzer to annotate the graph (eg color it silly). |
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. |
boolean |
hasRedundancyInformation()
returns true if we have redundancy information. |
String |
makeRedundancyString(SIRStream str)
Creates a string that represents the linear redundancy of this str. |
static void |
printGraph(SIRStream str,
String filename,
LinearAnalyzer lfa)
Prints dot graph of |
static void |
printGraph(SIRStream str,
String filename,
LinearAnalyzer lfa,
LinearRedundancyAnalyzer lra)
Prints dot graph of |
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 |
Constructor Detail |
---|
public LinearDot(PrintStream outputstream, LinearAnalyzer anal, LinearRedundancyAnalyzer lra)
Method Detail |
---|
public boolean hasRedundancyInformation()
public String makeRedundancyString(SIRStream str)
public Object visitFilter(SIRFilter self, JFieldDeclaration[] fields, JMethodDeclaration[] methods, JMethodDeclaration init, JMethodDeclaration work, CType inputType, CType outputType)
visitFilter
in interface AttributeStreamVisitor
visitFilter
in class StreamItDot
public String getClusterString(SIRStream self)
getClusterString
in class StreamItDot
public static void printGraph(SIRStream str, String filename, LinearAnalyzer lfa, LinearRedundancyAnalyzer lra)
public static void printGraph(SIRStream str, String filename, LinearAnalyzer lfa)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |