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.

Functions
static MCDisassembler * createWebAssemblyDisassembler (const Target &T, const MCSubtargetInfo &STI, MCContext &Ctx)
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)

Detailed Description

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.

Macro Definition Documentation

DEBUG_TYPE

#define DEBUG_TYPE "wasm-disassembler"

Typedef Documentation

DecodeStatus

Function Documentation

createWebAssemblyDisassembler()

LLVMInitializeWebAssemblyDisassembler()

nextByte()

nextLEB()

parseImmediate()

parseLEBImmediate()