LLVM  15.0.0git
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 SmallVector< wasm::ValType, 4 > &Locals)
 
void setLastSig (const wasm::WasmSignature &Sig)
 
bool endOfFunction (SMLoc ErrorLoc)
 
bool typeCheck (SMLoc ErrorLoc, const MCInst &Inst, OperandVector &Operands)
 
void Clear ()
 

Detailed Description

Definition at line 27 of file WebAssemblyAsmTypeCheck.h.

Constructor & Destructor Documentation

◆ WebAssemblyAsmTypeCheck()

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

Definition at line 47 of file WebAssemblyAsmTypeCheck.cpp.

Member Function Documentation

◆ Clear()

void llvm::WebAssemblyAsmTypeCheck::Clear ( )
inline

Definition at line 60 of file WebAssemblyAsmTypeCheck.h.

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

◆ endOfFunction()

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

Definition at line 210 of file WebAssemblyAsmTypeCheck.cpp.

References llvm::reverse(), and llvm::to_string().

Referenced by typeCheck().

◆ funcDecl()

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

◆ localDecl()

void llvm::WebAssemblyAsmTypeCheck::localDecl ( const SmallVector< wasm::ValType, 4 > &  Locals)

Definition at line 57 of file WebAssemblyAsmTypeCheck.cpp.

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

◆ setLastSig()

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

Definition at line 56 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: