Home
last modified time | relevance | path

Searched refs:WasmValue (Results 1 - 25 of 28) sorted by relevance

12

/third_party/node/deps/v8/src/wasm/
H A Dinit-expr-interface.cc22 if (generate_result()) result->runtime_value = WasmValue(value); in I32Const()
27 if (generate_result()) result->runtime_value = WasmValue(value); in I64Const()
32 if (generate_result()) result->runtime_value = WasmValue(value); in F32Const()
37 if (generate_result()) result->runtime_value = WasmValue(value); in F64Const()
44 result->runtime_value = WasmValue(imm.value, kWasmS128); in S128Const()
54 WasmValue(lhs.runtime_value.to_i32() + rhs.runtime_value.to_i32()); in BinOp()
58 WasmValue(lhs.runtime_value.to_i32() - rhs.runtime_value.to_i32()); in BinOp()
62 WasmValue(lhs.runtime_value.to_i32() * rhs.runtime_value.to_i32()); in BinOp()
66 WasmValue(lhs.runtime_value.to_i64() + rhs.runtime_value.to_i64()); in BinOp()
70 WasmValue(lh in BinOp()
[all...]
H A Dwasm-value.h73 // Macro for defining WasmValue methods for different types.
94 class WasmValue { class
96 WasmValue() : type_(kWasmVoid), bit_pattern_{} {} in WasmValue() function in v8::internal::wasm::WasmValue
99 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \
101 "size too big for WasmValue"); \
117 WasmValue(byte* raw_bytes, ValueType type) : type_(type), bit_pattern_{} { in WasmValue() function in v8::internal::wasm::WasmValue
122 WasmValue(Handle<Object> ref, ValueType type) : type_(type), bit_pattern_{} { in WasmValue() function in v8::internal::wasm::WasmValue
139 bool operator==(const WasmValue& other) const { in operator ==()
155 WasmValue Packed(ValueType packed_type) const { in Packed()
158 return WasmValue(static_cas in Packed()
[all...]
H A Dinit-expr-interface.h36 WasmValue runtime_value;
73 WasmValue result() { in result()
85 WasmValue result_;
H A Dwasm-debug.cc129 WasmValue GetLocalValue(int local, Address pc, Address fp, in GetLocalValue()
144 WasmValue GetStackValue(int index, Address pc, Address fp, in GetStackValue()
584 WasmValue GetValue(const DebugSideTable* debug_side_table, in GetValue()
592 return value->type == kWasmI32 ? WasmValue(value->i32_const) in GetValue()
593 : WasmValue(int64_t{value->i32_const}); in GetValue()
608 return WasmValue((uint64_t{high_word} << 32) | low_word); in GetValue()
612 return WasmValue(ReadUnalignedValue<uint32_t>(gp_addr(reg.gp()))); in GetValue()
614 return WasmValue(ReadUnalignedValue<uint64_t>(gp_addr(reg.gp()))); in GetValue()
618 return WasmValue(obj, value->type); in GetValue()
634 return WasmValue(ReadUnalignedValu in GetValue()
[all...]
H A Dmodule-instantiate.cc114 Representation::WasmValue(), static_cast<int>(i)); in CreateStructDescriptorArray()
134 Representation::WasmValue(), static_cast<int>(0)); in CreateArrayDescriptorArray()
343 void WriteGlobalValue(const WasmGlobal& global, const WasmValue& value);
900 V8_INLINE WasmValue EvaluateInitExpression(Zone* zone, ConstantExpression expr, in EvaluateInitExpression()
908 return WasmValue(expr.i32_value()); in EvaluateInitExpression()
910 return WasmValue(isolate->factory()->null_value(), in EvaluateInitExpression()
917 return WasmValue(value, expected); in EvaluateInitExpression()
1039 const WasmValue& value) { in WriteGlobalValue()
1437 WasmValue value; in ProcessImportedWasmGlobalObject()
1440 value = WasmValue(global_objec in ProcessImportedWasmGlobalObject()
[all...]
H A Dwasm-debug.h37 class WasmValue;
177 WasmValue GetLocalValue(int local, Address pc, Address fp,
183 WasmValue GetStackValue(int index, Address pc, Address fp,
H A Dwasm-objects.h39 class WasmValue;
523 static wasm::WasmValue GetGlobalValue(Handle<WasmInstanceObject>,
942 wasm::WasmValue GetFieldValue(uint32_t field_index);
968 V8_EXPORT_PRIVATE wasm::WasmValue GetElement(uint32_t index);
H A Dwasm-objects.cc1542 wasm::WasmValue WasmInstanceObject::GetGlobalValue( in GetGlobalValue()
1550 return wasm::WasmValue(handle(global_buffer->get(global_index), isolate), in GetGlobalValue()
1558 return wasm::WasmValue(base::ReadUnalignedValue<ctype>(ptr)); in GetGlobalValue()
1566 wasm::WasmValue WasmStruct::GetFieldValue(uint32_t index) { in GetFieldValue()
1574 return wasm::WasmValue(base::ReadUnalignedValue<ctype>(field_address)); in GetFieldValue()
1583 return wasm::WasmValue(ref, field_type); in GetFieldValue()
1594 wasm::WasmValue WasmArray::GetElement(uint32_t index) { in GetElement()
1603 return wasm::WasmValue(base::ReadUnalignedValue<ctype>(element_address)); in GetElement()
1612 return wasm::WasmValue(ref, element_type); in GetElement()
/third_party/node/deps/v8/src/debug/
H A Ddebug-wasm-objects.h26 class WasmValue;
63 const wasm::WasmValue& value,
H A Ddebug-wasm-objects.cc538 // type WasmValue = {
542 // type WasmFunction = (... args : WasmValue[]) = > WasmValue;
544 // $globalX: WasmValue;
545 // $varX: WasmValue;
546 // $funcX(a : WasmValue /*, ...*/) : WasmValue;
555 // readonly stack : WasmValue[];
556 // readonly globals : {[nameOrIndex:string | number] : WasmValue};
557 // readonly locals : {[nameOrIndex:string | number] : WasmValue};
[all...]
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dwasm-module-debug.h16 class WasmValue;
98 // Converts a WasmValue into an array of bytes.
99 static bool GetWasmValue(const wasm::WasmValue& wasm_value, uint8_t* buffer,
H A Dwasm-module-debug.cc214 wasm::WasmValue wasm_value = in GetWasmGlobal()
245 wasm::WasmValue wasm_value = debug_info->GetLocalValue( in GetWasmLocal()
278 WasmValue wasm_value = debug_info->GetStackValue( in GetWasmStackValue()
388 bool WasmModuleDebug::GetWasmValue(const wasm::WasmValue& wasm_value, in GetWasmValue()
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-compiler.cc988 WasmValue(FLAG_wasm_tiering_budget)); in GenerateOutOfLineCode()
1120 WasmValue::ForUintPtr(reinterpret_cast<uintptr_t>(max_steps_))); in EmitDebuggingInfo()
1845 __ LoadConstant(tmp, WasmValue(int32_t{0})); in EmitDivOrRem64CCall()
1848 __ LoadConstant(tmp, WasmValue(int32_t{-1})); in EmitDivOrRem64CCall()
2165 __ LoadConstant(reg, WasmValue(value));
2172 __ LoadConstant(reg, WasmValue(value));
2178 __ LoadConstant(reg, WasmValue(value));
2190 __ LoadConstant(func_index_reg, WasmValue(function_index));
2491 __ LoadConstant(table_index_reg, WasmValue(imm.index));
2515 __ LoadConstant(table_index_reg, WasmValue(im
[all...]
H A Dliftoff-assembler.cc57 static RegisterLoad Const(WasmValue constant) { in Const()
161 LoadConstant(dst, WasmValue(value)); in LoadI64HalfIntoRegister()
199 void LoadConstant(LiftoffRegister dst, WasmValue value) { in LoadConstant()
206 RegisterLoad::Const(WasmValue(static_cast<int32_t>(i64))); in LoadConstant()
208 RegisterLoad::Const(WasmValue(static_cast<int32_t>(i64 >> 32))); in LoadConstant()
336 ? WasmValue(int64_t{load->value}) in ExecuteLoads()
337 : WasmValue(int32_t{load->value})); in ExecuteLoads()
652 LoadConstant(dst, WasmValue(half_word)); in LoadI64HalfIntoRegister()
H A Dliftoff-assembler.h143 WasmValue constant() const { in constant()
146 return kind_ == kI32 ? WasmValue(i32_const_) in constant()
147 : WasmValue(int64_t{i32_const_}); in constant()
697 inline void LoadConstant(LiftoffRegister, WasmValue,
802 inline void Spill(int offset, WasmValue);
/third_party/node/deps/v8/src/objects/
H A Dproperty-details.h121 static constexpr Representation WasmValue() { in WasmValue() function in v8::internal::PropertyKind::PropertyLocation::PropertyConstness::Representation
146 // Note that WasmValue is not supposed to be changed at all (the only in MightCauseMapDeprecation()
147 // representation it fits into is WasmValue), so for the sake of predicate in MightCauseMapDeprecation()
177 if (IsWasmValue()) return Representation::WasmValue(); in MostGenericInPlaceChange()
/third_party/node/deps/v8/src/heap/
H A Dfactory.h79 class WasmValue;
623 wasm::WasmValue* args, Handle<Map> map);
625 const wasm::ArrayType* type, const std::vector<wasm::WasmValue>& elements,
H A Dfactory.cc1641 const wasm::ArrayType* type, const std::vector<wasm::WasmValue>& elements, in NewWasmArrayFromElements()
1689 wasm::WasmValue* args, in NewWasmStruct()
/third_party/node/deps/v8/src/wasm/baseline/arm/
H A Dliftoff-assembler-arm.h578 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
956 __ LoadConstant(result.high(), WasmValue(0)); in AtomicBinop32()
965 __ LoadConstant(result.high(), WasmValue(0)); in AtomicBinop32()
974 __ LoadConstant(result.high(), WasmValue(0)); in AtomicBinop32()
1358 LoadConstant(LiftoffRegister(result_high), WasmValue(0)); in AtomicCompareExchange()
1422 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/third_party/node/deps/v8/src/wasm/baseline/ppc/
H A Dliftoff-assembler-ppc.h241 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
983 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/third_party/node/deps/v8/src/wasm/baseline/mips/
H A Dliftoff-assembler-mips.h441 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
833 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/third_party/node/deps/v8/src/wasm/baseline/loong64/
H A Dliftoff-assembler-loong64.h312 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
897 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/third_party/node/deps/v8/src/wasm/baseline/arm64/
H A Dliftoff-assembler-arm64.h408 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
938 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/third_party/node/deps/v8/src/wasm/baseline/s390/
H A Dliftoff-assembler-s390.h219 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
1438 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/third_party/node/deps/v8/src/wasm/baseline/mips64/
H A Dliftoff-assembler-mips64.h428 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
1001 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()

Completed in 75 milliseconds

12