LLVM  14.0.0git
Macros | Functions
WebAssemblyAsmParser.cpp File Reference
#include "AsmParser/WebAssemblyAsmTypeCheck.h"
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "MCTargetDesc/WebAssemblyTargetStreamer.h"
#include "TargetInfo/WebAssemblyTargetInfo.h"
#include "Utils/WebAssemblyTypeUtilities.h"
#include "Utils/WebAssemblyUtilities.h"
#include "WebAssembly.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCParser/MCParsedAsmOperand.h"
#include "llvm/MC/MCParser/MCTargetAsmParser.h"
#include "llvm/MC/MCSectionWasm.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolWasm.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/TargetRegistry.h"
#include "WebAssemblyGenAsmMatcher.inc"
Include dependency graph for WebAssemblyAsmParser.cpp:

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 char * getSubtargetFeatureName (uint64_t Val)
 
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 271 of file WebAssemblyAsmParser.cpp.

◆ GET_MATCHER_IMPLEMENTATION

#define GET_MATCHER_IMPLEMENTATION

Definition at line 1142 of file WebAssemblyAsmParser.cpp.

◆ GET_REGISTER_MATCHER

#define GET_REGISTER_MATCHER

Definition at line 1140 of file WebAssemblyAsmParser.cpp.

◆ GET_SUBTARGET_FEATURE_NAME

#define GET_SUBTARGET_FEATURE_NAME

Definition at line 1141 of file WebAssemblyAsmParser.cpp.

Function Documentation

◆ GetMnemonic()

StringRef GetMnemonic ( unsigned  Opc)

Definition at line 1145 of file WebAssemblyAsmParser.cpp.

References assert().

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

◆ getSubtargetFeatureName()

static const char* getSubtargetFeatureName ( uint64_t  Val)
static

◆ LLVMInitializeWebAssemblyAsmParser()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyAsmParser ( )