public static enum Interval.RegisterPriority extends Enum<Interval.RegisterPriority>
Enum Constant and Description |
---|
LiveAtLoopEnd
Priority level for intervals live at the end of a loop.
|
MustHaveRegister
Priority level for intervals that must be allocated to a register.
|
None
No special reason for an interval to be allocated a register.
|
ShouldHaveRegister
Priority level for intervals that should be allocated to a register.
|
Modifier and Type | Field and Description |
---|---|
static Interval.RegisterPriority[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
boolean |
greaterEqual(Interval.RegisterPriority other)
Determines if this priority is higher than or equal to a given priority.
|
boolean |
lessThan(Interval.RegisterPriority other)
Determines if this priority is lower than a given priority.
|
static Interval.RegisterPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interval.RegisterPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interval.RegisterPriority None
public static final Interval.RegisterPriority LiveAtLoopEnd
public static final Interval.RegisterPriority ShouldHaveRegister
public static final Interval.RegisterPriority MustHaveRegister
public static final Interval.RegisterPriority[] VALUES
public static Interval.RegisterPriority[] values()
for (Interval.RegisterPriority c : Interval.RegisterPriority.values()) System.out.println(c);
public static Interval.RegisterPriority valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean greaterEqual(Interval.RegisterPriority other)
public boolean lessThan(Interval.RegisterPriority other)