LLVM 20.0.0git
Namespaces | Macros | Functions
WebAssemblyAsmTypeCheck.cpp File Reference

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

#include "AsmParser/WebAssemblyAsmTypeCheck.h"
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "MCTargetDesc/WebAssemblyMCTypeUtilities.h"
#include "MCTargetDesc/WebAssemblyTargetStreamer.h"
#include "TargetInfo/WebAssemblyTargetInfo.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/MC/TargetRegistry.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/SourceMgr.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define DEBUG_TYPE   "wasm-asm-parser"
 

Functions

StringRef GetMnemonic (unsigned Opc)
 
static std::optional< std::string > llvm::checkStackTop (const SmallVectorImpl< wasm::ValType > &ExpectedStackTop, const SmallVectorImpl< wasm::ValType > &Got)
 

Detailed Description

This file is part of the WebAssembly Assembler.

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

Definition in file WebAssemblyAsmTypeCheck.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm-asm-parser"

Definition at line 39 of file WebAssemblyAsmTypeCheck.cpp.

Function Documentation

◆ GetMnemonic()

StringRef GetMnemonic ( unsigned  Opc)

Definition at line 1155 of file WebAssemblyAsmParser.cpp.

References assert().

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