Go to the documentation of this file.
16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_ASMPARSER_TYPECHECK_H
17 #define LLVM_LIB_TARGET_WEBASSEMBLY_ASMPARSER_TYPECHECK_H
35 bool TypeErrorThisFunction =
false;
36 bool Unreachable =
false;
41 bool popType(
SMLoc ErrorLoc, std::optional<wasm::ValType>
EVT);
42 bool popRefType(
SMLoc ErrorLoc);
44 bool checkEnd(
SMLoc ErrorLoc,
bool PopVals =
false);
64 TypeErrorThisFunction =
false;
71 #endif // LLVM_LIB_TARGET_WEBASSEMBLY_ASMPARSER_TYPECHECK_H
Generic assembler parser interface, for use by target specific assembly parsers.
This is an optimization pass for GlobalISel generic memory operations.
void setLastSig(const wasm::WasmSignature &Sig)
The instances of the Type class are immutable: once they are created, they are never changed.
Instances of this class represent a single low-level machine instruction.
WebAssemblyAsmTypeCheck(MCAsmParser &Parser, const MCInstrInfo &MII, bool is64)
void localDecl(const SmallVector< wasm::ValType, 4 > &Locals)
Represents a location in source code.
bool typeCheck(SMLoc ErrorLoc, const MCInst &Inst, OperandVector &Operands)
mir Rename Register Operands
Represent a reference to a symbol from inside an expression.
bool endOfFunction(SMLoc ErrorLoc)
const CustomOperand< const MCSubtargetInfo & > Msg[]
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Interface to description of machine instruction set.
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
void funcDecl(const wasm::WasmSignature &Sig)