public static enum ILOCInstruction.Form extends Enum<ILOCInstruction.Form>
Enum Constant and Description |
---|
ADD |
ADD_I |
AND |
CALL |
CBR |
CMP_EQ |
CMP_GE |
CMP_GT |
CMP_LE |
CMP_LT |
CMP_NE |
DIV |
I2I |
JUMP |
LABEL |
LOAD |
LOAD_AI |
LOAD_AO |
LOAD_I |
MULT |
MULT_I |
NEG |
NOP |
NOT |
OR |
PHI |
POP |
PRINT |
PUSH |
RETURN |
STORE |
STORE_AI |
STORE_AO |
SUB |
Modifier and Type | Method and Description |
---|---|
static ILOCInstruction.Form |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILOCInstruction.Form[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ILOCInstruction.Form ADD
public static final ILOCInstruction.Form SUB
public static final ILOCInstruction.Form MULT
public static final ILOCInstruction.Form DIV
public static final ILOCInstruction.Form ADD_I
public static final ILOCInstruction.Form MULT_I
public static final ILOCInstruction.Form AND
public static final ILOCInstruction.Form OR
public static final ILOCInstruction.Form LOAD_I
public static final ILOCInstruction.Form LOAD
public static final ILOCInstruction.Form LOAD_AI
public static final ILOCInstruction.Form LOAD_AO
public static final ILOCInstruction.Form STORE
public static final ILOCInstruction.Form STORE_AI
public static final ILOCInstruction.Form STORE_AO
public static final ILOCInstruction.Form I2I
public static final ILOCInstruction.Form JUMP
public static final ILOCInstruction.Form CBR
public static final ILOCInstruction.Form CMP_LT
public static final ILOCInstruction.Form CMP_LE
public static final ILOCInstruction.Form CMP_EQ
public static final ILOCInstruction.Form CMP_GE
public static final ILOCInstruction.Form CMP_GT
public static final ILOCInstruction.Form CMP_NE
public static final ILOCInstruction.Form NOT
public static final ILOCInstruction.Form NEG
public static final ILOCInstruction.Form LABEL
public static final ILOCInstruction.Form PUSH
public static final ILOCInstruction.Form POP
public static final ILOCInstruction.Form CALL
public static final ILOCInstruction.Form RETURN
public static final ILOCInstruction.Form PRINT
public static final ILOCInstruction.Form NOP
public static final ILOCInstruction.Form PHI
public static ILOCInstruction.Form[] values()
for (ILOCInstruction.Form c : ILOCInstruction.Form.values()) System.out.println(c);
public static ILOCInstruction.Form 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 nullCopyright © 2019. All rights reserved.