at.dms.kjc.backendSupport
Enum SchedulingPhase

java.lang.Object
  extended by java.lang.Enum<SchedulingPhase>
      extended by at.dms.kjc.backendSupport.SchedulingPhase
All Implemented Interfaces:
Serializable, Comparable<SchedulingPhase>

public enum SchedulingPhase
extends Enum<SchedulingPhase>

What phase of Slice graph scheduling is a bit of code generation associated with? This enum should tell: initialization, pump priming for software pipelining, or steady state.


Enum Constant Summary
INIT
          Indicates scheduling for initialization phase
PREINIT
          Indicates scheduling for pre-initialization phase
PRIMEPUMP
          indicates scheduling for "prime pump" phase in a software pipelined schedule
STEADY
          indicates schdulting for the steady state
 
Method Summary
static boolean isInitOrPrimepump(SchedulingPhase whichPhase)
          to determine if INIT || PRIMEPUMP.
static SchedulingPhase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SchedulingPhase[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PREINIT

public static final SchedulingPhase PREINIT
Indicates scheduling for pre-initialization phase


INIT

public static final SchedulingPhase INIT
Indicates scheduling for initialization phase


PRIMEPUMP

public static final SchedulingPhase PRIMEPUMP
indicates scheduling for "prime pump" phase in a software pipelined schedule


STEADY

public static final SchedulingPhase STEADY
indicates schdulting for the steady state

Method Detail

values

public static final SchedulingPhase[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SchedulingPhase c : SchedulingPhase.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SchedulingPhase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

isInitOrPrimepump

public static boolean isInitOrPrimepump(SchedulingPhase whichPhase)
to determine if INIT || PRIMEPUMP.