at.dms.kjc.spacetime
Class SpaceTimeBackend

java.lang.Object
  extended by at.dms.kjc.spacetime.SpaceTimeBackend

public class SpaceTimeBackend
extends Object

The entry to the space time backend for raw.


Field Summary
static boolean FILTER_DEBUG_MODE
          Don't generate the work function code for a filter, instead produce debugging code.
static boolean NO_SWPIPELINE
          Should we not software pipeline the steady state.
static Map<String,Set<String>> prefixAssociations
          Saves output of StaticsProp until time to clean up ComputeCodeStore's
 
Constructor Summary
SpaceTimeBackend()
           
 
Method Summary
static double getCOMP_COMM_RATIO()
           
static GreedyBinPacking getGreedyBinPacking()
           
static RawChip getRawChip()
           
static SIRStructure[] getStructures()
           
static boolean isFILTER_DEBUG_MODE()
           
static boolean isNO_SWPIPELINE()
           
static void run(SIRStream str, JInterfaceDeclaration[] interfaces, SIRInterfaceTable[] interfaceTables, SIRStructure[] structs, SIRHelper[] helpers, SIRGlobal global)
          Top level method for SpaceTime backend, called via reflection from Main.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_DEBUG_MODE

public static boolean FILTER_DEBUG_MODE
Don't generate the work function code for a filter, instead produce debugging code. (referred to by TraceIRToC, DirectCommunication, BufferredCommunication)


NO_SWPIPELINE

public static boolean NO_SWPIPELINE
Should we not software pipeline the steady state. (relationship to KjcOptions.noswpipe? any difference?)


prefixAssociations

public static Map<String,Set<String>> prefixAssociations
Saves output of StaticsProp until time to clean up ComputeCodeStore's

Constructor Detail

SpaceTimeBackend

public SpaceTimeBackend()
Method Detail

run

public static void run(SIRStream str,
                       JInterfaceDeclaration[] interfaces,
                       SIRInterfaceTable[] interfaceTables,
                       SIRStructure[] structs,
                       SIRHelper[] helpers,
                       SIRGlobal global)
Top level method for SpaceTime backend, called via reflection from Main.

Parameters:
str - SIRStream from Kopi2SIR
interfaces - JInterfaceDeclaration[] from Kopi2SIR
interfaceTables - SIRInterfaceTable[] from Kopi2SIR
structs - SIRStructure[] from Kopi2SIR
helpers - SIRHelper[] from Kopi2SIR
global - SIRGlobal from Kopi2SIR

getRawChip

public static RawChip getRawChip()
Returns:
the RawChip

getStructures

public static SIRStructure[] getStructures()
Returns:
the structures

getCOMP_COMM_RATIO

public static double getCOMP_COMM_RATIO()
Returns:
the COMP_COMM_RATIO

isFILTER_DEBUG_MODE

public static boolean isFILTER_DEBUG_MODE()
Returns:
the FILTER_DEBUG_MODE

getGreedyBinPacking

public static GreedyBinPacking getGreedyBinPacking()
Returns:
the greedyBinPacking

isNO_SWPIPELINE

public static boolean isNO_SWPIPELINE()
Returns:
the nO_SWPIPELINE