• Home
  • Raw
  • Download

Lines Matching refs:vreg

189 bool StackVisitor::GetVRegFromDebuggerShadowFrame(uint16_t vreg,  in GetVRegFromDebuggerShadowFrame()  argument
197 if (updated_vreg_flags[vreg]) { in GetVRegFromDebuggerShadowFrame()
201 shadow_frame->GetVRegReference(vreg))); in GetVRegFromDebuggerShadowFrame()
203 *val = shadow_frame->GetVReg(vreg); in GetVRegFromDebuggerShadowFrame()
213 uint16_t vreg, in GetVReg() argument
221 if (GetVRegFromDebuggerShadowFrame(vreg, kind, val)) { in GetVReg()
228 ? NterpGetVRegReference(cur_quick_frame_, vreg) in GetVReg()
229 : NterpGetVReg(cur_quick_frame_, vreg); in GetVReg()
238 DCHECK_EQ(result, GetVRegFromOptimizedCode(m, vreg, kind, &val2)); in GetVReg()
241 result = GetVRegFromOptimizedCode(m, vreg, kind, val); in GetVReg()
256 cur_shadow_frame_->GetVRegReference(vreg))); in GetVReg()
258 *val = cur_shadow_frame_->GetVReg(vreg); in GetVReg()
265 uint16_t vreg, in GetVRegFromOptimizedCode() argument
273 DCHECK_LT(vreg, number_of_dex_registers); in GetVRegFromOptimizedCode()
288 DexRegisterLocation::Kind location_kind = dex_register_map[vreg].GetKind(); in GetVRegFromOptimizedCode()
291 const int32_t offset = dex_register_map[vreg].GetStackOffsetInBytes(); in GetVRegFromOptimizedCode()
302 uint32_t reg = dex_register_map[vreg].GetMachineRegister(); in GetVRegFromOptimizedCode()
314 uint32_t reg = dex_register_map[vreg].GetMachineRegister(); in GetVRegFromOptimizedCode()
318 uint32_t result = dex_register_map[vreg].GetConstant(); in GetVRegFromOptimizedCode()
328 LOG(FATAL) << "Unexpected location kind " << dex_register_map[vreg].GetKind(); in GetVRegFromOptimizedCode()
386 bool StackVisitor::GetVRegPairFromDebuggerShadowFrame(uint16_t vreg, in GetVRegPairFromDebuggerShadowFrame() argument
392 bool success = GetVRegFromDebuggerShadowFrame(vreg, kind_lo, &low_32bits); in GetVRegPairFromDebuggerShadowFrame()
393 success &= GetVRegFromDebuggerShadowFrame(vreg + 1, kind_hi, &high_32bits); in GetVRegPairFromDebuggerShadowFrame()
400 bool StackVisitor::GetVRegPair(ArtMethod* m, uint16_t vreg, VRegKind kind_lo, in GetVRegPair() argument
411 if (GetVRegPairFromDebuggerShadowFrame(vreg, kind_lo, kind_hi, val)) { in GetVRegPair()
416 *val = cur_shadow_frame_->GetVRegLong(vreg); in GetVRegPair()
420 uint64_t val_lo = NterpGetVReg(cur_quick_frame_, vreg); in GetVRegPair()
421 uint64_t val_hi = NterpGetVReg(cur_quick_frame_, vreg + 1); in GetVRegPair()
429 return GetVRegPairFromOptimizedCode(m, vreg, kind_lo, kind_hi, val); in GetVRegPair()
432 bool StackVisitor::GetVRegPairFromOptimizedCode(ArtMethod* m, uint16_t vreg, in GetVRegPairFromOptimizedCode() argument
437 bool success = GetVRegFromOptimizedCode(m, vreg, kind_lo, &low_32bits); in GetVRegPairFromOptimizedCode()
438 success &= GetVRegFromOptimizedCode(m, vreg + 1, kind_hi, &high_32bits); in GetVRegPairFromOptimizedCode()
445 ShadowFrame* StackVisitor::PrepareSetVReg(ArtMethod* m, uint16_t vreg, bool wide) { in PrepareSetVReg() argument
460 thread_->GetUpdatedVRegFlags(frame_id)[vreg] = true; in PrepareSetVReg()
462 thread_->GetUpdatedVRegFlags(frame_id)[vreg + 1] = true; in PrepareSetVReg()
468 bool StackVisitor::SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind) { in SetVReg() argument
470 ShadowFrame* shadow_frame = PrepareSetVReg(m, vreg, /* wide= */ false); in SetVReg()
474 shadow_frame->SetVReg(vreg, new_value); in SetVReg()
478 bool StackVisitor::SetVRegReference(ArtMethod* m, uint16_t vreg, ObjPtr<mirror::Object> new_value) { in SetVRegReference() argument
479 ShadowFrame* shadow_frame = PrepareSetVReg(m, vreg, /* wide= */ false); in SetVRegReference()
483 shadow_frame->SetVRegReference(vreg, new_value); in SetVRegReference()
488 uint16_t vreg, in SetVRegPair() argument
500 ShadowFrame* shadow_frame = PrepareSetVReg(m, vreg, /* wide= */ true); in SetVRegPair()
504 shadow_frame->SetVRegLong(vreg, new_value); in SetVRegPair()