|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.lowering.partition.StreamTransform
public abstract class StreamTransform
This represents a symbolic transformation on a stream graph.
Field Summary | |
---|---|
protected int |
id
Identifier for this transform. |
Constructor Summary | |
---|---|
protected |
StreamTransform()
|
Method Summary | |
---|---|
void |
addPred(StreamTransform st)
Adds a predecessor child transform to this. |
void |
addSucc(StreamTransform st)
Adds a successor child transform to this. |
protected abstract SIRStream |
doMyTransform(SIRStream str)
|
SIRStream |
doTransform(SIRStream str)
Perform the transform on |
StreamTransform |
getPred(int i)
Gets the predecessor child transform from this. |
int |
getPredSize()
Returns the number of predecessors. |
StreamTransform |
getSucc(int i)
Gets the successor child transform from this. |
int |
getSuccSize()
Returns the number of successors. |
protected boolean |
isIdempotent()
Returns whether or not the deep set of transforms starting at this performs any fusion or fission on the child streams. |
void |
printHierarchy()
Prints hierarchy of stream transforms rooted at |
StreamTransform |
reduce()
If this is an idempotent transform, then returns an identity transform with no predecessors or sucessors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int id
Constructor Detail |
---|
protected StreamTransform()
Method Detail |
---|
protected abstract SIRStream doMyTransform(SIRStream str)
public final SIRStream doTransform(SIRStream str)
strand return new stream.
public void addPred(StreamTransform st)
public StreamTransform getPred(int i)
public int getPredSize()
public void addSucc(StreamTransform st)
public StreamTransform getSucc(int i)
public int getSuccSize()
public void printHierarchy()
st.
public final StreamTransform reduce()
protected boolean isIdempotent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |