at.dms.kjc.rstream
Class FFSPeekBuffer
java.lang.Object
at.dms.kjc.rstream.FusionState
at.dms.kjc.rstream.FilterFusionState
at.dms.kjc.rstream.FFSPeekBuffer
Deprecated.
@Deprecated
public class FFSPeekBuffer
- extends FilterFusionState
This (used to) implement the filter abstraction by using a
separate pop buffer and peek buffer. It would copy the non-pop'ed
item from the pop buffer to the push buffer after the filter has fired,
before the filter fires, the peek buffer was copied into the pop buffer.
But it is no longer maintained.
- Author:
- Michael Gordon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FFSPeekBuffer
protected FFSPeekBuffer(FlatNode fnode)
- Deprecated.
getBufferSize
public int getBufferSize(FlatNode prev,
boolean init)
- Deprecated.
- Description copied from class:
FilterFusionState
- return the incoming buffer size for this filter
- Specified by:
getBufferSize
in class FilterFusionState
sharedBufferVar
public void sharedBufferVar(JVariableDefinition buf)
- Deprecated.
- Description copied from class:
FilterFusionState
- Set the incoming (pop) buffer var of this filter to be *buf*.
This is called by an unnecesary duplicate splitters to make sure that
its downstream neighbors share the same incoming buffer
- Overrides:
sharedBufferVar
in class FilterFusionState
initTasks
public void initTasks(Vector<JFieldDeclaration> fields,
Vector<JMethodDeclaration> functions,
JBlock initFunctionCalls,
JBlock main)
- Deprecated.
- Description copied from class:
FilterFusionState
- Add any necessary initialization tasks to the SIR code containers
- Specified by:
initTasks
in class FilterFusionState
getWork
public JStatement[] getWork(JBlock enclosingBlock,
boolean isInit)
- Deprecated.
- Description copied from class:
FilterFusionState
- get the SIR block representing the imperative code necessary to execute
this filter in the init stage (*isInit* == true) or the steady-state
stage (*isInit* == false)
- Specified by:
getWork
in class FilterFusionState