| /arkcompiler/runtime_core/runtime/tests/ |
| D | frame_test.cpp | 65 frame_handler.GetVReg(0).SetReference(nullptr); in TEST_F() 66 EXPECT_TRUE(frame_handler.GetVReg(0).HasObject()); in TEST_F() 67 frame_handler.GetVReg(0).SetPrimitive(0); in TEST_F() 68 EXPECT_FALSE(frame_handler.GetVReg(0).HasObject()); in TEST_F() 71 frame_handler.GetVReg(0).SetPrimitive(v64); in TEST_F() 72 EXPECT_EQ(frame_handler.GetVReg(0).GetLong(), v64); in TEST_F() 73 EXPECT_EQ(frame_handler.GetVReg(0).GetAs<int64_t>(), v64); in TEST_F() 75 frame_handler.GetVReg(1).MovePrimitive(frame_handler.GetVReg(0)); in TEST_F() 76 EXPECT_FALSE(frame_handler.GetVReg(0).HasObject()); in TEST_F() 77 EXPECT_EQ(frame_handler.GetVReg(0).Get(), static_cast<int32_t>(v64)); in TEST_F() [all …]
|
| D | i2c_bridge_test.cpp | 168 frame_handler.GetVReg(0).SetReference(obj2); in TEST_F() 503 frame->GetVReg(1).Set(5); in TEST_F() 520 frame->GetVReg(1).Set(0); in TEST_F() 543 frame_handler.GetVReg(0).SetReference(obj); in TEST_F() 544 frame_handler.GetVReg(1).Set(5); in TEST_F() 561 frame_handler.GetVReg(1).Set(0); in TEST_F() 583 frame_handler.GetVReg(1).Set(5); in TEST_F() 600 frame_handler.GetVReg(1).Set(0); in TEST_F() 621 frame_handler.GetVReg(0).Set(2); in TEST_F() 622 frame_handler.GetVReg(1).Set(5); in TEST_F() [all …]
|
| D | interpreter_test.cpp | 92 frame_handler.GetVReg(i).Set(static_cast<int64_t>(0)); in InitializeFrame() 218 frame_handler.GetVReg(V4_MAX - 1).SetPrimitive(IMM64_MAX - 1); in TEST_F() 219 frame_handler.GetVReg(V8_MAX - 1).SetPrimitive(IMM64_MAX - 2); in TEST_F() 220 frame_handler.GetVReg(V16_MAX - 1).SetPrimitive(IMM64_MAX - 3); in TEST_F() 222 frame_handler.GetVReg(V4_MAX - 3).SetPrimitive(IMM64_MAX - 4); in TEST_F() 223 frame_handler.GetVReg(V16_MAX - 3).SetPrimitive(IMM64_MAX - 5); in TEST_F() 225 frame_handler.GetVReg(V4_MAX - 5).SetReference(obj1); in TEST_F() 226 frame_handler.GetVReg(V8_MAX - 5).SetReference(obj2); in TEST_F() 227 frame_handler.GetVReg(V16_MAX - 5).SetReference(obj3); in TEST_F() 233 EXPECT_EQ(frame_handler.GetVReg(0).GetLong(), IMM4_MAX); in TEST_F() [all …]
|
| D | debugger_test.cpp | 133 frame_handler.GetVReg(i).SetReference(ToPtr(regs[i].value)); in TEST_F() 135 frame_handler.GetVReg(i).SetPrimitive(static_cast<int64_t>(regs[i].value)); in TEST_F() 151 EXPECT_EQ(debug_frame.GetVReg(i), regs[i].value); in TEST_F() 171 EXPECT_EQ(debug_frame.GetVReg(i), regs[i].value); in TEST_F()
|
| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | interpreter-inl.h | 148 uint16_t vd = this->GetInst().template GetVReg<format, 0>(); in HandleMov() 149 uint16_t vs = this->GetInst().template GetVReg<format, 1>(); in HandleMov() 152 cur_frame_handler.GetVReg(vd).MovePrimitive(cur_frame_handler.GetVReg(vs)); in HandleMov() 159 uint16_t vd = this->GetInst().template GetVReg<format, 0>(); in HandleMovWide() 160 uint16_t vs = this->GetInst().template GetVReg<format, 1>(); in HandleMovWide() 163 cur_frame_handler.GetVReg(vd).MovePrimitive(cur_frame_handler.GetVReg(vs)); in HandleMovWide() 170 uint16_t vd = this->GetInst().template GetVReg<format, 0>(); in HandleMovObj() 171 uint16_t vs = this->GetInst().template GetVReg<format, 1>(); in HandleMovObj() 174 cur_frame_handler.GetVReg(vd).MoveReference(cur_frame_handler.GetVReg(vs)); in HandleMovObj() 181 uint16_t vd = this->GetInst().template GetVReg<format, 0>(); in HandleMovDyn() [all …]
|
| D | vregister_iterator.h | 34 vreg_idx = instn_.GetVReg<format, 0>(); in GetAs() 38 vreg_idx = instn_.GetVReg<format, 1>(); in GetAs() 47 vreg_idx = instn_.GetVReg<format, 0>(); in GetAs() 51 vreg_idx = instn_.GetVReg<format, 1>(); in GetAs() 55 vreg_idx = instn_.GetVReg<format, 2>(); in GetAs() 59 vreg_idx = instn_.GetVReg<format, 3>(); in GetAs() 66 vreg_idx = instn_.GetVReg<format, 0>() + param_idx; in GetAs() 71 auto vreg = frame_->GetVReg(vreg_idx); in GetAs()
|
| D | frame.h | 64 // You can use the `FrameHandler` to access the vregisters list and GetVReg will return `VRegisterR… 135 ALWAYS_INLINE inline const interpreter::VRegister &GetVReg(size_t i) const in GetVReg() function 140 ALWAYS_INLINE inline interpreter::VRegister &GetVReg(size_t i) in GetVReg() function 621 ALWAYS_INLINE inline interpreter::StaticVRegisterRef GetVReg(size_t i) in GetVReg() function 644 ALWAYS_INLINE inline interpreter::DynamicVRegisterRef GetVReg(size_t i) in GetVReg() function
|
| D | interpreter_impl.cpp | 77 std::cerr << pad << "v" << i << "." << frame_handler.GetVReg(i).DumpVReg() << std::endl; in DebugDump()
|
| D | instruction_handler_base.h | 107 << frame_handler.GetVReg(i).DumpVReg(); in DumpVRegs()
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_instruction_tests.cpp | 34 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 1); in TEST() 42 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 0xf); in TEST() 66 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST() 74 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0xf2); in TEST() 98 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM16, 0>()), 0x10); in TEST() 106 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM16, 0>()), 0xff); in TEST() 130 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM32, 0>()), 0x04); in TEST() 138 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM32, 0>()), 0xaa); in TEST() 162 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM64, 0>()), 0x11); in TEST() 170 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM64, 0>()), 0xab); in TEST() [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
| D | inst_templates.yaml | 46 inst->SetInput(0, GetDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>())); 53 UpdateDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>(), inst); 71 inst->SetInput(1, GetDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>())); 82 inst->SetInput(1, GetDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>())); 96 UpdateDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>(), graph_->GetOrCreateNullPtr()); 100 …UpdateDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>(), FindOrCreate32BitConstant(instru… 102 …UpdateDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>(), FindOrCreateConstant(instruction… 105 …UpdateDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>(), FindOrCreateConstant(instruction… 109 …UpdateDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>(), GetDefinition(instruction->GetVR… 114 … UpdateDefinition(instruction->GetVReg<<%=inst.get_format%>, 0>(), FindOrCreateFloatConstant(imm)); [all …]
|
| /arkcompiler/runtime_core/verification/absint/ |
| D | abs_int_inl.h | 416 uint16_t vd = inst_.GetVReg<format, 0x00>(); in HandleMov() 417 uint16_t vs = inst_.GetVReg<format, 0x01>(); in HandleMov() 434 uint16_t vd = inst_.GetVReg<format, 0x00>(); in HandleMovWide() 435 uint16_t vs = inst_.GetVReg<format, 0x01>(); in HandleMovWide() 452 uint16_t vd = inst_.GetVReg<format, 0x00>(); in HandleMovObj() 453 uint16_t vs = inst_.GetVReg<format, 0x01>(); in HandleMovObj() 479 uint16_t vd = inst_.GetVReg<format>(); in HandleMovi() 500 uint16_t vd = inst_.GetVReg<format>(); in HandleMoviWide() 512 uint16_t vd = inst_.GetVReg<format>(); in HandleFmovi() 524 uint16_t vd = inst_.GetVReg<format>(); in HandleFmoviWide() [all …]
|
| /arkcompiler/runtime_core/runtime/tooling/ |
| D | debugger.cpp | 193 return StaticFrameHandler(frame).GetVReg(thisRegNum); in GetThisAddrVRegByPandaFrame() 201 return DynamicFrameHandler(frame).GetVReg(thisRegNum); in GetThisAddrVRegByPandaFrameDyn() 242 return StaticFrameHandler(frame).GetVReg(uint32_t(regNumber)); in GetVRegByPandaFrame() 257 return DynamicFrameHandler(frame).GetVReg(uint32_t(regNumber)); in GetVRegByPandaFrameDyn() 729 interpreter::VRegister ® = thread->GetCurrentFrame()->GetVReg(inst.GetVReg()); in HandlePropertyAccess() 777 interpreter::VRegister ® = thread->GetCurrentFrame()->GetVReg(inst.GetVReg()); in HandlePropertyModify() 901 vregs.push_back(GetVRegValue(frame_handler.GetVReg(i))); in GetAccValue() 905 args.push_back(GetVRegValue(frame_handler.GetVReg(i + nregs))); in GetAccValue()
|
| D | debugger.h | 482 uint64_t GetVReg(size_t i) const override in GetVReg() function
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | method-inl.h | 63 static_frame_helper.GetVReg(num_vregs + i).SetValue(decoded.value); in InitActualArgs() 64 static_frame_helper.GetVReg(num_vregs + i).SetTag(decoded.tag); in InitActualArgs() 66 … static_frame_helper.GetVReg(num_vregs + i).SetReference(args_span[i].GetAs<ObjectHeader *>()); in InitActualArgs() 68 … static_frame_helper.GetVReg(num_vregs + i).SetPrimitive(args_span[i].GetAs<int64_t>()); in InitActualArgs() 104 dynamic_frame_helper.GetVReg(num_vregs + i).SetValue(args_span[i].GetRawData()); in InitActualArgs() 108 dynamic_frame_helper.GetVReg(num_vregs + i).SetValue(TaggedValue::VALUE_UNDEFINED); in InitActualArgs() 328 dynamic_frame_helper.GetVReg(i).SetValue(args_span[i].GetRawData()); in InvokeContext()
|
| D | stack_walker-inl.h | 138 auto vreg = frame_handler.GetVReg(i); in IterateRegsForIFrameInternal()
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | test_frame.h | 87 uint64_t GetVReg(size_t /* i */) const override in GetVReg() function
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | bytecode_instruction.h | 246 uint16_t GetVReg() const; 255 uint16_t GetVReg(size_t idx = 0) const;
|
| /arkcompiler/runtime_core/disassembler/templates/ |
| D | bc_ins_to_pandasm_ins.cpp.erb | 45 ins.regs.push_back(bc_ins.GetVReg(<%=reg_count%>));
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | inst_builder_gen.cpp.erb | 44 return "GetDefinition(instruction->GetVReg<#{get_format}, #{get_input_idx(index, :reg?)}>())" 324 auto input = GetDefinition(bc_inst->GetVReg<<%= format %>, <%= vreg_index %>>()); 365 size_t start_reg = bc_inst->GetVReg<<%= format %>, <%= range_reg_idx %>>();
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | variable.ts | 57 getVreg(): VReg { method in Variable
|
| D | debuginfo.ts | 336 let variableInfo = new VariableDebugInfo(key, "any", "any", (value.getVreg().num));
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | bytecode_instruction-inl_gen.h.erb | 185 ALWAYS_INLINE inline uint16_t BytecodeInst<Mode>::GetVReg() const { // NOLINTNEXTLINE(readability-… 211 ALWAYS_INLINE inline uint16_t BytecodeInst<Mode>::GetVReg(size_t idx /* = 0 */) const { // NOLINTN… 435 % op_str = "\"#{sep}v\" << inst.template GetVReg<BytecodeInst<Mode>::Format::#{inst.format.pret…
|
| /arkcompiler/runtime_core/runtime/ |
| D | stack_walker.cpp | 289 return GetIFrame()->GetVReg(vreg_num); in GetVRegValue() 315 auto vreg = GetFrameHandler<is_dynamic>(GetIFrame()).GetVReg(reg_info.GetIndex()); in SetVRegValue() 575 auto reg_ref = is_acc ? frame->GetAccAsVReg<true>() : frame_handler.GetVReg(i); in ConvertToIFrame() 591 auto reg_ref = is_acc ? frame->GetAccAsVReg() : frame_handler.GetVReg(i); in ConvertToIFrame()
|
| D | osr.cpp | 116 … vreg.IsAccumulator() ? iframe->GetAcc().GetValue() : iframe->GetVReg(vreg.GetIndex()).GetValue(); in PrepareOsrEntry()
|