|
||||||||||
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 TapeFixedBase
protected String tailIncrementStmts(String numExpression)
tailIncrementStmts
in class TapeFixedBase
protected String tailIncrementStmts()
tailIncrementStmts
in class TapeFixedBase
protected String headIncrementStmts()
headIncrementStmts
in class TapeFixedBase
public String dataDeclarationH()
Tape
dataDeclarationH
in interface Tape
dataDeclarationH
in class TapeBase
public String dataDeclaration()
Tape
dataDeclaration
in interface Tape
dataDeclaration
in class TapeBase
public String topOfWorkIteration()
topOfWorkIteration
in interface Tape
topOfWorkIteration
in class TapeBase
at.dms.kjc.cluster.Tape#topOfWorkIteration(at.dms.kjc.common.CodegenPrintWriter)
public String pushPrefix()
Tape
pushPrefix
in interface Tape
pushPrefix
in class TapeBase
public String pushSuffix()
Tape
pushSuffix
in interface Tape
pushSuffix
in class TapeBase
public String popExpr()
Tape
popExpr
in interface Tape
popExpr
in class TapeBase
public String popExprNoCleanup()
Tape
popExprNoCleanup
in interface Tape
popExprNoCleanup
in class TapeBase
public String popExprCleanup()
Tape
popExprCleanup
in interface Tape
popExprCleanup
in class TapeBase
public String popNStmt(int N)
Tape
popNStmt
in interface Tape
popNStmt
in class TapeBase
public String peekPrefix()
Tape
peekPrefix
in interface Tape
peekPrefix
in class TapeBase
public String peekSuffix()
Tape
peekSuffix
in interface Tape
peekSuffix
in class TapeBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |