Package com.aparapi.internal.instruction
Enum InstructionSet.ByteCode
- All Implemented Interfaces:
Serializable,Comparable<InstructionSet.ByteCode>
- Enclosing class:
InstructionSet
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class<?> private Constructor<?> private final InstructionSet.ImmediateSpecprivate InstructionSet.LoadSpecprivate final InstructionSet.Operatorprivate final InstructionSet.PopSpecprivate final InstructionSet.PushSpecprivate InstructionSet.StoreSpec -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateByteCode()privateByteCode(Class<?> _class, InstructionSet.ImmediateSpec _immediate) privateByteCode(Class<?> _class, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop) privateByteCode(Class<?> _class, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop, InstructionSet.Operator _operator) privateByteCode(Class<?> _class, InstructionSet.ImmediateSpec _immediate, InstructionSet.PushSpec _push) privateByteCode(Class<?> _class, InstructionSet.LoadSpec _load, InstructionSet.ImmediateSpec _immediate, InstructionSet.PushSpec _push) privateByteCode(Class<?> _class, InstructionSet.LoadSpec _load, InstructionSet.PushSpec _push) privateByteCode(Class<?> _class, InstructionSet.LoadSpec _loadSpec, InstructionSet.StoreSpec _storeSpec, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop, InstructionSet.PushSpec _push, InstructionSet.Operator _operator) privateByteCode(Class<?> _class, InstructionSet.PopSpec _pop) privateByteCode(Class<?> _class, InstructionSet.PopSpec _pop, InstructionSet.PushSpec _push) privateByteCode(Class<?> _class, InstructionSet.PopSpec _pop, InstructionSet.PushSpec _push, InstructionSet.Operator _operator) privateByteCode(Class<?> _class, InstructionSet.PushSpec _push) privateByteCode(Class<?> _class, InstructionSet.StoreSpec _store, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop) privateByteCode(Class<?> _class, InstructionSet.StoreSpec _store, InstructionSet.PopSpec _pop) -
Method Summary
Modifier and TypeMethodDescriptionstatic Instructioncreate(MethodModel _methodModel, ByteReader _byteReader) static InstructionSet.ByteCodeget(int _idx) intgetCode()getLoad()getName()getPop()getPush()getStore()newInstruction(MethodModel _methodModel, ByteReader byteReader, boolean _isWide) booleanstatic InstructionSet.ByteCodeReturns the enum constant of this type with the specified name.static InstructionSet.ByteCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOP
-
ACONST_NULL
-
ICONST_M1
-
ICONST_0
-
ICONST_1
-
ICONST_2
-
ICONST_3
-
ICONST_4
-
ICONST_5
-
LCONST_0
-
LCONST_1
-
FCONST_0
-
FCONST_1
-
FCONST_2
-
DCONST_0
-
DCONST_1
-
BIPUSH
-
SIPUSH
-
LDC
-
LDC_W
-
LDC2_W
-
ILOAD
-
LLOAD
-
FLOAD
-
DLOAD
-
ALOAD
-
ILOAD_0
-
ILOAD_1
-
ILOAD_2
-
ILOAD_3
-
LLOAD_0
-
LLOAD_1
-
LLOAD_2
-
LLOAD_3
-
FLOAD_0
-
FLOAD_1
-
FLOAD_2
-
FLOAD_3
-
DLOAD_0
-
DLOAD_1
-
DLOAD_2
-
DLOAD_3
-
ALOAD_0
-
ALOAD_1
-
ALOAD_2
-
ALOAD_3
-
IALOAD
-
LALOAD
-
FALOAD
-
DALOAD
-
AALOAD
-
BALOAD
-
CALOAD
-
SALOAD
-
ISTORE
-
LSTORE
-
FSTORE
-
DSTORE
-
ASTORE
-
ISTORE_0
-
ISTORE_1
-
ISTORE_2
-
ISTORE_3
-
LSTORE_0
-
LSTORE_1
-
LSTORE_2
-
LSTORE_3
-
FSTORE_0
-
FSTORE_1
-
FSTORE_2
-
FSTORE_3
-
DSTORE_0
-
DSTORE_1
-
DSTORE_2
-
DSTORE_3
-
ASTORE_0
-
ASTORE_1
-
ASTORE_2
-
ASTORE_3
-
IASTORE
-
LASTORE
-
FASTORE
-
DASTORE
-
AASTORE
-
BASTORE
-
CASTORE
-
SASTORE
-
POP
-
POP2
-
DUP
-
DUP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AL_211
-
ILLEGAL_212
-
ILLEGAL_213
-
ILLEGAL_214
-
ILLEGAL_215
-
ILLEGAL_216
-
ILLEGAL_217
-
ILLEGAL_218
-
ILLEGAL_219
-
ILLEGAL_220
-
ILLEGAL_221
-
ILLEGAL_222
-
ILLEGAL_223
-
ILLEGAL_224
-
ILLEGAL_225
-
ILLEGAL_226
-
ILLEGAL_227
-
ILLEGAL_228
-
ILLEGAL_229
-
ILLEGAL_230
-
ILLEGAL_231
-
ILLEGAL_232
-
ILLEGAL_233
-
ILLEGAL_234
-
ILLEGAL_235
-
ILLEGAL_236
-
ILLEGAL_237
-
ILLEGAL_238
-
ILLEGAL_239
-
ILLEGAL_240
-
ILLEGAL_241
-
ILLEGAL_242
-
ILLEGAL_243
-
ILLEGAL_244
-
ILLEGAL_245
-
ILLEGAL_246
-
ILLEGAL_247
-
ILLEGAL_248
-
ILLEGAL_249
-
ILLEGAL_250
-
ILLEGAL_251
-
ILLEGAL_252
-
ILLEGAL_253
-
ILLEGAL_254
-
ILLEGAL_255
-
NONE
-
COMPOSITE_IF
-
COMPOSITE_IF_ELSE
-
COMPOSITE_FOR_SUN
-
COMPOSITE_FOR_ECLIPSE
-
COMPOSITE_ARBITRARY_SCOPE
-
COMPOSITE_WHILE
-
CLONE
-
INCREMENT
-
INLINE_ASSIGN
-
MULTI_ASSIGN
-
FAKEGOTO
-
FIELD_ARRAY_ELEMENT_INCREMENT
-
FIELD_ARRAY_ELEMENT_ASSIGN
-
HEAD
-
COMPOSITE_EMPTY_LOOP
-
COMPOSITE_DO_WHILE
-
-
Field Details
-
clazz
-
immediate
-
push
-
pop
-
operator
-
loadSpec
-
storeSpec
-
constructor
-
-
Constructor Details
-
ByteCode
private ByteCode(Class<?> _class, InstructionSet.LoadSpec _loadSpec, InstructionSet.StoreSpec _storeSpec, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop, InstructionSet.PushSpec _push, InstructionSet.Operator _operator) -
ByteCode
-
ByteCode
-
ByteCode
private ByteCode(Class<?> _class, InstructionSet.StoreSpec _store, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop) -
ByteCode
-
ByteCode
private ByteCode(Class<?> _class, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop) -
ByteCode
private ByteCode(Class<?> _class, InstructionSet.ImmediateSpec _immediate, InstructionSet.PopSpec _pop, InstructionSet.Operator _operator) -
ByteCode
private ByteCode(Class<?> _class, InstructionSet.LoadSpec _load, InstructionSet.ImmediateSpec _immediate, InstructionSet.PushSpec _push) -
ByteCode
-
ByteCode
private ByteCode(Class<?> _class, InstructionSet.ImmediateSpec _immediate, InstructionSet.PushSpec _push) -
ByteCode
-
ByteCode
private ByteCode(Class<?> _class, InstructionSet.PopSpec _pop, InstructionSet.PushSpec _push, InstructionSet.Operator _operator) -
ByteCode
-
ByteCode
private ByteCode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
getName
-
getImmediate
-
get
-
getPush
-
getPop
-
usesDouble
public boolean usesDouble() -
newInstruction
-
create
-
getOperator
-
getLoad
-
getStore
-