Package com.aparapi.internal.instruction
Enum InstructionSet.ImmediateSpec
- java.lang.Object
-
- java.lang.Enum<InstructionSet.ImmediateSpec>
-
- com.aparapi.internal.instruction.InstructionSet.ImmediateSpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstructionSet.ImmediateSpec>
- Enclosing class:
- InstructionSet
public static enum InstructionSet.ImmediateSpec extends java.lang.Enum<InstructionSet.ImmediateSpec>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
private InstructionSet.TypeSpec[]
types
-
Constructor Summary
Constructors Modifier Constructor Description private
ImmediateSpec(java.lang.String _name, InstructionSet.TypeSpec... _types)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
InstructionSet.TypeSpec[]
getTypes()
static InstructionSet.ImmediateSpec
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstructionSet.ImmediateSpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final InstructionSet.ImmediateSpec NONE
-
UNKNOWN
public static final InstructionSet.ImmediateSpec UNKNOWN
-
Bconst
public static final InstructionSet.ImmediateSpec Bconst
-
Sconst
public static final InstructionSet.ImmediateSpec Sconst
-
Bcpci
public static final InstructionSet.ImmediateSpec Bcpci
-
Scpci
public static final InstructionSet.ImmediateSpec Scpci
-
Icpci
public static final InstructionSet.ImmediateSpec Icpci
-
Blvti
public static final InstructionSet.ImmediateSpec Blvti
-
Spc
public static final InstructionSet.ImmediateSpec Spc
-
Ipc
public static final InstructionSet.ImmediateSpec Ipc
-
Scpfi
public static final InstructionSet.ImmediateSpec Scpfi
-
Scpmi
public static final InstructionSet.ImmediateSpec Scpmi
-
ScpmiBB
public static final InstructionSet.ImmediateSpec ScpmiBB
-
ScpciBdim
public static final InstructionSet.ImmediateSpec ScpciBdim
-
BlvtiBconst
public static final InstructionSet.ImmediateSpec BlvtiBconst
-
-
Field Detail
-
name
private final java.lang.String name
-
types
private final InstructionSet.TypeSpec[] types
-
-
Constructor Detail
-
ImmediateSpec
private ImmediateSpec(java.lang.String _name, InstructionSet.TypeSpec... _types)
-
-
Method Detail
-
values
public static InstructionSet.ImmediateSpec[] 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 (InstructionSet.ImmediateSpec c : InstructionSet.ImmediateSpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstructionSet.ImmediateSpec valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
getTypes
public InstructionSet.TypeSpec[] getTypes()
-
-