|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.dms.kjc.cluster.TapeBase
at.dms.kjc.cluster.TapeFixedBase
at.dms.kjc.cluster.TapeFixedCircular
public class TapeFixedCircular
| Field Summary | |
|---|---|
protected String |
maskName
|
| Fields inherited from class at.dms.kjc.cluster.TapeFixedBase |
|---|
bufferName, extra, headName, items, popArrayRefPrefix, popArrayRefSuffix, tailName |
| Fields inherited from class at.dms.kjc.cluster.TapeBase |
|---|
dst, peek_name, pop_name, push_name, src, type, typeString |
| Constructor Summary | |
|---|---|
TapeFixedCircular(int source,
int dest,
CType type)
|
|
| Method Summary | |
|---|---|
String |
dataDeclaration()
Data declaration: in .c file if needed else noop. |
String |
dataDeclarationH()
Data declaration: in .h file if needed else noop. |
protected String |
headIncrementStmts()
|
String |
peekPrefix()
prefix to peek expression |
String |
peekSuffix()
suffix to peek expression |
String |
popExpr()
expression to pop an item: to end of statement. |
String |
popExprCleanup()
if expression to pop an item requires statements to clean up then this is cleanup. |
String |
popExprNoCleanup()
expression to pop an item, really an expression. |
String |
popNStmt(int N)
prefix to pop N items discarding them. |
String |
pushPrefix()
prefix before data expression to push. |
String |
pushSuffix()
suffix after data expression to push. |
protected String |
tailIncrementStmts()
|
protected String |
tailIncrementStmts(String numExpression)
|
protected String |
tailOffsetExpr(String offset)
|
String |
topOfWorkIteration()
Code to emit at top of work iteration. |
| Methods inherited from class at.dms.kjc.cluster.TapeFixedBase |
|---|
assignPeekToVar, assignPopToVar, downstreamCleanup, downstreamDeclaration, downstreamDeclarationExtern, getBufferName, getExtra, getHeadName, getItems, getTailName, pushbackCleanup, pushbackInit, pushbackPrefix, pushbackSuffix, upstreamCleanup, upstreamDeclaration, upstreamDeclarationExtern |
| Methods inherited from class at.dms.kjc.cluster.TapeBase |
|---|
getDest, getPeekName, getPopName, getPushName, getSource, getType, newTape, popManyItems, pushManyItems |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface at.dms.kjc.cluster.Tape |
|---|
assignPeekToVar, assignPopToVar, downstreamCleanup, downstreamDeclaration, downstreamDeclarationExtern, getDest, getPeekName, getPopName, getPushName, getSource, getType, popManyItems, pushbackCleanup, pushbackInit, pushbackPrefix, pushbackSuffix, pushManyItems, upstreamCleanup, upstreamDeclaration, upstreamDeclarationExtern |
| Field Detail |
|---|
protected String maskName
| Constructor Detail |
|---|
public TapeFixedCircular(int source,
int dest,
CType type)
source - dest - type - | Method Detail |
|---|
protected String tailOffsetExpr(String offset)
tailOffsetExpr in class TapeFixedBaseprotected String tailIncrementStmts(String numExpression)
tailIncrementStmts in class TapeFixedBaseprotected String tailIncrementStmts()
tailIncrementStmts in class TapeFixedBaseprotected String headIncrementStmts()
headIncrementStmts in class TapeFixedBasepublic String dataDeclarationH()
Tape
dataDeclarationH in interface TapedataDeclarationH in class TapeBasepublic String dataDeclaration()
Tape
dataDeclaration in interface TapedataDeclaration in class TapeBasepublic String topOfWorkIteration()
topOfWorkIteration in interface TapetopOfWorkIteration in class TapeBaseat.dms.kjc.cluster.Tape#topOfWorkIteration(at.dms.kjc.common.CodegenPrintWriter)public String pushPrefix()
Tape
pushPrefix in interface TapepushPrefix in class TapeBasepublic String pushSuffix()
Tape
pushSuffix in interface TapepushSuffix in class TapeBasepublic String popExpr()
Tape
popExpr in interface TapepopExpr in class TapeBasepublic String popExprNoCleanup()
Tape
popExprNoCleanup in interface TapepopExprNoCleanup in class TapeBasepublic String popExprCleanup()
Tape
popExprCleanup in interface TapepopExprCleanup in class TapeBasepublic String popNStmt(int N)
Tape
popNStmt in interface TapepopNStmt in class TapeBasepublic String peekPrefix()
Tape
peekPrefix in interface TapepeekPrefix in class TapeBasepublic String peekSuffix()
Tape
peekSuffix in interface TapepeekSuffix in class TapeBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||