Home
last modified time | relevance | path

Searched refs:WasmValue (Results 1 – 25 of 30) sorted by relevance

12

/external/v8/src/wasm/
Dwasm-value.h84 class WasmValue {
86 WasmValue() : type_(kWasmStmt), bit_pattern_{} {} in WasmValue() function
89 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \
109 bool operator==(const WasmValue& other) const {
120 static WasmValue ForUintPtr(uintptr_t value) { in ForUintPtr()
123 return WasmValue{type{value}}; in ForUintPtr()
133 inline ctype WasmValue::to_unchecked() const { \
137 inline ctype WasmValue::to() const { \
Dwasm-debug.cc54 Handle<Object> WasmValueToValueObject(Isolate* isolate, WasmValue value) { in WasmValueToValueObject()
237 WasmValue value = in GetModuleScopeObject()
260 WasmValue GetLocalValue(int local, Address pc, Address fp, in GetLocalValue()
274 WasmValue GetStackValue(int index, Address pc, Address fp, in GetStackValue()
310 WasmValue value = in GetLocalScopeObject()
342 WasmValue value = in GetStackScopeObject()
683 WasmValue GetValue(const DebugSideTable::Entry* debug_side_table_entry, in GetValue()
690 ? WasmValue(debug_side_table_entry->i32_constant(index)) in GetValue()
691 : WasmValue( in GetValue()
708 return WasmValue((uint64_t{high_word} << 32) | low_word); in GetValue()
[all …]
Dwasm-debug.h36 class WasmValue; variable
154 WasmValue GetLocalValue(int local, Address pc, Address fp,
160 WasmValue GetStackValue(int index, Address pc, Address fp,
Dwasm-debug-evaluate.cc138 WasmValue result = debug_info->GetLocalValue( in GetLocal()
151 WasmValue result = in GetGlobal()
160 WasmValue result = debug_info->GetStackValue( in GetOperand()
223 void WriteResultImpl(const WasmValue& result, uint32_t result_offset) { in WriteResultImpl()
234 void WriteResult(const WasmValue& result, uint32_t result_offset) { in WriteResult()
Dwasm-objects.h32 class WasmValue; variable
573 static wasm::WasmValue GetGlobalValue(Handle<WasmInstanceObject>,
Dwasm-objects.cc1631 wasm::WasmValue WasmInstanceObject::GetGlobalValue( in GetGlobalValue()
1639 return wasm::WasmValue(handle(global_buffer->get(global_index), isolate)); in GetGlobalValue()
1646 return wasm::WasmValue(base::ReadLittleEndianValue<ctype>(ptr)); in GetGlobalValue()
Dwasm-js.cc2530 wasm::WasmValue value) { in WasmValueToObject()
2596 wasm::WasmValue value = debug_info->GetLocalValue(*index, pc, fp, callee_fp); in GetLocalImpl()
2949 wasm::WasmValue value = debug_info->GetStackValue( in GetStackObject()
/external/v8/src/objects/
Ddebug-objects-inl.h56 TQ_OBJECT_CONSTRUCTORS_IMPL(WasmValue)
57 NEVER_READ_ONLY_SPACE_IMPL(WasmValue)
Ddebug-objects.h204 class WasmValue : public TorqueGeneratedWasmValue<WasmValue, Struct> {
208 TQ_OBJECT_CONSTRUCTORS(WasmValue)
Ddebug-objects.tq76 extern class WasmValue extends Struct {
Dobjects-definitions.h158 V(_, WASM_VALUE_TYPE, WasmValue, wasm_value)
/external/v8/src/debug/wasm/gdb-server/
Dwasm-module-debug.h16 class WasmValue; variable
93 static bool GetWasmValue(const wasm::WasmValue& wasm_value, uint8_t* buffer,
Dwasm-module-debug.cc210 wasm::WasmValue wasm_value = in GetWasmGlobal()
241 wasm::WasmValue wasm_value = debug_info->GetLocalValue( in GetWasmLocal()
274 WasmValue wasm_value = debug_info->GetStackValue( in GetWasmStackValue()
358 bool WasmModuleDebug::GetWasmValue(const wasm::WasmValue& wasm_value, in GetWasmValue()
/external/v8/src/debug/
Ddebug-interface.h620 class V8_EXPORT_PRIVATE WasmValue : public v8::Value {
622 WasmValue() = delete;
624 V8_INLINE static WasmValue* Cast(v8::Value* obj);
643 WasmValue* WasmValue::Cast(v8::Value* value) { in Cast()
647 return static_cast<WasmValue*>(value); in Cast()
/external/v8/src/wasm/baseline/
Dliftoff-assembler.cc52 static RegisterLoad Const(WasmValue constant) { in Const()
156 LoadConstant(dst, WasmValue(value)); in LoadI64HalfIntoRegister()
195 void LoadConstant(LiftoffRegister dst, WasmValue value) { in LoadConstant()
202 RegisterLoad::Const(WasmValue(static_cast<int32_t>(i64))); in LoadConstant()
204 RegisterLoad::Const(WasmValue(static_cast<int32_t>(i64 >> 32))); in LoadConstant()
332 ? WasmValue(int64_t{load->value}) in ExecuteLoads()
333 : WasmValue(int32_t{load->value})); in ExecuteLoads()
572 LoadConstant(dst, WasmValue(half_word)); in LoadI64HalfIntoRegister()
Dliftoff-compiler.cc1294 __ LoadConstant(tmp, WasmValue(int32_t{0})); in EmitDivOrRem64CCall()
1297 __ LoadConstant(tmp, WasmValue(int32_t{-1})); in EmitDivOrRem64CCall()
1613 __ LoadConstant(reg, WasmValue(value)); in I64Const()
1620 __ LoadConstant(reg, WasmValue(value)); in F32Const()
1626 __ LoadConstant(reg, WasmValue(value)); in F64Const()
2008 __ LoadConstant(tmp, WasmValue(split)); in GenerateBrTable()
2031 __ LoadConstant(tmp, WasmValue(uint32_t{imm.table_count})); in BrTable()
2131 __ LoadConstant(end_offset_reg, WasmValue::ForUintPtr(end_offset)); in BoundsCheckMem()
2186 __ LoadConstant(effective_offset, WasmValue(offset)); in TraceMemoryOperation()
2208 __ LoadConstant(data, WasmValue(is_store ? 1 : 0)); in TraceMemoryOperation()
[all …]
Dliftoff-assembler.h73 WasmValue constant() const { in constant()
76 return type_ == kWasmI32 ? WasmValue(i32_const_) in constant()
77 : WasmValue(int64_t{i32_const_}); in constant()
479 inline void LoadConstant(LiftoffRegister, WasmValue,
549 inline void Spill(int offset, WasmValue);
/external/v8/src/api/
Dapi.h36 class WasmValue; variable
132 V(debug::WasmValue, WasmValue) \
/external/v8/src/inspector/
Dvalue-mirror.cc161 if (v8::debug::WasmValue::IsWasmValue(value)) { in toProtocolValue()
162 auto wasmValue = value.As<v8::debug::WasmValue>(); in toProtocolValue()
484 explicit WasmValueMirror(v8::Local<v8::debug::WasmValue> value) in WasmValueMirror()
594 v8::Local<v8::debug::WasmValue> m_value;
1822 if (v8::debug::WasmValue::IsWasmValue(value)) { in create()
1823 return std::make_unique<WasmValueMirror>(value.As<v8::debug::WasmValue>()); in create()
/external/v8/src/wasm/baseline/s390/
Dliftoff-assembler-s390.h85 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
227 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/ppc/
Dliftoff-assembler-ppc.h86 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
228 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/arm/
Dliftoff-assembler-arm.h510 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
864 __ LoadConstant(result.high(), WasmValue(0)); in AtomicBinop32()
873 __ LoadConstant(result.high(), WasmValue(0)); in AtomicBinop32()
882 __ LoadConstant(result.high(), WasmValue(0)); in AtomicBinop32()
1274 LoadConstant(LiftoffRegister(result_high), WasmValue(0)); in AtomicCompareExchange()
1338 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()
/external/v8/src/heap/
Dfactory.h762 Handle<WasmValue> NewWasmValue(int32_t value_type, Handle<Object> ref);
Dfactory.cc2891 Handle<WasmValue> Factory::NewWasmValue(int value_type, Handle<Object> ref) { in NewWasmValue()
2893 Handle<WasmValue> wasm_value = in NewWasmValue()
2894 Handle<WasmValue>::cast(NewStruct(WASM_VALUE_TYPE, AllocationType::kOld)); in NewWasmValue()
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h296 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
793 void LiftoffAssembler::Spill(int offset, WasmValue value) { in Spill()

12