LLVM 22.0.0git
WebAssemblyAsmParser.cpp File Reference

This file is part of the WebAssembly Assembler. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "wasm-asm-parser"
#define GET_ASSEMBLER_HEADER
#define GET_REGISTER_MATCHER
#define GET_SUBTARGET_FEATURE_NAME
#define GET_MATCHER_IMPLEMENTATION

Functions

static const chargetSubtargetFeatureName (uint64_t Val)
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyAsmParser ()
StringRef getMnemonic (unsigned Opc)

Detailed Description

This file is part of the WebAssembly Assembler.

It contains code to translate a parsed .s file into MCInsts.

Definition in file WebAssemblyAsmParser.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-asm-parser"

Definition at line 40 of file WebAssemblyAsmParser.cpp.

◆ GET_ASSEMBLER_HEADER

#define GET_ASSEMBLER_HEADER

Definition at line 311 of file WebAssemblyAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 1306 of file WebAssemblyAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 1304 of file WebAssemblyAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 1305 of file WebAssemblyAsmParser.cpp.

Function Documentation

◆ getMnemonic()

StringRef getMnemonic ( unsigned Opc)

Definition at line 1309 of file WebAssemblyAsmParser.cpp.

References assert(), and Opc.

Referenced by llvm::WebAssemblyAsmTypeCheck::typeCheck().

◆ getSubtargetFeatureName()

const char * getSubtargetFeatureName ( uint64_t Val)
static

References Float, and llvm::Integer.

◆ LLVMInitializeWebAssemblyAsmParser()

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyAsmParser ( )