LLVM: lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp File Reference (original) (raw)
This file is part of the WebAssembly Disassembler. More...
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "wasm-disassembler" |
| Functions | |
|---|---|
| static MCDisassembler * | createWebAssemblyDisassembler (const Target &T, const MCSubtargetInfo &STI, MCContext &Ctx) |
| LLVM_ABI LLVM_EXTERNAL_VISIBILITY void | LLVMInitializeWebAssemblyDisassembler () |
| static int | nextByte (ArrayRef< uint8_t > Bytes, uint64_t &Size) |
| static bool | nextLEB (int64_t &Val, ArrayRef< uint8_t > Bytes, uint64_t &Size, bool Signed) |
| static bool | parseLEBImmediate (MCInst &MI, uint64_t &Size, ArrayRef< uint8_t > Bytes, bool Signed) |
| template<typename T> | |
| bool | parseImmediate (MCInst &MI, uint64_t &Size, ArrayRef< uint8_t > Bytes) |
| Variables | |
|---|---|
| static constexpr int | WebAssemblyInstructionTableSize = 256 |
This file is part of the WebAssembly Disassembler.
It contains code to translate the data produced by the decoder into MCInsts.
Definition in file WebAssemblyDisassembler.cpp.
◆ DEBUG_TYPE
#define DEBUG_TYPE "wasm-disassembler"
◆ createWebAssemblyDisassembler()
◆ LLVMInitializeWebAssemblyDisassembler()
◆ nextByte()
◆ nextLEB()
◆ parseImmediate()
◆ parseLEBImmediate()
◆ WebAssemblyInstructionTableSize
| int WebAssemblyInstructionTableSize = 256 | staticconstexpr |
|---|