Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-opcodes.h504 V(i_ii, kWasmI32, kWasmI32, kWasmI32) \
505 V(i_i, kWasmI32, kWasmI32) \
506 V(i_v, kWasmI32) \
507 V(i_ff, kWasmI32, kWasmF32, kWasmF32) \
508 V(i_f, kWasmI32, kWasmF32) \
509 V(i_dd, kWasmI32, kWasmF64, kWasmF64) \
510 V(i_d, kWasmI32, kWasmF64) \
511 V(i_l, kWasmI32, kWasmI64) \
513 V(i_ll, kWasmI32, kWasmI64, kWasmI64) \
515 V(l_i, kWasmI64, kWasmI32) \
[all …]
Dvalue-type.h17 kWasmI32, enumerator
68 case kWasmI32: in ForValueType()
135 case kWasmI32: in ForValueType()
179 case kWasmI32: in ElementSizeInBytes()
194 case kWasmI32: in ElementSizeLog2Of()
211 case kWasmI32: in ValueTypeCodeFor()
232 case kWasmI32: in MachineTypeFor()
254 case kWasmI32: in MachineRepresentationFor()
278 return kWasmI32; in ValueTypeFor()
296 case kWasmI32: in ShortNameOf()
[all …]
Dwasm-value.h57 V(i32, kWasmI32, int32_t) \
58 V(u32, kWasmI32, uint32_t) \
Dfunction-body-decoder-impl.h245 *result = kWasmI32; in decode_local_type()
722 type = kWasmI32; in DecodeLocals()
1546 auto cond = Pop(0, kWasmI32); in DecodeFunctionBody()
1617 auto cond = Pop(2, kWasmI32); in DecodeFunctionBody()
1639 auto cond = Pop(0, kWasmI32); in DecodeFunctionBody()
1654 auto key = Pop(0, kWasmI32); in DecodeFunctionBody()
1711 auto* value = Push(kWasmI32); in DecodeFunctionBody()
1873 auto value = Pop(0, kWasmI32); in DecodeFunctionBody()
1874 auto* result = Push(kWasmI32); in DecodeFunctionBody()
1881 auto* result = Push(kWasmI32); in DecodeFunctionBody()
[all …]
Dwasm-debug.cc48 case kWasmI32: in WasmValueToValueObject()
185 CASE_ARG_TYPE(kWasmI32, uint32_t) in Execute()
248 CASE_RET_TYPE(kWasmI32, uint32_t) in Execute()
Dmodule-decoder.cc109 return kWasmI32; in TypeOf()
726 WasmInitExpr offset = consume_init_expr(module_.get(), kWasmI32); in DecodeElementSection()
1005 segment->dest_addr = consume_init_expr(module, kWasmI32); in DecodeDataSegmentInModule()
1273 if (expected != kWasmStmt && TypeOf(module, expr) != kWasmI32) { in consume_init_expr()
1294 return kWasmI32; in consume_value_type()
Dwasm-module-builder.cc410 DCHECK_EQ(kWasmI32, global.type); in WriteTo()
436 case kWasmI32: in WriteTo()
Dwasm-js.cc1032 type = i::wasm::kWasmI32; in WebAssemblyGlobal()
1058 case i::wasm::kWasmI32: { in WebAssemblyGlobal()
1310 case i::wasm::kWasmI32: in WebAssemblyGlobalGetValueCommon()
1354 case i::wasm::kWasmI32: { in WebAssemblyGlobalSetValue()
Dmodule-compiler.cc1349 case kWasmI32: in WriteGlobalValue()
1375 case kWasmI32: { in WriteGlobalValue()
1682 if (global.type == kWasmI32) { in ProcessImports()
1991 case kWasmI32: in ProcessExports()
Dwasm-interpreter.cc2677 case kWasmI32: in TraceValueStack()
2737 case kWasmI32: in CallExternalWasmFunction()
2806 case kWasmI32: in CallExternalWasmFunction()
Dfunction-body-decoder.cc587 case kWasmI32: in DefaultValue()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc93 constexpr ValueType kTypesArr_ilfd[] = {kWasmI32, kWasmI64, kWasmF32, kWasmF64};
285 ValueType lowered_type = num_lowered_params == 1 ? type : kWasmI32; in ProcessParameter()
353 case kWasmI32: in StartFunctionBody()
354 __ cache_state()->stack_state.emplace_back(kWasmI32, uint32_t{0}); in StartFunctionBody()
489 __ emit_cond_jump(kEqual, if_block->else_state->label.get(), kWasmI32, in If()
561 ValueType sig_i_i_reps[] = {kWasmI32, kWasmI32}; in EmitI32UnOpWithCFallback()
565 EmitUnOp<kWasmI32, kWasmI32>(emit_with_c_fallback); in EmitI32UnOpWithCFallback()
602 ValueType sig_reps[] = {kWasmI32, src_type}; in EmitTypeConversion()
608 __ emit_cond_jump(kEqual, trap, kWasmI32, ret_reg.gp()); in EmitTypeConversion()
622 EmitUnOp<kWasmI32, kWasmI32>( \ in UnOp()
[all …]
Dliftoff-assembler.cc54 if (constant.type() == kWasmI32) { in Const()
55 return {dst, kConstant, kWasmI32, constant.to_i32()}; in Const()
67 return {dst, kHalfStack, kWasmI32, half_stack_index}; in HalfStack()
214 if (dst != src_half) MoveRegister(dst, src_half, kWasmI32); in LoadI64HalfIntoRegister()
232 if (dst.low() != src.low()) MoveRegister(dst.low(), src.low(), kWasmI32); in MoveRegister()
234 MoveRegister(dst.high(), src.high(), kWasmI32); in MoveRegister()
Dliftoff-assembler.h38 kPointerSize == 8 ? kWasmI64 : kWasmI32;
51 DCHECK(type_ == kWasmI32 || type_ == kWasmI64); in VarState()
83 DCHECK(type_ == kWasmI32 || type_ == kWasmI64); in constant()
85 return type_ == kWasmI32 ? WasmValue(i32_const_) in constant()
639 assm->Move(dst.low_gp(), tmp, kWasmI32); in EmitI64IndependentHalfOperation()
Dliftoff-register.h39 : type == kWasmI32 || type == kWasmI64 // int types in reg_class_for()
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h69 case kWasmI32: in Load()
89 case kWasmI32: in Store()
108 case kWasmI32: in push()
159 case kWasmI32: in LoadConstant()
312 if (type == kWasmI32) { in Move()
336 case kWasmI32: in Spill()
357 case kWasmI32: in Spill()
384 case kWasmI32: in Fill()
606 liftoff::EmitShiftOperation<kWasmI32>(this, dst, src, amount, in emit_i32_shl()
612 liftoff::EmitShiftOperation<kWasmI32>(this, dst, src, amount, in emit_i32_sar()
[all …]
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h60 case kWasmI32: in GetRegFromType()
86 case kWasmI32: in AcquireByType()
162 case kWasmI32: in LoadConstant()
300 if (type == kWasmI32) { in Move()
331 case kWasmI32: in Spill()
760 case kWasmI32: in emit_cond_jump()
949 DCHECK(slot.src_.type() == kWasmI32 || slot.src_.type() == kWasmI64); in Construct()
951 Register zero_reg = slot.src_.type() == kWasmI32 ? wzr : xzr; in Construct()
955 Register scratch = slot.src_.type() == kWasmI32 ? temps.AcquireW() in Construct()
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h55 case kWasmI32: in Load()
77 case kWasmI32: in Store()
97 case kWasmI32: in push()
184 case kWasmI32: in LoadConstant()
386 DCHECK_EQ(kWasmI32, type); in Move()
406 case kWasmI32: in Spill()
428 case kWasmI32: in Spill()
448 case kWasmI32: in Fill()
854 {LiftoffRegister{ecx}, LiftoffRegister{amount}, kWasmI32}}); in Emit64BitShiftOperation()
1330 case kWasmI32: in emit_cond_jump()
[all …]
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h34 case kWasmI32: in Load()
55 case kWasmI32: in Store()
74 case kWasmI32: in push()
236 case kWasmI32: in LoadConstant()
413 case kWasmI32: in Spill()
434 case kWasmI32: { in Spill()
457 case kWasmI32: in Fill()
/external/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h40 case kWasmI32: in Load()
62 case kWasmI32: in Store()
82 case kWasmI32: in push()
266 case kWasmI32: in LoadConstant()
479 case kWasmI32: in Spill()
501 case kWasmI32: { in Spill()
530 case kWasmI32: in Fill()
1382 kWasmI32); in Construct()
/external/v8/src/asmjs/
Dasm-parser.cc169 sig_builder.AddParam(kWasmI32); in ConvertSignature()
180 sig_builder.AddReturn(kWasmI32); in ConvertSignature()
457 kWasmI32, WasmInitExpr(static_cast<int32_t>(uvalue))); in ValidateModuleVar()
468 kWasmI32, WasmInitExpr(-static_cast<int32_t>(uvalue))); in ValidateModuleVar()
552 AddGlobalImport(name, AsmType::Int(), kWasmI32, mutable_variable, info); in ValidateModuleVarImport()
789 current_function_builder_->AddLocal(kWasmI32); in ValidateFunction()
915 locals->push_back(kWasmI32); in ValidateFunctionLocals()
932 locals->push_back(kWasmI32); in ValidateFunctionLocals()
993 locals->push_back(kWasmI32); in ValidateFunctionLocals()
/external/v8/src/compiler/
Dwasm-compiler.cc1103 case wasm::kWasmI32: in BuildChangeEndiannessStore()
1122 valueSizeInBytes = wasm::ValueTypes::ElementSizeInBytes(wasm::kWasmI32); in BuildChangeEndiannessStore()
1128 } else if (wasmtype == wasm::kWasmI32 && in BuildChangeEndiannessStore()
1382 } else if (wasmtype == wasm::kWasmI32) { in BuildChangeEndiannessLoad()
2056 case wasm::kWasmI32: in Throw()
2155 case wasm::kWasmI32: in GetExceptionValues()
4276 case wasm::kWasmI32: in ToJS()
4309 case wasm::kWasmI32: { in FromJS()