Package com.tonic.analysis.ssa.lower
Enum StackScheduler.ScheduleType
- java.lang.Object
-
- java.lang.Enum<StackScheduler.ScheduleType>
-
- com.tonic.analysis.ssa.lower.StackScheduler.ScheduleType
-
- All Implemented Interfaces:
Serializable,Comparable<StackScheduler.ScheduleType>
- Enclosing class:
- StackScheduler
public static enum StackScheduler.ScheduleType extends Enum<StackScheduler.ScheduleType>
The role a scheduled entry plays - a synthesized local load or store, or the IR instruction itself.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTEAn instruction carried over from the IR, emitted once its operands are on the stack.LOADA synthesized load that brings an operand back from its assigned register onto the stack.STOREA synthesized store that parks a produced value in the register the allocator assigned it.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StackScheduler.ScheduleTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StackScheduler.ScheduleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOAD
public static final StackScheduler.ScheduleType LOAD
A synthesized load that brings an operand back from its assigned register onto the stack.
-
STORE
public static final StackScheduler.ScheduleType STORE
A synthesized store that parks a produced value in the register the allocator assigned it.
-
EXECUTE
public static final StackScheduler.ScheduleType EXECUTE
An instruction carried over from the IR, emitted once its operands are on the stack.
-
-
Method Detail
-
values
public static StackScheduler.ScheduleType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StackScheduler.ScheduleType c : StackScheduler.ScheduleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StackScheduler.ScheduleType 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 nameNullPointerException- if the argument is null
-
-