at.dms.kjc.sir.lowering.partition.linear
Class LinearPartitioner

java.lang.Object
  extended by at.dms.kjc.sir.lowering.partition.linear.LinearPartitioner

public class LinearPartitioner
extends Object


Field Summary
static int COLLAPSE_ANY
           
static int COLLAPSE_FREQ
           
static int COLLAPSE_LINEAR
           
static int COLLAPSE_NONE
          Different configurations to look for.
static boolean DEBUG
          Debugging.
static int MAX_MULT_TO_UNROLL
          The threshold for the number of multiplies in a node before we stop unrolling and generate a matrix multiply with loops.
 
Constructor Summary
LinearPartitioner(SIRStream str, LinearAnalyzer lfa)
           
 
Method Summary
static String COLLAPSE_STRING(int collapse)
          String names for collapse values
 at.dms.kjc.sir.lowering.partition.linear.LDPConfig getConfig(SIRStream str)
           
 HashMap[] getExecutionCounts()
          Returns the pre-computed execution counts for the stream that we're partitioning.
 LinearAnalyzer getLinearAnalyzer()
           
 SIRStream toplevel()
          This is the toplevel call for doing partitioning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Debugging.

See Also:
Constant Field Values

MAX_MULT_TO_UNROLL

public static final int MAX_MULT_TO_UNROLL
The threshold for the number of multiplies in a node before we stop unrolling and generate a matrix multiply with loops.

See Also:
Constant Field Values

COLLAPSE_NONE

public static final int COLLAPSE_NONE
Different configurations to look for.

See Also:
Constant Field Values

COLLAPSE_ANY

public static final int COLLAPSE_ANY
See Also:
Constant Field Values

COLLAPSE_LINEAR

public static final int COLLAPSE_LINEAR
See Also:
Constant Field Values

COLLAPSE_FREQ

public static final int COLLAPSE_FREQ
See Also:
Constant Field Values
Constructor Detail

LinearPartitioner

public LinearPartitioner(SIRStream str,
                         LinearAnalyzer lfa)
Method Detail

COLLAPSE_STRING

public static final String COLLAPSE_STRING(int collapse)
String names for collapse values


toplevel

public SIRStream toplevel()
This is the toplevel call for doing partitioning.


getConfig

public at.dms.kjc.sir.lowering.partition.linear.LDPConfig getConfig(SIRStream str)

getLinearAnalyzer

public LinearAnalyzer getLinearAnalyzer()

getExecutionCounts

public HashMap[] getExecutionCounts()
Returns the pre-computed execution counts for the stream that we're partitioning.