/art/runtime/ |
D | stack.cc | 197 bool StackVisitor::GetVRegFromDebuggerShadowFrame(uint16_t vreg, in GetVRegFromDebuggerShadowFrame() argument 205 if (updated_vreg_flags[vreg]) { in GetVRegFromDebuggerShadowFrame() 209 shadow_frame->GetVRegReference(vreg))); in GetVRegFromDebuggerShadowFrame() 211 *val = shadow_frame->GetVReg(vreg); in GetVRegFromDebuggerShadowFrame() 221 uint16_t vreg, in GetVReg() argument 229 if (GetVRegFromDebuggerShadowFrame(vreg, kind, val)) { in GetVReg() 236 ? NterpGetVRegReference(cur_quick_frame_, vreg) in GetVReg() 237 : NterpGetVReg(cur_quick_frame_, vreg); in GetVReg() 246 DCHECK_EQ(result, GetVRegFromOptimizedCode(m, vreg, kind, &val2)); in GetVReg() 249 result = GetVRegFromOptimizedCode(m, vreg, kind, val); in GetVReg() [all …]
|
D | quick_exception_handler.cc | 270 for (uint16_t vreg = 0; vreg < number_of_vregs; ++vreg) { in SetCatchEnvironmentForOptimizedHandler() local 271 DexRegisterLocation::Kind catch_location = catch_vreg_map[vreg].GetKind(); in SetCatchEnvironmentForOptimizedHandler() 279 VRegKind vreg_kind = ToVRegKind(throw_vreg_map[vreg].GetKind()); in SetCatchEnvironmentForOptimizedHandler() 282 vreg, in SetCatchEnvironmentForOptimizedHandler() 285 throw_vreg_map[vreg]); in SetCatchEnvironmentForOptimizedHandler() 286 CHECK(get_vreg_success) << "VReg " << vreg << " was optimized out (" in SetCatchEnvironmentForOptimizedHandler() 292 int32_t slot_offset = catch_vreg_map[vreg].GetStackOffsetInBytes(); in SetCatchEnvironmentForOptimizedHandler() 480 for (uint16_t vreg = 0; vreg < number_of_vregs; ++vreg) { in HandleOptimizingDeoptimization() local 481 if (updated_vregs != nullptr && updated_vregs[vreg]) { in HandleOptimizingDeoptimization() 486 DexRegisterLocation::Kind location = vreg_map[vreg].GetKind(); in HandleOptimizingDeoptimization() [all …]
|
D | stack.h | 228 uint16_t vreg, 235 bool GetVRegPair(ArtMethod* m, uint16_t vreg, VRegKind kind_lo, VRegKind kind_hi, 241 bool SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind) 246 bool SetVRegReference(ArtMethod* m, uint16_t vreg, ObjPtr<mirror::Object> new_value) 252 uint16_t vreg, 327 bool GetVRegFromDebuggerShadowFrame(uint16_t vreg, VRegKind kind, uint32_t* val) const 329 bool GetVRegFromOptimizedCode(ArtMethod* m, uint16_t vreg, VRegKind kind, 333 bool GetVRegPairFromDebuggerShadowFrame(uint16_t vreg, VRegKind kind_lo, VRegKind kind_hi, 336 bool GetVRegPairFromOptimizedCode(ArtMethod* m, uint16_t vreg, 346 ShadowFrame* PrepareSetVReg(ArtMethod* m, uint16_t vreg, bool wide)
|
D | nterp_helpers.cc | 153 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg) { in NterpGetVReg() argument 154 return reinterpret_cast<uint32_t*>(NterpGetRegistersArray(frame))[vreg]; in NterpGetVReg() 157 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg) { in NterpGetVRegReference() argument 158 return reinterpret_cast<uint32_t*>(NterpGetReferenceArray(frame))[vreg]; in NterpGetVRegReference()
|
D | nterp_helpers.h | 67 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg) 74 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg)
|
D | java_frame_root_info.h | 47 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) in JavaFrameRootInfo() argument 48 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) { in JavaFrameRootInfo()
|
D | method_handles.cc | 865 uint32_t vreg) in GetValueFromShadowFrame() argument 870 field_value.SetZ(static_cast<uint8_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame() 873 field_value.SetB(static_cast<int8_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame() 876 field_value.SetC(static_cast<uint16_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame() 879 field_value.SetS(static_cast<int16_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame() 883 field_value.SetI(shadow_frame.GetVReg(vreg)); in GetValueFromShadowFrame() 887 field_value.SetJ(shadow_frame.GetVRegLong(vreg)); in GetValueFromShadowFrame() 890 field_value.SetL(shadow_frame.GetVRegReference(vreg)); in GetValueFromShadowFrame()
|
/art/test/913-heaps/ |
D | expected.txt | 4 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location… 5 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,… 48 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= … 49 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8… 50 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=13,location= … 51 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=4,location= 2… 52 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,… 102 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location… 103 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,… 114 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= … [all …]
|
/art/runtime/interpreter/mterp/arm64/ |
D | main.S | 251 .macro GET_VREG reg, vreg argument 252 ldr \reg, [xFP, \vreg, uxtw #2] 254 .macro SET_VREG reg, vreg argument 255 str \reg, [xFP, \vreg, uxtw #2] 256 str wzr, [xREFS, \vreg, uxtw #2] 258 .macro SET_VREG_OBJECT reg, vreg, tmpreg 259 str \reg, [xFP, \vreg, uxtw #2] 260 str \reg, [xREFS, \vreg, uxtw #2] 262 .macro SET_VREG_FLOAT reg, vreg argument 263 str \reg, [xFP, \vreg, uxtw #2] [all …]
|
/art/runtime/interpreter/ |
D | shadow_frame.h | 140 const uint32_t* vreg = &vregs_[i]; in GetVReg() local 141 return *reinterpret_cast<const int32_t*>(vreg); in GetVReg() 165 const uint32_t* vreg = &vregs_[i]; in GetVRegFloat() local 166 return *reinterpret_cast<const float*>(vreg); in GetVRegFloat() 171 const uint32_t* vreg = &vregs_[i]; in GetVRegLong() local 173 return *reinterpret_cast<unaligned_int64*>(vreg); in GetVRegLong() 178 const uint32_t* vreg = &vregs_[i]; in GetVRegDouble() local 180 return *reinterpret_cast<unaligned_double*>(vreg); in GetVRegDouble() 205 uint32_t* vreg = &vregs_[i]; in SetVReg() local 206 *reinterpret_cast<int32_t*>(vreg) = val; in SetVReg() [all …]
|
D | shadow_frame-inl.h | 34 uint32_t* vreg = &vregs_[i]; in SetVRegReference() local 35 reinterpret_cast<StackReference<mirror::Object>*>(vreg)->Assign(val); in SetVRegReference()
|
D | interpreter_common.h | 472 ALWAYS_INLINE static JValue GetFieldValue(const ShadowFrame& shadow_frame, uint32_t vreg) in GetFieldValue() argument 477 field_value.SetZ(static_cast<uint8_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue() 480 field_value.SetB(static_cast<int8_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue() 483 field_value.SetC(static_cast<uint16_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue() 486 field_value.SetS(static_cast<int16_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue() 489 field_value.SetI(shadow_frame.GetVReg(vreg)); in GetFieldValue() 492 field_value.SetJ(shadow_frame.GetVRegLong(vreg)); in GetFieldValue() 495 field_value.SetL(shadow_frame.GetVRegReference(vreg)); in GetFieldValue()
|
/art/runtime/interpreter/mterp/arm/ |
D | main.S | 254 .macro GET_VREG reg, vreg argument 255 ldr \reg, [rFP, \vreg, lsl #2] 257 .macro SET_VREG reg, vreg argument 258 str \reg, [rFP, \vreg, lsl #2] 260 str \reg, [rREFS, \vreg, lsl #2] 262 .macro SET_VREG_WIDE regLo, regHi, vreg argument 263 add ip, rFP, \vreg, lsl #2 267 add ip, rREFS, \vreg, lsl #2 270 .macro SET_VREG_OBJECT reg, vreg, tmpreg 271 str \reg, [rFP, \vreg, lsl #2] [all …]
|
/art/test/550-checker-regression-wide-store/ |
D | info.txt | 1 Test an SsaBuilder regression where storing into the high vreg of a pair 2 would not invalidate the low vreg. The resulting environment would generate
|
/art/test/454-get-vreg/ |
D | Android.bp | 3 name: "art-run-test-454-get-vreg",
|
/art/test/461-get-reference-vreg/ |
D | Android.bp | 3 name: "art-run-test-461-get-reference-vreg",
|
/art/test/466-get-live-vreg/ |
D | Android.bp | 3 name: "art-run-test-466-get-live-vreg",
|
/art/test/134-reg-promotion/ |
D | info.txt | 1 Test that a vreg value that was defined by a const 0 and is used is both ref
|
/art/compiler/debug/ |
D | elf_debug_loc_writer.h | 83 uint16_t vreg, in GetVariableLocations() argument 144 reg_lo = dex_register_map[vreg]; in GetVariableLocations() 146 reg_hi = dex_register_map[vreg + 1]; in GetVariableLocations() 169 uint16_t vreg, in WriteDebugLocEntry() argument 186 vreg, in WriteDebugLocEntry()
|
D | elf_debug_info_writer.h | 212 const uint32_t vreg = accessor.RegistersSize() - accessor.InsSize() + arg_reg; in Write() local 214 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write() 232 const uint32_t vreg = accessor.RegistersSize() - accessor.InsSize() + arg_reg; in Write() local 233 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write() 455 uint16_t vreg, 462 vreg,
|
/art/test/541-regression-inlined-deopt/ |
D | info.txt | 3 control over vregs because the previous test 449 would pass because the vreg
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | main.S | 195 .macro GET_VREG reg, vreg argument 196 ldr \reg, [xFP, \vreg, uxtw #2] 198 .macro GET_VREG_OBJECT reg, vreg argument 199 ldr \reg, [xREFS, \vreg, uxtw #2] 201 .macro SET_VREG reg, vreg argument 202 str \reg, [xFP, \vreg, uxtw #2] 203 str wzr, [xREFS, \vreg, uxtw #2] 205 .macro SET_VREG_OBJECT reg, vreg, tmpreg 206 str \reg, [xFP, \vreg, uxtw #2] 207 str \reg, [xREFS, \vreg, uxtw #2] [all …]
|
/art/test/550-checker-regression-wide-store/smali/ |
D | TestCase.smali | 25 # Test storing into the high vreg of a wide pair. This scenario has runtime 53 # Test that storing a wide invalidates the value in the high vreg. This
|
/art/test/541-regression-inlined-deopt/smali/ |
D | TestCase.smali | 47 # Make sure the reference is not stored in the same vreg as used by
|
/art/test/utils/ |
D | regen-test-files | 161 art-run-test-454-get-vreg 162 art-run-test-461-get-reference-vreg 163 art-run-test-466-get-live-vreg
|