|
||||||||||
| 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.SIRRecursiveStub
public class SIRRecursiveStub
This class represents a stub for something that was found to be recursive in the front-end, and needs to be expanded within the IR. All instances should be eliminated in the expansion of the stream graph, and it should never be instantiated during normal IR manipulation.
| Field Summary |
|---|
| Fields inherited from class at.dms.kjc.sir.SIRStream |
|---|
fields, ident, init, methods, work |
| Constructor Summary | |
|---|---|
protected |
SIRRecursiveStub()
No argument constructor, FOR AUTOMATIC CLONING ONLY. |
|
SIRRecursiveStub(String className,
FEIRToSIR feir2sir)
|
|
SIRRecursiveStub(String className,
Kopi2SIR kopi2SIR)
|
| Method Summary | |
|---|---|
Object |
accept(AttributeStreamVisitor v)
Shouldn't be calling this. |
Object |
deepClone()
Returns a deep clone of this object. |
protected void |
deepCloneInto(SIRRecursiveStub other)
Clones all fields of this into |
SIRStream |
expand()
Returns the expanded version of this stub, which is obtained by parsing the original class definition one level deeper. |
CType |
getInputType()
Shouldn't be calling this. |
CType |
getOutputType()
Shouldn't be calling this. |
int |
getPopForSchedule(HashMap[] counts)
Shouldn't be calling this. |
int |
getPushForSchedule(HashMap[] counts)
Shouldn't be calling this. |
LIRStreamType |
getStreamType()
Shouldn't be calling this. |
| Methods inherited from class at.dms.kjc.sir.SIRStream |
|---|
addField, addField, addFields, addFields, addMethod, addMethods, addReplacementMethod, deepCloneInto, getFields, getIdent, getInit, getMethods, getParams, getStreamWithNumber, getTypeNameInC, getWork, hasMethod, insideFeedbackLoop, makeEmptyInit, makeEmptyInitWork, makeEmptyWork, needsInit, needsWork, setFields, setIdent, setInit, setInitWithoutReplacement, setMethods, setWork, 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 |
|---|
protected SIRRecursiveStub()
public SIRRecursiveStub(String className,
Kopi2SIR kopi2SIR)
public SIRRecursiveStub(String className,
FEIRToSIR feir2sir)
| Method Detail |
|---|
public SIRStream expand()
public CType getOutputType()
getOutputType in class SIRStreampublic CType getInputType()
getInputType in class SIRStreampublic int getPushForSchedule(HashMap[] counts)
getPushForSchedule in class SIRStreampublic int getPopForSchedule(HashMap[] counts)
getPopForSchedule in class SIRStreampublic LIRStreamType getStreamType()
getStreamType in class SIRStreampublic Object accept(AttributeStreamVisitor v)
accept in class SIROperatorpublic Object deepClone()
deepClone in interface DeepCloneabledeepClone in class SIRStreamprotected void deepCloneInto(SIRRecursiveStub other)
other
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||