MLIR  22.0.0git
Static Public Attributes | List of all members
mlir::WasmBinaryEncoding::OpCode Struct Reference

Byte encodings for Wasm instructions. More...

#include "mlir/Target/Wasm/WasmBinaryEncoding.h"

Static Public Attributes

static constexpr std::byte localGet {0x20}
 
static constexpr std::byte localSet {0x21}
 
static constexpr std::byte localTee {0x22}
 
static constexpr std::byte globalGet {0x23}
 
static constexpr std::byte constI32 {0x41}
 
static constexpr std::byte constI64 {0x42}
 
static constexpr std::byte constFP32 {0x43}
 
static constexpr std::byte constFP64 {0x44}
 
static constexpr std::byte clzI32 {0x67}
 
static constexpr std::byte ctzI32 {0x68}
 
static constexpr std::byte popcntI32 {0x69}
 
static constexpr std::byte addI32 {0x6A}
 
static constexpr std::byte subI32 {0x6B}
 
static constexpr std::byte mulI32 {0x6C}
 
static constexpr std::byte divSI32 {0x6d}
 
static constexpr std::byte divUI32 {0x6e}
 
static constexpr std::byte remSI32 {0x6f}
 
static constexpr std::byte remUI32 {0x70}
 
static constexpr std::byte andI32 {0x71}
 
static constexpr std::byte orI32 {0x72}
 
static constexpr std::byte xorI32 {0x73}
 
static constexpr std::byte shlI32 {0x74}
 
static constexpr std::byte shrSI32 {0x75}
 
static constexpr std::byte shrUI32 {0x76}
 
static constexpr std::byte rotlI32 {0x77}
 
static constexpr std::byte rotrI32 {0x78}
 
static constexpr std::byte clzI64 {0x79}
 
static constexpr std::byte ctzI64 {0x7A}
 
static constexpr std::byte popcntI64 {0x7B}
 
static constexpr std::byte addI64 {0x7C}
 
static constexpr std::byte subI64 {0x7D}
 
static constexpr std::byte mulI64 {0x7E}
 
static constexpr std::byte divSI64 {0x7F}
 
static constexpr std::byte divUI64 {0x80}
 
static constexpr std::byte remSI64 {0x81}
 
static constexpr std::byte remUI64 {0x82}
 
static constexpr std::byte andI64 {0x83}
 
static constexpr std::byte orI64 {0x84}
 
static constexpr std::byte xorI64 {0x85}
 
static constexpr std::byte shlI64 {0x86}
 
static constexpr std::byte shrSI64 {0x87}
 
static constexpr std::byte shrUI64 {0x88}
 
static constexpr std::byte rotlI64 {0x89}
 
static constexpr std::byte rotrI64 {0x8A}
 
static constexpr std::byte absF32 {0x8B}
 
static constexpr std::byte negF32 {0x8C}
 
static constexpr std::byte ceilF32 {0x8D}
 
static constexpr std::byte floorF32 {0x8E}
 
static constexpr std::byte truncF32 {0x8F}
 
static constexpr std::byte sqrtF32 {0x91}
 
static constexpr std::byte addF32 {0x92}
 
static constexpr std::byte subF32 {0x93}
 
static constexpr std::byte mulF32 {0x94}
 
static constexpr std::byte divF32 {0x95}
 
static constexpr std::byte minF32 {0x96}
 
static constexpr std::byte maxF32 {0x97}
 
static constexpr std::byte copysignF32 {0x98}
 
static constexpr std::byte absF64 {0x99}
 
static constexpr std::byte negF64 {0x9A}
 
static constexpr std::byte ceilF64 {0x9B}
 
static constexpr std::byte floorF64 {0x9C}
 
static constexpr std::byte truncF64 {0x9D}
 
static constexpr std::byte sqrtF64 {0x9F}
 
static constexpr std::byte addF64 {0xA0}
 
static constexpr std::byte subF64 {0xA1}
 
static constexpr std::byte mulF64 {0xA2}
 
static constexpr std::byte divF64 {0xA3}
 
static constexpr std::byte minF64 {0xA4}
 
static constexpr std::byte maxF64 {0xA5}
 
static constexpr std::byte copysignF64 {0xA6}
 
static constexpr std::byte wrap {0xA7}
 

Detailed Description

Byte encodings for Wasm instructions.

Definition at line 21 of file WasmBinaryEncoding.h.

Member Data Documentation

◆ absF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::absF32 {0x8B}
staticconstexpr

Definition at line 69 of file WasmBinaryEncoding.h.

◆ absF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::absF64 {0x99}
staticconstexpr

Definition at line 82 of file WasmBinaryEncoding.h.

