Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-interpreter.cc619 inline int32_t ExecuteI32ReinterpretF32(WasmValue a) { in ExecuteI32ReinterpretF32()
623 inline int64_t ExecuteI64ReinterpretF64(WasmValue a) { in ExecuteI64ReinterpretF64()
1098 void InitFrame(const WasmFunction* function, WasmValue* args) { in InitFrame()
1142 WasmValue GetReturnValue(uint32_t index) { in GetReturnValue()
1143 if (state_ == WasmInterpreter::TRAPPED) return WasmValue(0xDEADBEEF); in GetReturnValue()
1151 WasmValue GetStackValue(sp_t index) { in GetStackValue()
1156 void SetStackValue(sp_t index, WasmValue value) { in SetStackValue()
1248 std::unique_ptr<WasmValue[]> stack_;
1249 WasmValue* stack_limit_ = nullptr; // End of allocated stack space.
1250 WasmValue* sp_ = nullptr; // Current stack pointer.
[all …]
Dwasm-value.h68 class WasmValue {
70 WasmValue() : type_(kWasmStmt), bit_pattern_{} {} in WasmValue() function
73 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \
91 bool operator==(const WasmValue& other) const {
109 inline ctype WasmValue::to_unchecked() const { \
113 inline ctype WasmValue::to() const { \
Dwasm-interpreter.h67 WasmValue GetLocalValue(int index) const;
68 WasmValue GetStackValue(int index) const;
118 void InitFrame(const WasmFunction* function, WasmValue* args);
134 WasmValue GetReturnValue(int index = 0);
Dwasm-debug.cc46 Handle<Object> WasmValueToValueObject(Isolate* isolate, WasmValue value) { in WasmValueToValueObject()
174 ScopedVector<WasmValue> wasm_args(num_params); in Execute()
182 wasm_args[i] = WasmValue(ReadUnalignedValue<ctype>(arg_buf_ptr)); \ in Execute()
240 WasmValue ret_val = thread->GetReturnValue(0); in Execute()
458 WasmValue value = frame->GetLocalValue(i); in GetLocalScopeObject()
479 WasmValue value = frame->GetStackValue(i); in GetLocalScopeObject()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc366 __ LoadConstant(zero_double_reg, WasmValue(0.)); in StartFunctionBody()
742 __ LoadConstant(tmp, WasmValue(int32_t{0})); in EmitDivOrRem64CCall()
745 __ LoadConstant(tmp, WasmValue(int32_t{-1})); in EmitDivOrRem64CCall()
1012 __ LoadConstant(reg, WasmValue(value)); in I64Const()
1019 __ LoadConstant(reg, WasmValue(value)); in F32Const()
1025 __ LoadConstant(reg, WasmValue(value)); in F64Const()
1262 __ LoadConstant(tmp, WasmValue(split)); in GenerateBrTable()
1283 __ LoadConstant(tmp, WasmValue(uint32_t{imm.table_count})); in BrTable()
1359 __ LoadConstant(end_offset_reg, WasmValue(end_offset)); in BoundsCheckMem()
1362 WasmValue(static_cast<uint32_t>(end_offset))); in BoundsCheckMem()
[all …]
Dliftoff-assembler.cc53 static RegisterLoad Const(LiftoffRegister dst, WasmValue constant) { in Const()
139 ? WasmValue(int64_t{rl.value}) in Execute()
140 : WasmValue(int32_t{rl.value})); in Execute()
221 LoadConstant(dst, WasmValue(value)); in LoadI64HalfIntoRegister()
243 void LoadConstant(LiftoffRegister dst, WasmValue value) { in LoadConstant()
Dliftoff-assembler.h82 WasmValue constant() const { in constant()
85 return type_ == kWasmI32 ? WasmValue(i32_const_) in constant()
86 : WasmValue(int64_t{i32_const_}); in constant()
352 inline void LoadConstant(LiftoffRegister, WasmValue,
373 inline void Spill(uint32_t index, WasmValue);
/external/v8/src/wasm/baseline/arm/
Dliftoff-assembler-arm.h30 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
87 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/s390/
Dliftoff-assembler-s390.h30 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
87 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/ppc/
Dliftoff-assembler-ppc.h30 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
87 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/arm64/
Dliftoff-assembler-arm64.h159 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
325 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h233 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
430 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h263 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
497 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h156 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
353 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h181 void LiftoffAssembler::LoadConstant(LiftoffRegister reg, WasmValue value, in LoadConstant()
424 void LiftoffAssembler::Spill(uint32_t index, WasmValue value) { in Spill()