at.dms.kjc.raw
Class RawBackend

java.lang.Object
  extended by at.dms.kjc.raw.RawBackend

public class RawBackend
extends Object


Field Summary
static boolean ALT_CODE_GEN
           
static HashMap[] executionCounts
           
static boolean FILTER_DEBUG_MODE
           
static HashMap<FlatNode,Integer> initExecutionCounts
           
static int rawColumns
           
static int rawRows
           
static Simulator simulator
           
static HashMap<FlatNode,Integer> steadyExecutionCounts
           
static SIRStructure[] structures
           
 
Constructor Summary
RawBackend()
           
 
Method Summary
static void addAll(HashSet<Object> set, Collection<Object> c)
           
static int getMult(FlatNode node, boolean init)
           
static void printCounts(HashMap counts)
           
static HashMap[] returnExecutionCounts(SIRStream str, GraphFlattener graphFlattener)
          Similar to createExecutionCounts, but returns a HashMap[] and does not go through the RawBackend per se.
static void run(SIRStream str, JInterfaceDeclaration[] interfaces, SIRInterfaceTable[] interfaceTables, SIRStructure[] structs, SIRHelper[] helpers, SIRGlobal global)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rawRows

public static int rawRows

rawColumns

public static int rawColumns

initExecutionCounts

public static HashMap<FlatNode,Integer> initExecutionCounts

steadyExecutionCounts

public static HashMap<FlatNode,Integer> steadyExecutionCounts

simulator

public static Simulator simulator

executionCounts

public static HashMap[] executionCounts

structures

public static SIRStructure[] structures

FILTER_DEBUG_MODE

public static boolean FILTER_DEBUG_MODE

ALT_CODE_GEN

public static boolean ALT_CODE_GEN
Constructor Detail

RawBackend

public RawBackend()
Method Detail

run

public static void run(SIRStream str,
                       JInterfaceDeclaration[] interfaces,
                       SIRInterfaceTable[] interfaceTables,
                       SIRStructure[] structs,
                       SIRHelper[] helpers,
                       SIRGlobal global)

addAll

public static void addAll(HashSet<Object> set,
                          Collection<Object> c)

printCounts

public static void printCounts(HashMap counts)

returnExecutionCounts

public static HashMap[] returnExecutionCounts(SIRStream str,
                                              GraphFlattener graphFlattener)
Similar to createExecutionCounts, but returns a HashMap[] and does not go through the RawBackend per se. For external use outside of the RawBackend.


getMult

public static int getMult(FlatNode node,
                          boolean init)