public static enum LIRInstruction.OperandMode extends Enum<LIRInstruction.OperandMode>
Enum Constant and Description |
---|
ALIVE
The value must have been defined before.
|
DEF
The value must not have been defined before.
|
TEMP
The value must not have been defined before, and must not be used after the instruction.
|
USE
The value must have been defined before.
|
Modifier and Type | Method and Description |
---|---|
static LIRInstruction.OperandMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LIRInstruction.OperandMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LIRInstruction.OperandMode USE
TEMP
or DEF
operand. The value
can be used again after the instruction, so the instruction must not modify the register.public static final LIRInstruction.OperandMode ALIVE
public static final LIRInstruction.OperandMode TEMP
public static final LIRInstruction.OperandMode DEF
public static LIRInstruction.OperandMode[] values()
for (LIRInstruction.OperandMode c : LIRInstruction.OperandMode.values()) System.out.println(c);
public static LIRInstruction.OperandMode 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 null