Home
last modified time | relevance | path

Searched refs:kWasmI32 (Results 1 – 23 of 23) sorted by relevance

/third_party/node/test/fixtures/wpt/wasm/jsapi/
Dwasm-module-builder.js95 let kWasmI32 = 0x7f; variable
116 let kSig_i_i = makeSig([kWasmI32], [kWasmI32]);
118 let kSig_i_l = makeSig([kWasmI64], [kWasmI32]);
119 let kSig_i_ii = makeSig([kWasmI32, kWasmI32], [kWasmI32]);
120 let kSig_i_iii = makeSig([kWasmI32, kWasmI32, kWasmI32], [kWasmI32]);
121 let kSig_v_iiii = makeSig([kWasmI32, kWasmI32, kWasmI32, kWasmI32], []);
125 let kSig_i_dd = makeSig([kWasmF64, kWasmF64], [kWasmI32]);
127 let kSig_i_v = makeSig([], [kWasmI32]);
131 let kSig_v_i = makeSig([kWasmI32], []);
132 let kSig_v_ii = makeSig([kWasmI32, kWasmI32], []);
[all …]
DinstanceTestFactory.js42 builder.addImportedGlobal("module", "global1", kWasmI32);
43 builder.addImportedGlobal("module2", "global3", kWasmI32);
45 builder.addImportedGlobal("module", "global2", kWasmI32);
103 builder.addImportedGlobal("module", "global", kWasmI32);
135 builder.addImportedGlobal("", "global", kWasmI32);
164 builder.addImportedGlobal("b", "", kWasmI32);
238 builder.addGlobal(kWasmI32, true)
274 builder.addGlobal(kWasmI32, true)
310 const index = builder.addImportedGlobal("module", "global", kWasmI32);
636 const index = builder.addImportedGlobal("module", "global", kWasmI32, true);
Dbad-imports.js16 case "i32": return kWasmI32;
/third_party/node/deps/v8/src/wasm/
Dwasm-opcodes.h749 V(i_ii, kWasmI32, kWasmI32, kWasmI32) \
750 V(i_i, kWasmI32, kWasmI32) \
751 V(i_v, kWasmI32) \
752 V(i_ff, kWasmI32, kWasmF32, kWasmF32) \
753 V(i_f, kWasmI32, kWasmF32) \
754 V(i_dd, kWasmI32, kWasmF64, kWasmF64) \
755 V(i_d, kWasmI32, kWasmF64) \
756 V(i_l, kWasmI32, kWasmI64) \
758 V(i_ll, kWasmI32, kWasmI64, kWasmI64) \
760 V(l_i, kWasmI64, kWasmI32) \
[all …]
Dwasm-value.h81 V(i32, kWasmI32, int32_t) \
82 V(u32, kWasmI32, uint32_t) \
157 DCHECK_EQ(type_, kWasmI32); in Packed()
161 DCHECK_EQ(type_, kWasmI32); in Packed()
Dfunction-body-decoder-impl.h293 return kWasmI32; in read_value_type()
2840 Value cond = Peek(0, 0, kWasmI32);
2930 Value cond = Peek(0, 2, kWasmI32);
2951 Value cond = Peek(0, 2, kWasmI32);
2977 Value cond = Peek(0, 0, kWasmI32);
2991 Value key = Peek(0, 0, kWasmI32);
3050 Value value = CreateValue(kWasmI32);
3095 Value result = CreateValue(kWasmI32);
3230 Value index = Peek(0, 0, kWasmI32);
3243 Value index = Peek(1, 0, kWasmI32);
[all …]
Dwasm-init-expr.cc24 return kWasmI32; in type()
Dwasm-debug.cc591 DCHECK(value->type == kWasmI32 || value->type == kWasmI64); in GetValue()
592 return value->type == kWasmI32 ? WasmValue(value->i32_const) in GetValue()
611 if (value->type == kWasmI32) { in GetValue()
Dmodule-instantiate.cc1022 EvaluateInitExpression(&init_expr_zone_, segment.dest_addr, kWasmI32, in LoadDataSegments()
1501 MaybeHandle<Object> converted = global.type == kWasmI32 in ProcessImportedGlobal()
1546 WasmValue wasm_value = global.type == kWasmI32 in ProcessImportedGlobal()
2057 EvaluateInitExpression(&init_expr_zone_, elem_segment.offset, kWasmI32, in LoadTableSegments()
Dvalue-type.h595 constexpr ValueType kWasmI32 = ValueType::Primitive(kI32);
Dmodule-decoder.cc1886 TYPE_CHECK(kWasmI32) in consume_init_expr()
2112 offset = consume_init_expr(module_.get(), kWasmI32); in consume_element_segment_header()
2184 ValueType expected_type = module_->is_memory64 ? kWasmI64 : kWasmI32; in consume_data_segment_header()
Dc-api.cc102 return i::wasm::kWasmI32; in WasmValKindToV8()
Dwasm-js.cc1329 *type = i::wasm::kWasmI32; in GetValueType()
/third_party/node/test/fixtures/wpt/wasm/jsapi/module/
Dimports.any.js105 builder.addImportedGlobal("module", "global", kWasmI32);
125 builder.addImportedGlobal("", "global", kWasmI32);
145 builder.addImportedGlobal("b", "", kWasmI32);
165 builder.addImportedGlobal("", "", kWasmI32);
Dexports.any.js110 builder.addGlobal(kWasmI32, true)
168 builder.addGlobal(kWasmI32, true)
/third_party/node/test/fixtures/wpt/wasm/jsapi/instance/
Dconstructor-caching.any.js13 builder.addGlobal(kWasmI32, false).exportAs("global");
29 const globalIndex = builder.addImportedGlobal("module", "global", kWasmI32);
/third_party/node/test/fixtures/wpt/wasm/jsapi/constructor/
Dmulti-value.any.js5 const type_if_fi = makeSig([kWasmF64, kWasmI32], [kWasmI32, kWasmF64]);
Dinstantiate.any.js80 builder.addImportedGlobal("module", "global", kWasmI32);
110 builder.addImportedGlobal("module", "global", kWasmI32);
/third_party/node/test/fixtures/wpt/wasm/webapi/
DinstantiateStreaming.any.js23 builder.addImportedGlobal("module", "global", kWasmI32);
/third_party/node/deps/v8/src/asmjs/
Dasm-parser.cc158 sig_builder.AddParam(kWasmI32); in ConvertSignature()
169 sig_builder.AddReturn(kWasmI32); in ConvertSignature()
461 kWasmI32, WasmInitExpr(static_cast<int32_t>(uvalue))); in ValidateModuleVar()
477 kWasmI32, WasmInitExpr(-static_cast<int32_t>(uvalue))); in ValidateModuleVar()
562 AddGlobalImport(name, AsmType::Int(), kWasmI32, mutable_variable, info); in ValidateModuleVarImport()
805 current_function_builder_->AddLocal(kWasmI32); in ValidateFunction()
938 locals->push_back(kWasmI32); in ValidateFunctionLocals()
955 locals->push_back(kWasmI32); in ValidateFunctionLocals()
1016 locals->push_back(kWasmI32); in ValidateFunctionLocals()
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.cc1673 valueSizeInBytes = wasm::kWasmI32.value_kind_size(); in BuildChangeEndiannessStore()
1678 } else if (wasmtype == wasm::kWasmI32 && in BuildChangeEndiannessStore()
1869 } else if (wasmtype == wasm::kWasmI32) { in BuildChangeEndiannessLoad()
5269 wasm::kWasmI32) in AtomicOp()
5273 wasm::kWasmI32) in AtomicOp()
5275 wasm::kWasmI32) in AtomicOp()
5285 wasm::kWasmI32) in AtomicOp()
5289 wasm::kWasmI32) in AtomicOp()
5291 wasm::kWasmI32) in AtomicOp()
8766 ? ReplaceTypeInSig(zone, sig, wasm::kWasmI64, wasm::kWasmI32, 2) in Int64LoweredSig()
[all …]
Djs-call-reducer.cc3548 if (type != wasm::kWasmI32 && type != wasm::kWasmI64 && in CanInlineJSToWasmCall()
/third_party/node/deps/v8/src/builtins/x64/
Dbuiltins-x64.cc3399 __ cmpq(valuetype, Immediate(wasm::kWasmI32.raw_bit_field())); in GenericJSToWasmWrapperHelper()
3601 __ cmpq(valuetype, Immediate(wasm::kWasmI32.raw_bit_field())); in GenericJSToWasmWrapperHelper()
3777 __ cmpq(valuetype, Immediate(wasm::kWasmI32.raw_bit_field())); in GenericJSToWasmWrapperHelper()
3871 __ cmpq(valuetype, Immediate(wasm::kWasmI32.raw_bit_field())); in GenericJSToWasmWrapperHelper()