Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef wasm_WasmBuiltinModuleGenerated_h
#define wasm_WasmBuiltinModuleGenerated_h
/* This file is generated by wasm/GenerateBuiltinModules.py. Do not edit! */
#define FOR_EACH_BUILTIN_MODULE_FUNC(M) \
M(I8VecMul, "i8vecmul", IntrI8VecMul, Args_Int32_GeneralInt32Int32Int32Int32General, Instance::intrI8VecMul, true, BuiltinInlineOp::None, 0)\
M(I8PrepareB, "int8_prepare_b", IntrI8PrepareB, Args_Int32_GeneralInt32Float32Float32Int32Int32Int32General, intgemm::IntrI8PrepareB, true, BuiltinInlineOp::None, 1)\
M(I8PrepareBFromTransposed, "int8_prepare_b_from_transposed", IntrI8PrepareBFromTransposed, Args_Int32_GeneralInt32Float32Float32Int32Int32Int32General, intgemm::IntrI8PrepareBFromTransposed, true, BuiltinInlineOp::None, 2)\
M(I8PrepareBFromQuantizedTransposed, "int8_prepare_b_from_quantized_transposed", IntrI8PrepareBFromQuantizedTransposed, Args_Int32_GeneralInt32Int32Int32Int32General, intgemm::IntrI8PrepareBFromQuantizedTransposed, true, BuiltinInlineOp::None, 3)\
M(I8PrepareA, "int8_prepare_a", IntrI8PrepareA, Args_Int32_GeneralInt32Float32Float32Int32Int32Int32General, intgemm::IntrI8PrepareA, true, BuiltinInlineOp::None, 4)\
M(I8PrepareBias, "int8_prepare_bias", IntrI8PrepareBias, Args_Int32_GeneralInt32Float32Float32Float32Float32Int32Int32Int32Int32General, intgemm::IntrI8PrepareBias, true, BuiltinInlineOp::None, 5)\
M(I8MultiplyAndAddBias, "int8_multiply_and_add_bias", IntrI8MultiplyAndAddBias, Args_Int32_GeneralInt32Float32Float32Int32Float32Float32Int32Float32Int32Int32Int32Int32General, intgemm::IntrI8MultiplyAndAddBias, true, BuiltinInlineOp::None, 6)\
M(I8SelectColumnsOfB, "int8_select_columns_of_b", IntrI8SelectColumnsOfB, Args_Int32_GeneralInt32Int32Int32Int32Int32Int32General, intgemm::IntrI8SelectColumnsOfB, true, BuiltinInlineOp::None, 7)\
M(StringTest, "test", StringTest, Args_Int32_GeneralGeneral, Instance::stringTest, false, BuiltinInlineOp::StringTest, 8)\
M(StringCast, "cast", StringCast, Args_General2, Instance::stringCast, false, BuiltinInlineOp::StringCast, 9)\
M(StringFromCharCodeArray, "fromCharCodeArray", StringFromCharCodeArray, Args_General_GeneralGeneralInt32Int32, Instance::stringFromCharCodeArray, false, BuiltinInlineOp::None, 10)\
M(StringIntoCharCodeArray, "intoCharCodeArray", StringIntoCharCodeArray, Args_Int32_GeneralGeneralGeneralInt32, Instance::stringIntoCharCodeArray, false, BuiltinInlineOp::None, 11)\
M(StringFromCharCode, "fromCharCode", StringFromCharCode, Args_General_GeneralInt32, Instance::stringFromCharCode, false, BuiltinInlineOp::None, 12)\
M(StringFromCodePoint, "fromCodePoint", StringFromCodePoint, Args_General_GeneralInt32, Instance::stringFromCodePoint, false, BuiltinInlineOp::None, 13)\
M(StringCharCodeAt, "charCodeAt", StringCharCodeAt, Args_Int32_GeneralGeneralInt32, Instance::stringCharCodeAt, false, BuiltinInlineOp::None, 14)\
M(StringCodePointAt, "codePointAt", StringCodePointAt, Args_Int32_GeneralGeneralInt32, Instance::stringCodePointAt, false, BuiltinInlineOp::None, 15)\
M(StringLength, "length", StringLength, Args_Int32_GeneralGeneral, Instance::stringLength, false, BuiltinInlineOp::StringLength, 16)\
M(StringConcat, "concat", StringConcat, Args_General3, Instance::stringConcat, false, BuiltinInlineOp::None, 17)\
M(StringSubstring, "substring", StringSubstring, Args_General_GeneralGeneralInt32Int32, Instance::stringSubstring, false, BuiltinInlineOp::None, 18)\
M(StringEquals, "equals", StringEquals, Args_Int32_GeneralGeneralGeneral, Instance::stringEquals, false, BuiltinInlineOp::None, 19)\
M(StringCompare, "compare", StringCompare, Args_Int32_GeneralGeneralGeneral, Instance::stringCompare, false, BuiltinInlineOp::None, 20)\
M(CreateSuspender, "createSuspender", CreateSuspender, Args_General_GeneralInt32, CreateSuspender, false, BuiltinInlineOp::None, 21)\
M(CreatePromisingPromise, "createPromisingPromise", CreatePromisingPromise, Args_General2, CreatePromisingPromise, false, BuiltinInlineOp::None, 22)\
M(CurrentSuspender, "currentSuspender", CurrentSuspender, Args_General_GeneralInt32, CurrentSuspender, false, BuiltinInlineOp::None, 23)\
M(GetSuspendingPromiseResult, "getSuspendingPromiseResult", GetSuspendingPromiseResult, Args_General3, GetSuspendingPromiseResult, false, BuiltinInlineOp::None, 24)\
M(AddPromiseReactions, "addPromiseReactions", AddPromiseReactions, Args_General4, AddPromiseReactions, false, BuiltinInlineOp::None, 25)\
M(ForwardExceptionToSuspended, "forwardExceptionToSuspended", ForwardExceptionToSuspended, Args_General3, ForwardExceptionToSuspended, false, BuiltinInlineOp::None, 26)\
M(SetPromisingPromiseResults, "setPromisingPromiseResults", SetPromisingPromiseResults, Args_Int32_GeneralGeneralGeneral, SetPromisingPromiseResults, false, BuiltinInlineOp::None, 27)\
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8VecMul {ValType::i32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8VecMul 6, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8VecMul mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8VecMul MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8VecMul FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8PrepareB {ValType::i32(), ValType::f32(), ValType::f32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8PrepareB 8, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8PrepareB mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8PrepareB MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8PrepareB FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8PrepareBFromTransposed {ValType::i32(), ValType::f32(), ValType::f32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8PrepareBFromTransposed 8, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8PrepareBFromTransposed mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8PrepareBFromTransposed MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8PrepareBFromTransposed FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8PrepareBFromQuantizedTransposed {ValType::i32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8PrepareBFromQuantizedTransposed 6, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8PrepareBFromQuantizedTransposed mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8PrepareBFromQuantizedTransposed MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8PrepareBFromQuantizedTransposed FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8PrepareA {ValType::i32(), ValType::f32(), ValType::f32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8PrepareA 8, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8PrepareA mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8PrepareA MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8PrepareA FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8PrepareBias {ValType::i32(), ValType::f32(), ValType::f32(), ValType::f32(), ValType::f32(), ValType::i32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8PrepareBias 11, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8PrepareBias mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8PrepareBias MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8PrepareBias FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8MultiplyAndAddBias {ValType::i32(), ValType::f32(), ValType::f32(), ValType::i32(), ValType::f32(), ValType::f32(), ValType::i32(), ValType::f32(), ValType::i32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8MultiplyAndAddBias 14, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::i32().toMIRType(), ValType::f32().toMIRType(), ValType::f32().toMIRType(), ValType::i32().toMIRType(), ValType::f32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8MultiplyAndAddBias mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8MultiplyAndAddBias MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8MultiplyAndAddBias FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_I8SelectColumnsOfB {ValType::i32(), ValType::i32(), ValType::i32(), ValType::i32(), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_I8SelectColumnsOfB 8, {MIRType::Pointer, ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::Pointer, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_I8SelectColumnsOfB mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_I8SelectColumnsOfB MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_I8SelectColumnsOfB FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringTest {ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringTest 2, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringTest mozilla::Some(ValType::i32())
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringTest ValType::i32().toMIRType()
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringTest FailureMode::Infallible
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringCast {ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringCast 2, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringCast mozilla::Some(ValType(RefType::fromTypeCode(TypeCode(RefType::Extern), false)))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringCast MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringCast FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringFromCharCodeArray {ValType(RefType::fromTypeDef(StaticTypeDefs::arrayMutI16, true)), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringFromCharCodeArray 4, {MIRType::Pointer, MIRType::WasmAnyRef, ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringFromCharCodeArray mozilla::Some(ValType(RefType::fromTypeCode(TypeCode(RefType::Extern), false)))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringFromCharCodeArray MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringFromCharCodeArray FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringIntoCharCodeArray {ValType(RefType::extern_()), ValType(RefType::fromTypeDef(StaticTypeDefs::arrayMutI16, true)), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringIntoCharCodeArray 4, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringIntoCharCodeArray mozilla::Some(ValType::i32())
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringIntoCharCodeArray ValType::i32().toMIRType()
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringIntoCharCodeArray FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringFromCharCode {ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringFromCharCode 2, {MIRType::Pointer, ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringFromCharCode mozilla::Some(ValType(RefType::fromTypeCode(TypeCode(RefType::Extern), false)))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringFromCharCode MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringFromCharCode FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringFromCodePoint {ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringFromCodePoint 2, {MIRType::Pointer, ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringFromCodePoint mozilla::Some(ValType(RefType::fromTypeCode(TypeCode(RefType::Extern), false)))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringFromCodePoint MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringFromCodePoint FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringCharCodeAt {ValType(RefType::extern_()), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringCharCodeAt 3, {MIRType::Pointer, MIRType::WasmAnyRef, ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringCharCodeAt mozilla::Some(ValType::i32())
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringCharCodeAt ValType::i32().toMIRType()
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringCharCodeAt FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringCodePointAt {ValType(RefType::extern_()), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringCodePointAt 3, {MIRType::Pointer, MIRType::WasmAnyRef, ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringCodePointAt mozilla::Some(ValType::i32())
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringCodePointAt ValType::i32().toMIRType()
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringCodePointAt FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringLength {ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringLength 2, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringLength mozilla::Some(ValType::i32())
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringLength ValType::i32().toMIRType()
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringLength FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringConcat {ValType(RefType::extern_()), ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringConcat 3, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringConcat mozilla::Some(ValType(RefType::fromTypeCode(TypeCode(RefType::Extern), false)))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringConcat MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringConcat FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringSubstring {ValType(RefType::extern_()), ValType::i32(), ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringSubstring 4, {MIRType::Pointer, MIRType::WasmAnyRef, ValType::i32().toMIRType(), ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringSubstring mozilla::Some(ValType(RefType::fromTypeCode(TypeCode(RefType::Extern), false)))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringSubstring MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringSubstring FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringEquals {ValType(RefType::extern_()), ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringEquals 3, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringEquals mozilla::Some(ValType::i32())
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringEquals ValType::i32().toMIRType()
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringEquals FailureMode::FailOnNegI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_StringCompare {ValType(RefType::extern_()), ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_StringCompare 3, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_StringCompare mozilla::Some(ValType::i32())
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_StringCompare ValType::i32().toMIRType()
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_StringCompare FailureMode::FailOnMaxI32
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_CreateSuspender {ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_CreateSuspender 2, {MIRType::Pointer, ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_CreateSuspender mozilla::Some(ValType(RefType::extern_()))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_CreateSuspender MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_CreateSuspender FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_CreatePromisingPromise {ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_CreatePromisingPromise 2, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_CreatePromisingPromise mozilla::Some(ValType(RefType::extern_()))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_CreatePromisingPromise MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_CreatePromisingPromise FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_CurrentSuspender {ValType::i32()}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_CurrentSuspender 2, {MIRType::Pointer, ValType::i32().toMIRType(), MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_CurrentSuspender mozilla::Some(ValType(RefType::extern_()))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_CurrentSuspender MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_CurrentSuspender FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_GetSuspendingPromiseResult {ValType(RefType::extern_()), ValType(RefType::extern_())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_GetSuspendingPromiseResult 3, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_GetSuspendingPromiseResult mozilla::Some(ValType(RefType::any()))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_GetSuspendingPromiseResult MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_GetSuspendingPromiseResult FailureMode::FailOnNullPtr
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_AddPromiseReactions {ValType(RefType::extern_()), ValType(RefType::extern_()), ValType(RefType::func())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_AddPromiseReactions 4, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_AddPromiseReactions mozilla::Some(ValType(RefType::any()))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_AddPromiseReactions MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_AddPromiseReactions FailureMode::FailOnInvalidRef
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_ForwardExceptionToSuspended {ValType(RefType::extern_()), ValType(RefType::exn())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_ForwardExceptionToSuspended 3, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_ForwardExceptionToSuspended mozilla::Some(ValType(RefType::any()))
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_ForwardExceptionToSuspended MIRType::WasmAnyRef
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_ForwardExceptionToSuspended FailureMode::Infallible
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_VALTYPES_SetPromisingPromiseResults {ValType(RefType::extern_()), ValType(RefType::any())}
#define DECLARE_BUILTIN_MODULE_FUNC_PARAM_MIRTYPES_SetPromisingPromiseResults 3, {MIRType::Pointer, MIRType::WasmAnyRef, MIRType::WasmAnyRef, MIRType::None}
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_VALTYPE_SetPromisingPromiseResults mozilla::Nothing()
#define DECLARE_BUILTIN_MODULE_FUNC_RESULT_MIRTYPE_SetPromisingPromiseResults MIRType::None
#define DECLARE_BUILTIN_MODULE_FUNC_FAILMODE_SetPromisingPromiseResults FailureMode::FailOnNegI32
#endif // wasm_WasmBuiltinModuleGenerated_h