at.dms.kjc.backendSupport
Class CodeStoreHelperSplitter

java.lang.Object
  extended by at.dms.kjc.backendSupport.MinCodeUnit
      extended by at.dms.kjc.backendSupport.CodeStoreHelper
          extended by at.dms.kjc.backendSupport.CodeStoreHelperSplitter
All Implemented Interfaces:
SIRCodeUnit

public class CodeStoreHelperSplitter
extends CodeStoreHelper


Field Summary
 
Fields inherited from class at.dms.kjc.backendSupport.CodeStoreHelper
backEndBits, initMethod, initStage, INLINE_WORK, preWorkMethod, primePumpMethod, primePumpStage, sliceNode, steadyStage, uniqueID, workCounter, workMethod
 
Constructor Summary
CodeStoreHelperSplitter(OutputSliceNode node, BackEndFactory backEndBits)
          Constructor
 
Method Summary
 JMethodDeclaration getInitStageMethod()
           
 JMethodDeclaration getPrimePumpMethod()
           
 JBlock getSteadyBlock()
           
 
Methods inherited from class at.dms.kjc.backendSupport.CodeStoreHelper
addHelperForSliceNode, findHelperForSliceNode, getInitMethod, getPreWorkMethod, getPrimePumpMethodForFilter, getUniqueID, getUsefulFields, getUsefulMethods, getWorkFunctionBlock, getWorkFunctionCall, getWorkMethod, reset, setInitMethod, setPreWorkMethod, setWorkMethod
 
Methods inherited from class at.dms.kjc.backendSupport.MinCodeUnit
addField, addFields, addMethod, addMethods, getFields, getMethods, setFields, setMethods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeStoreHelperSplitter

public CodeStoreHelperSplitter(OutputSliceNode node,
                               BackEndFactory backEndBits)
Constructor

Parameters:
node - The OutputSliceNode for the splitter
backEndBits - An instance of a subclass of a BackEndFactory to access backend-specific code / data.
Method Detail

getInitStageMethod

public JMethodDeclaration getInitStageMethod()
Specified by:
getInitStageMethod in class CodeStoreHelper
Returns:
the method we should call to execute the init stage.

getPrimePumpMethod

public JMethodDeclaration getPrimePumpMethod()
Specified by:
getPrimePumpMethod in class CodeStoreHelper
Returns:
The method to call for one execution of the filter in the prime pump stage.

getSteadyBlock

public JBlock getSteadyBlock()
Specified by:
getSteadyBlock in class CodeStoreHelper
Returns:
The block we should inline to execute the steady-state