LLVM 22.0.0git
llvm::WebAssemblyAsmTypeCheck Class Referencefinal

#include "Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.h"

Public Member Functions

 WebAssemblyAsmTypeCheck (MCAsmParser &Parser, const MCInstrInfo &MII, bool Is64)
void funcDecl (const wasm::WasmSignature &Sig)
void localDecl (const SmallVectorImpl< wasm::ValType > &Locals)
void setLastSig (const wasm::WasmSignature &Sig)
bool endOfFunction (SMLoc ErrorLoc, bool ExactMatch)
bool typeCheck (SMLoc ErrorLoc, const MCInst &Inst, OperandVector &Operands)
void clear ()

Detailed Description

Definition at line 28 of file WebAssemblyAsmTypeCheck.h.

Constructor & Destructor Documentation

◆ WebAssemblyAsmTypeCheck()

llvm::WebAssemblyAsmTypeCheck::WebAssemblyAsmTypeCheck ( MCAsmParser & Parser,
const MCInstrInfo & MII,
bool Is64 )

Definition at line 46 of file WebAssemblyAsmTypeCheck.cpp.

Member Function Documentation

◆ clear()

void llvm::WebAssemblyAsmTypeCheck::clear ( )
inline

Definition at line 97 of file WebAssemblyAsmTypeCheck.h.

◆ endOfFunction()

bool llvm::WebAssemblyAsmTypeCheck::endOfFunction ( SMLoc ErrorLoc,
bool ExactMatch )

Definition at line 326 of file WebAssemblyAsmTypeCheck.cpp.

References assert().

Referenced by typeCheck().

◆ funcDecl()

◆ localDecl()

void llvm::WebAssemblyAsmTypeCheck::localDecl ( const SmallVectorImpl< wasm::ValType > & Locals)

Definition at line 56 of file WebAssemblyAsmTypeCheck.cpp.

References llvm::append_range().

◆ setLastSig()

void llvm::WebAssemblyAsmTypeCheck::setLastSig ( const wasm::WasmSignature & Sig)
inline

Definition at line 93 of file WebAssemblyAsmTypeCheck.h.

◆ typeCheck()


The documentation for this class was generated from the following files: