LLVM 20.0.0git
Classes | Public Member Functions | List of all members
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 45 of file WebAssemblyAsmTypeCheck.cpp.

Member Function Documentation

◆ clear()

void llvm::WebAssemblyAsmTypeCheck::clear ( )
inline

Definition at line 97 of file WebAssemblyAsmTypeCheck.h.

References llvm::SmallVectorImpl< T >::clear().

◆ endOfFunction()

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

Definition at line 325 of file WebAssemblyAsmTypeCheck.cpp.

References assert(), and llvm::SmallVectorBase< Size_T >::empty().

Referenced by typeCheck().

◆ funcDecl()

void llvm::WebAssemblyAsmTypeCheck::funcDecl ( const wasm::WasmSignature Sig)

◆ localDecl()

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

◆ setLastSig()

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

Definition at line 93 of file WebAssemblyAsmTypeCheck.h.

◆ typeCheck()

bool llvm::WebAssemblyAsmTypeCheck::typeCheck ( SMLoc  ErrorLoc,
const MCInst Inst,
OperandVector Operands 
)

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