◆ addF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::addF32 {0x92}
staticconstexpr

Definition at line 75 of file WasmBinaryEncoding.h.

◆ addF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::addF64 {0xA0}
staticconstexpr

Definition at line 88 of file WasmBinaryEncoding.h.

◆ addI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::addI32 {0x6A}
staticconstexpr

Definition at line 36 of file WasmBinaryEncoding.h.

◆ addI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::addI64 {0x7C}
staticconstexpr

Definition at line 54 of file WasmBinaryEncoding.h.

◆ andI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::andI32 {0x71}
staticconstexpr

Definition at line 43 of file WasmBinaryEncoding.h.

◆ andI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::andI64 {0x83}
staticconstexpr

Definition at line 61 of file WasmBinaryEncoding.h.

◆ ceilF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::ceilF32 {0x8D}
staticconstexpr

Definition at line 71 of file WasmBinaryEncoding.h.

◆ ceilF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::ceilF64 {0x9B}
staticconstexpr

Definition at line 84 of file WasmBinaryEncoding.h.

◆ clzI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::clzI32 {0x67}
staticconstexpr

Definition at line 33 of file WasmBinaryEncoding.h.

◆ clzI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::clzI64 {0x79}
staticconstexpr

Definition at line 51 of file WasmBinaryEncoding.h.

◆ constFP32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::constFP32 {0x43}
staticconstexpr

Definition at line 29 of file WasmBinaryEncoding.h.

◆ constFP64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::constFP64 {0x44}
staticconstexpr

Definition at line 30 of file WasmBinaryEncoding.h.

◆ constI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::constI32 {0x41}
staticconstexpr

Definition at line 27 of file WasmBinaryEncoding.h.

◆ constI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::constI64 {0x42}
staticconstexpr

Definition at line 28 of file WasmBinaryEncoding.h.

◆ copysignF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::copysignF32 {0x98}
staticconstexpr

Definition at line 81 of file WasmBinaryEncoding.h.

◆ copysignF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::copysignF64 {0xA6}
staticconstexpr

Definition at line 94 of file WasmBinaryEncoding.h.

◆ ctzI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::ctzI32 {0x68}
staticconstexpr

Definition at line 34 of file WasmBinaryEncoding.h.

◆ ctzI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::ctzI64 {0x7A}
staticconstexpr

Definition at line 52 of file WasmBinaryEncoding.h.

◆ divF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::divF32 {0x95}
staticconstexpr

Definition at line 78 of file WasmBinaryEncoding.h.

◆ divF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::divF64 {0xA3}
staticconstexpr

Definition at line 91 of file WasmBinaryEncoding.h.

◆ divSI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::divSI32 {0x6d}
staticconstexpr

Definition at line 39 of file WasmBinaryEncoding.h.

◆ divSI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::divSI64 {0x7F}
staticconstexpr

Definition at line 57 of file WasmBinaryEncoding.h.

◆ divUI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::divUI32 {0x6e}
staticconstexpr

Definition at line 40 of file WasmBinaryEncoding.h.

◆ divUI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::divUI64 {0x80}
staticconstexpr

Definition at line 58 of file WasmBinaryEncoding.h.

◆ floorF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::floorF32 {0x8E}
staticconstexpr

Definition at line 72 of file WasmBinaryEncoding.h.

◆ floorF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::floorF64 {0x9C}
staticconstexpr

Definition at line 85 of file WasmBinaryEncoding.h.

◆ globalGet

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::globalGet {0x23}
staticconstexpr

Definition at line 26 of file WasmBinaryEncoding.h.

◆ localGet

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::localGet {0x20}
staticconstexpr

Definition at line 23 of file WasmBinaryEncoding.h.

◆ localSet

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::localSet {0x21}
staticconstexpr

Definition at line 24 of file WasmBinaryEncoding.h.

◆ localTee

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::localTee {0x22}
staticconstexpr

Definition at line 25 of file WasmBinaryEncoding.h.

◆ maxF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::maxF32 {0x97}
staticconstexpr

Definition at line 80 of file WasmBinaryEncoding.h.

◆ maxF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::maxF64 {0xA5}
staticconstexpr

Definition at line 93 of file WasmBinaryEncoding.h.

◆ minF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::minF32 {0x96}
staticconstexpr

Definition at line 79 of file WasmBinaryEncoding.h.

◆ minF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::minF64 {0xA4}
staticconstexpr

Definition at line 92 of file WasmBinaryEncoding.h.

◆ mulF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::mulF32 {0x94}
staticconstexpr

Definition at line 77 of file WasmBinaryEncoding.h.

◆ mulF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::mulF64 {0xA2}
staticconstexpr

Definition at line 90 of file WasmBinaryEncoding.h.

◆ mulI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::mulI32 {0x6C}
staticconstexpr

Definition at line 38 of file WasmBinaryEncoding.h.

◆ mulI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::mulI64 {0x7E}
staticconstexpr

Definition at line 56 of file WasmBinaryEncoding.h.

◆ negF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::negF32 {0x8C}
staticconstexpr

Definition at line 70 of file WasmBinaryEncoding.h.

◆ negF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::negF64 {0x9A}
staticconstexpr

Definition at line 83 of file WasmBinaryEncoding.h.

◆ orI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::orI32 {0x72}
staticconstexpr

Definition at line 44 of file WasmBinaryEncoding.h.

◆ orI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::orI64 {0x84}
staticconstexpr

Definition at line 62 of file WasmBinaryEncoding.h.

◆ popcntI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::popcntI32 {0x69}
staticconstexpr

Definition at line 35 of file WasmBinaryEncoding.h.

◆ popcntI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::popcntI64 {0x7B}
staticconstexpr

Definition at line 53 of file WasmBinaryEncoding.h.

◆ remSI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::remSI32 {0x6f}
staticconstexpr

Definition at line 41 of file WasmBinaryEncoding.h.

◆ remSI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::remSI64 {0x81}
staticconstexpr

Definition at line 59 of file WasmBinaryEncoding.h.

◆ remUI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::remUI32 {0x70}
staticconstexpr

Definition at line 42 of file WasmBinaryEncoding.h.

◆ remUI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::remUI64 {0x82}
staticconstexpr

Definition at line 60 of file WasmBinaryEncoding.h.

◆ rotlI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::rotlI32 {0x77}
staticconstexpr

Definition at line 49 of file WasmBinaryEncoding.h.

◆ rotlI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::rotlI64 {0x89}
staticconstexpr

Definition at line 67 of file WasmBinaryEncoding.h.

◆ rotrI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::rotrI32 {0x78}
staticconstexpr

Definition at line 50 of file WasmBinaryEncoding.h.

◆ rotrI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::rotrI64 {0x8A}
staticconstexpr

Definition at line 68 of file WasmBinaryEncoding.h.

◆ shlI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::shlI32 {0x74}
staticconstexpr

Definition at line 46 of file WasmBinaryEncoding.h.

◆ shlI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::shlI64 {0x86}
staticconstexpr

Definition at line 64 of file WasmBinaryEncoding.h.

◆ shrSI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::shrSI32 {0x75}
staticconstexpr

Definition at line 47 of file WasmBinaryEncoding.h.

◆ shrSI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::shrSI64 {0x87}
staticconstexpr

Definition at line 65 of file WasmBinaryEncoding.h.

◆ shrUI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::shrUI32 {0x76}
staticconstexpr

Definition at line 48 of file WasmBinaryEncoding.h.

◆ shrUI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::shrUI64 {0x88}
staticconstexpr

Definition at line 66 of file WasmBinaryEncoding.h.

◆ sqrtF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::sqrtF32 {0x91}
staticconstexpr

Definition at line 74 of file WasmBinaryEncoding.h.

◆ sqrtF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::sqrtF64 {0x9F}
staticconstexpr

Definition at line 87 of file WasmBinaryEncoding.h.

◆ subF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::subF32 {0x93}
staticconstexpr

Definition at line 76 of file WasmBinaryEncoding.h.

◆ subF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::subF64 {0xA1}
staticconstexpr

Definition at line 89 of file WasmBinaryEncoding.h.

◆ subI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::subI32 {0x6B}
staticconstexpr

Definition at line 37 of file WasmBinaryEncoding.h.

◆ subI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::subI64 {0x7D}
staticconstexpr

Definition at line 55 of file WasmBinaryEncoding.h.

◆ truncF32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::truncF32 {0x8F}
staticconstexpr

Definition at line 73 of file WasmBinaryEncoding.h.

◆ truncF64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::truncF64 {0x9D}
staticconstexpr

Definition at line 86 of file WasmBinaryEncoding.h.

◆ wrap

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::wrap {0xA7}
staticconstexpr

Definition at line 95 of file WasmBinaryEncoding.h.

◆ xorI32

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::xorI32 {0x73}
staticconstexpr

Definition at line 45 of file WasmBinaryEncoding.h.

◆ xorI64

constexpr std::byte mlir::WasmBinaryEncoding::OpCode::xorI64 {0x85}
staticconstexpr

Definition at line 63 of file WasmBinaryEncoding.h.


The documentation for this struct was generated from the following file: