/third_party/node/test/fixtures/wpt/wasm/jsapi/ |
D | wasm-module-builder.js | 95 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 …]
|
D | instanceTestFactory.js | 42 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);
|
D | bad-imports.js | 16 case "i32": return kWasmI32;
|
/third_party/node/deps/v8/src/wasm/ |
D | wasm-opcodes.h | 749 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 …]
|
D | wasm-value.h | 81 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()
|
D | function-body-decoder-impl.h | 293 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 …]
|
D | wasm-init-expr.cc | 24 return kWasmI32; in type()
|
D | wasm-debug.cc | 591 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()
|
D | module-instantiate.cc | 1022 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()
|
D | value-type.h | 595 constexpr ValueType kWasmI32 = ValueType::Primitive(kI32);
|
D | module-decoder.cc | 1886 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()
|
D | c-api.cc | 102 return i::wasm::kWasmI32; in WasmValKindToV8()
|
D | wasm-js.cc | 1329 *type = i::wasm::kWasmI32; in GetValueType()
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/module/ |
D | imports.any.js | 105 builder.addImportedGlobal("module", "global", kWasmI32); 125 builder.addImportedGlobal("", "global", kWasmI32); 145 builder.addImportedGlobal("b", "", kWasmI32); 165 builder.addImportedGlobal("", "", kWasmI32);
|
D | exports.any.js | 110 builder.addGlobal(kWasmI32, true) 168 builder.addGlobal(kWasmI32, true)
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/instance/ |
D | constructor-caching.any.js | 13 builder.addGlobal(kWasmI32, false).exportAs("global"); 29 const globalIndex = builder.addImportedGlobal("module", "global", kWasmI32);
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/constructor/ |
D | multi-value.any.js | 5 const type_if_fi = makeSig([kWasmF64, kWasmI32], [kWasmI32, kWasmF64]);
|
D | instantiate.any.js | 80 builder.addImportedGlobal("module", "global", kWasmI32); 110 builder.addImportedGlobal("module", "global", kWasmI32);
|
/third_party/node/test/fixtures/wpt/wasm/webapi/ |
D | instantiateStreaming.any.js | 23 builder.addImportedGlobal("module", "global", kWasmI32);
|
/third_party/node/deps/v8/src/asmjs/ |
D | asm-parser.cc | 158 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/ |
D | wasm-compiler.cc | 1673 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 …]
|
D | js-call-reducer.cc | 3548 if (type != wasm::kWasmI32 && type != wasm::kWasmI64 && in CanInlineJSToWasmCall()
|
/third_party/node/deps/v8/src/builtins/x64/ |
D | builtins-x64.cc | 3399 __ 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()
|