Package com.dylibso.chicory.wasm.types
Enum OpCode
- java.lang.Object
-
- java.lang.Enum<OpCode>
-
- com.dylibso.chicory.wasm.types.OpCode
-
- All Implemented Interfaces:
Serializable,Comparable<OpCode>
public enum OpCode extends Enum<OpCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpCodebyOpCode(int opcode)static WasmEncoding[]getSignature(OpCode o)intopcode()static OpCodevalueOf(String name)Returns the enum constant of this type with the specified name.static OpCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNREACHABLE
public static final OpCode UNREACHABLE
-
NOP
public static final OpCode NOP
-
BLOCK
public static final OpCode BLOCK
-
LOOP
public static final OpCode LOOP
-
IF
public static final OpCode IF
-
ELSE
public static final OpCode ELSE
-
END
public static final OpCode END
-
BR
public static final OpCode BR
-
BR_IF
public static final OpCode BR_IF
-
BR_TABLE
public static final OpCode BR_TABLE
-
RETURN
public static final OpCode RETURN
-
CALL
public static final OpCode CALL
-
CALL_INDIRECT
public static final OpCode CALL_INDIRECT
-
CALL_REF
public static final OpCode CALL_REF
-
DROP
public static final OpCode DROP
-
SELECT
public static final OpCode SELECT
-
SELECT_T
public static final OpCode SELECT_T
-
LOCAL_GET
public static final OpCode LOCAL_GET
-
LOCAL_SET
public static final OpCode LOCAL_SET
-
LOCAL_TEE
public static final OpCode LOCAL_TEE
-
GLOBAL_GET
public static final OpCode GLOBAL_GET
-
GLOBAL_SET
public static final OpCode GLOBAL_SET
-
TABLE_GET
public static final OpCode TABLE_GET
-
TABLE_SET
public static final OpCode TABLE_SET
-
I32_LOAD
public static final OpCode I32_LOAD
-
I64_LOAD
public static final OpCode I64_LOAD
-
F32_LOAD
public static final OpCode F32_LOAD
-
F64_LOAD
public static final OpCode F64_LOAD
-
I32_LOAD8_S
public static final OpCode I32_LOAD8_S
-
I32_LOAD8_U
public static final OpCode I32_LOAD8_U
-
I32_LOAD16_S
public static final OpCode I32_LOAD16_S
-
I32_LOAD16_U
public static final OpCode I32_LOAD16_U
-
I64_LOAD8_S
public static final OpCode I64_LOAD8_S
-
I64_LOAD8_U
public static final OpCode I64_LOAD8_U
-
I64_LOAD16_S
public static final OpCode I64_LOAD16_S
-
I64_LOAD16_U
public static final OpCode I64_LOAD16_U
-
I64_LOAD32_S
public static final OpCode I64_LOAD32_S
-
I64_LOAD32_U
public static final OpCode I64_LOAD32_U
-
I32_STORE
public static final OpCode I32_STORE
-
I64_STORE
public static final OpCode I64_STORE
-
F32_STORE
public static final OpCode F32_STORE
-
F64_STORE
public static final OpCode F64_STORE
-
I32_STORE8
public static final OpCode I32_STORE8
-
I32_STORE16
public static final OpCode I32_STORE16
-
I64_STORE8
public static final OpCode I64_STORE8
-
I64_STORE16
public static final OpCode I64_STORE16
-
I64_STORE32
public static final OpCode I64_STORE32
-
MEMORY_SIZE
public static final OpCode MEMORY_SIZE
-
MEMORY_GROW
public static final OpCode MEMORY_GROW
-
I32_CONST
public static final OpCode I32_CONST
-
I64_CONST
public static final OpCode I64_CONST
-
F32_CONST
public static final OpCode F32_CONST
-
F64_CONST
public static final OpCode F64_CONST
-
I32_EQZ
public static final OpCode I32_EQZ
-
I32_EQ
public static final OpCode I32_EQ
-
I32_NE
public static final OpCode I32_NE
-
I32_LT_S
public static final OpCode I32_LT_S
-
I32_LT_U
public static final OpCode I32_LT_U
-
I32_GT_S
public static final OpCode I32_GT_S
-
I32_GT_U
public static final OpCode I32_GT_U
-
I32_LE_S
public static final OpCode I32_LE_S
-
I32_LE_U
public static final OpCode I32_LE_U
-
I32_GE_S
public static final OpCode I32_GE_S
-
I32_GE_U
public static final OpCode I32_GE_U
-
I64_EQZ
public static final OpCode I64_EQZ
-
I64_EQ
public static final OpCode I64_EQ
-
I64_NE
public static final OpCode I64_NE
-
I64_LT_S
public static final OpCode I64_LT_S
-
I64_LT_U
public static final OpCode I64_LT_U
-
I64_GT_S
public static final OpCode I64_GT_S
-
I64_GT_U
public static final OpCode I64_GT_U
-
I64_LE_S
public static final OpCode I64_LE_S
-
I64_LE_U
public static final OpCode I64_LE_U
-
I64_GE_S
public static final OpCode I64_GE_S
-
I64_GE_U
public static final OpCode I64_GE_U
-
F32_EQ
public static final OpCode F32_EQ
-
F32_NE
public static final OpCode F32_NE
-
F32_LT
public static final OpCode F32_LT
-
F32_GT
public static final OpCode F32_GT
-
F32_LE
public static final OpCode F32_LE
-
F32_GE
public static final OpCode F32_GE
-
F64_EQ
public static final OpCode F64_EQ
-
F64_NE
public static final OpCode F64_NE
-
F64_LT
public static final OpCode F64_LT
-
F64_GT
public static final OpCode F64_GT
-
F64_LE
public static final OpCode F64_LE
-
F64_GE
public static final OpCode F64_GE
-
I32_CLZ
public static final OpCode I32_CLZ
-
I32_CTZ
public static final OpCode I32_CTZ
-
I32_POPCNT
public static final OpCode I32_POPCNT
-
I32_ADD
public static final OpCode I32_ADD
-
I32_SUB
public static final OpCode I32_SUB
-
I32_MUL
public static final OpCode I32_MUL
-
I32_DIV_S
public static final OpCode I32_DIV_S
-
I32_DIV_U
public static final OpCode I32_DIV_U
-
I32_REM_S
public static final OpCode I32_REM_S
-
I32_REM_U
public static final OpCode I32_REM_U
-
I32_AND
public static final OpCode I32_AND
-
I32_OR
public static final OpCode I32_OR
-
I32_XOR
public static final OpCode I32_XOR
-
I32_SHL
public static final OpCode I32_SHL
-
I32_SHR_S
public static final OpCode I32_SHR_S
-
I32_SHR_U
public static final OpCode I32_SHR_U
-
I32_ROTL
public static final OpCode I32_ROTL
-
I32_ROTR
public static final OpCode I32_ROTR
-
I64_CLZ
public static final OpCode I64_CLZ
-
I64_CTZ
public static final OpCode I64_CTZ
-
I64_POPCNT
public static final OpCode I64_POPCNT
-
I64_ADD
public static final OpCode I64_ADD
-
I64_SUB
public static final OpCode I64_SUB
-
I64_MUL
public static final OpCode I64_MUL
-
I64_DIV_S
public static final OpCode I64_DIV_S
-
I64_DIV_U
public static final OpCode I64_DIV_U
-
I64_REM_S
public static final OpCode I64_REM_S
-
I64_REM_U
public static final OpCode I64_REM_U
-
I64_AND
public static final OpCode I64_AND
-
I64_OR
public static final OpCode I64_OR
-
I64_XOR
public static final OpCode I64_XOR
-
I64_SHL
public static final OpCode I64_SHL
-
I64_SHR_S
public static final OpCode I64_SHR_S
-
I64_SHR_U
public static final OpCode I64_SHR_U
-
I64_ROTL
public static final OpCode I64_ROTL
-
I64_ROTR
public static final OpCode I64_ROTR
-
F32_ABS
public static final OpCode F32_ABS
-
F32_NEG
public static final OpCode F32_NEG
-
F32_CEIL
public static final OpCode F32_CEIL
-
F32_FLOOR
public static final OpCode F32_FLOOR
-
F32_TRUNC
public static final OpCode F32_TRUNC
-
F32_NEAREST
public static final OpCode F32_NEAREST
-
F32_SQRT
public static final OpCode F32_SQRT
-
F32_ADD
public static final OpCode F32_ADD
-
F32_SUB
public static final OpCode F32_SUB
-
F32_MUL
public static final OpCode F32_MUL
-
F32_DIV
public static final OpCode F32_DIV
-
F32_MIN
public static final OpCode F32_MIN
-
F32_MAX
public static final OpCode F32_MAX
-
F32_COPYSIGN
public static final OpCode F32_COPYSIGN
-
F64_ABS
public static final OpCode F64_ABS
-
F64_NEG
public static final OpCode F64_NEG
-
F64_CEIL
public static final OpCode F64_CEIL
-
F64_FLOOR
public static final OpCode F64_FLOOR
-
F64_TRUNC
public static final OpCode F64_TRUNC
-
F64_NEAREST
public static final OpCode F64_NEAREST
-
F64_SQRT
public static final OpCode F64_SQRT
-
F64_ADD
public static final OpCode F64_ADD
-
F64_SUB
public static final OpCode F64_SUB
-
F64_MUL
public static final OpCode F64_MUL
-
F64_DIV
public static final OpCode F64_DIV
-
F64_MIN
public static final OpCode F64_MIN
-
F64_MAX
public static final OpCode F64_MAX
-
F64_COPYSIGN
public static final OpCode F64_COPYSIGN
-
I32_WRAP_I64
public static final OpCode I32_WRAP_I64
-
I32_TRUNC_F32_S
public static final OpCode I32_TRUNC_F32_S
-
I32_TRUNC_F32_U
public static final OpCode I32_TRUNC_F32_U
-
I32_TRUNC_F64_S
public static final OpCode I32_TRUNC_F64_S
-
I32_TRUNC_F64_U
public static final OpCode I32_TRUNC_F64_U
-
I64_EXTEND_I32_S
public static final OpCode I64_EXTEND_I32_S
-
I64_EXTEND_I32_U
public static final OpCode I64_EXTEND_I32_U
-
I64_TRUNC_F32_S
public static final OpCode I64_TRUNC_F32_S
-
I64_TRUNC_F32_U
public static final OpCode I64_TRUNC_F32_U
-
I64_TRUNC_F64_S
public static final OpCode I64_TRUNC_F64_S
-
I64_TRUNC_F64_U
public static final OpCode I64_TRUNC_F64_U
-
F32_CONVERT_I32_S
public static final OpCode F32_CONVERT_I32_S
-
F32_CONVERT_I32_U
public static final OpCode F32_CONVERT_I32_U
-
F32_CONVERT_I64_S
public static final OpCode F32_CONVERT_I64_S
-
F32_CONVERT_I64_U
public static final OpCode F32_CONVERT_I64_U
-
F32_DEMOTE_F64
public static final OpCode F32_DEMOTE_F64
-
F64_CONVERT_I32_S
public static final OpCode F64_CONVERT_I32_S
-
F64_CONVERT_I32_U
public static final OpCode F64_CONVERT_I32_U
-
F64_CONVERT_I64_S
public static final OpCode F64_CONVERT_I64_S
-
F64_CONVERT_I64_U
public static final OpCode F64_CONVERT_I64_U
-
F64_PROMOTE_F32
public static final OpCode F64_PROMOTE_F32
-
I32_REINTERPRET_F32
public static final OpCode I32_REINTERPRET_F32
-
I64_REINTERPRET_F64
public static final OpCode I64_REINTERPRET_F64
-
F32_REINTERPRET_I32
public static final OpCode F32_REINTERPRET_I32
-
F64_REINTERPRET_I64
public static final OpCode F64_REINTERPRET_I64
-
I32_EXTEND_8_S
public static final OpCode I32_EXTEND_8_S
-
I32_EXTEND_16_S
public static final OpCode I32_EXTEND_16_S
-
I64_EXTEND_8_S
public static final OpCode I64_EXTEND_8_S
-
I64_EXTEND_16_S
public static final OpCode I64_EXTEND_16_S
-
I64_EXTEND_32_S
public static final OpCode I64_EXTEND_32_S
-
REF_NULL
public static final OpCode REF_NULL
-
REF_IS_NULL
public static final OpCode REF_IS_NULL
-
REF_FUNC
public static final OpCode REF_FUNC
-
I32_TRUNC_SAT_F32_S
public static final OpCode I32_TRUNC_SAT_F32_S
-
I32_TRUNC_SAT_F32_U
public static final OpCode I32_TRUNC_SAT_F32_U
-
I32_TRUNC_SAT_F64_S
public static final OpCode I32_TRUNC_SAT_F64_S
-
I32_TRUNC_SAT_F64_U
public static final OpCode I32_TRUNC_SAT_F64_U
-
I64_TRUNC_SAT_F32_S
public static final OpCode I64_TRUNC_SAT_F32_S
-
I64_TRUNC_SAT_F32_U
public static final OpCode I64_TRUNC_SAT_F32_U
-
I64_TRUNC_SAT_F64_S
public static final OpCode I64_TRUNC_SAT_F64_S
-
I64_TRUNC_SAT_F64_U
public static final OpCode I64_TRUNC_SAT_F64_U
-
MEMORY_INIT
public static final OpCode MEMORY_INIT
-
DATA_DROP
public static final OpCode DATA_DROP
-
MEMORY_COPY
public static final OpCode MEMORY_COPY
-
MEMORY_FILL
public static final OpCode MEMORY_FILL
-
TABLE_INIT
public static final OpCode TABLE_INIT
-
ELEM_DROP
public static final OpCode ELEM_DROP
-
TABLE_COPY
public static final OpCode TABLE_COPY
-
TABLE_GROW
public static final OpCode TABLE_GROW
-
TABLE_SIZE
public static final OpCode TABLE_SIZE
-
TABLE_FILL
public static final OpCode TABLE_FILL
-
-
Method Detail
-
values
public static OpCode[] 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 (OpCode c : OpCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpCode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
opcode
public int opcode()
-
byOpCode
public static OpCode byOpCode(int opcode)
-
getSignature
public static WasmEncoding[] getSignature(OpCode o)
-
-