|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.SIROperator
at.dms.kjc.sir.SIRStream
at.dms.kjc.sir.SIRGlobal
public class SIRGlobal
This class represents a data that is available to all filters.
Field Summary |
---|
Fields inherited from class at.dms.kjc.sir.SIRStream |
---|
fields, ident, init, methods, work |
Constructor Summary | |
---|---|
SIRGlobal()
|
Method Summary | |
---|---|
Object |
accept(AttributeStreamVisitor v)
|
CType |
getInputType()
Returns the input type of this. |
CType |
getOutputType()
Returns the output type of this. |
int |
getPopForSchedule(HashMap[] counts)
Same as getPushForSchedule, but with pop instead of push. |
int |
getPushForSchedule(HashMap[] counts)
Returns the number of items pushed out of this stream in one execution of the steady-state, given the steady-state execution counts specified by |
LIRStreamType |
getStreamType()
Returns the type of this stream. |
boolean |
needsInit()
Returns whether or not this class needs a call to an init function to be generated. |
boolean |
needsWork()
Returns whether or not this class needs a call to a work function to be generated. |
void |
setWork(JMethodDeclaration newWork)
Sets the work function. |
Methods inherited from class at.dms.kjc.sir.SIRStream |
---|
addField, addField, addFields, addFields, addMethod, addMethods, addReplacementMethod, deepClone, deepCloneInto, getFields, getIdent, getInit, getMethods, getParams, getStreamWithNumber, getTypeNameInC, getWork, hasMethod, insideFeedbackLoop, makeEmptyInit, makeEmptyInitWork, makeEmptyWork, setFields, setIdent, setInit, setInitWithoutReplacement, setMethods, toString |
Methods inherited from class at.dms.kjc.sir.SIROperator |
---|
assertMutable, deepCloneInto, getAncestors, getName, getNumber, getParent, getParents, getParentStructureAccess, getRelativeName, getShortIdent, hashCode, readResolve, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SIRGlobal()
Method Detail |
---|
public void setWork(JMethodDeclaration newWork)
SIRStream
setWork
in class SIRStream
public int getPushForSchedule(HashMap[] counts)
SIRStream
getPushForSchedule
in class SIRStream
public int getPopForSchedule(HashMap[] counts)
SIRStream
getPopForSchedule
in class SIRStream
public CType getOutputType()
SIRStream
getOutputType
in class SIRStream
public LIRStreamType getStreamType()
SIRStream
getStreamType
in class SIRStream
public CType getInputType()
SIRStream
getInputType
in class SIRStream
public boolean needsInit()
SIRStream
needsInit
in class SIRStream
public boolean needsWork()
SIRStream
needsWork
in class SIRStream
public Object accept(AttributeStreamVisitor v)
accept
in class SIROperator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |