public static enum LIRInstruction.OperandFlag extends Enum<LIRInstruction.OperandFlag>
Enum Constant and Description |
---|
COMPOSITE
The value can be a
CompositeValue . |
CONST
The value can be a
JavaConstant . |
HINT
The register allocator should try to assign a certain register to improve code quality.
|
ILLEGAL
The value can be
Value.ILLEGAL . |
REG
The value can be a
RegisterValue . |
STACK
The value can be a
StackSlot . |
UNINITIALIZED
The value can be uninitialized, e.g., a stack slot that has not written to before.
|
Modifier and Type | Method and Description |
---|---|
static LIRInstruction.OperandFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LIRInstruction.OperandFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LIRInstruction.OperandFlag REG
RegisterValue
.public static final LIRInstruction.OperandFlag STACK
StackSlot
.public static final LIRInstruction.OperandFlag COMPOSITE
CompositeValue
.public static final LIRInstruction.OperandFlag CONST
JavaConstant
.public static final LIRInstruction.OperandFlag ILLEGAL
Value.ILLEGAL
.public static final LIRInstruction.OperandFlag HINT
LIRInstruction.forEachRegisterHint(jdk.internal.jvmci.meta.Value, com.oracle.graal.lir.LIRInstruction.OperandMode, com.oracle.graal.lir.InstructionValueProcedure)
to access the register hints.public static final LIRInstruction.OperandFlag UNINITIALIZED
public static LIRInstruction.OperandFlag[] values()
for (LIRInstruction.OperandFlag c : LIRInstruction.OperandFlag.values()) System.out.println(c);
public static LIRInstruction.OperandFlag 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