Home
last modified time | relevance | path

Searched refs:vreg (Results 1 – 25 of 34) sorted by relevance

12

/art/test/454-get-vreg/
DAndroid.bp3 // Build rules for ART run-test `454-get-vreg`.
16 name: "art-run-test-454-get-vreg",
21 ":art-run-test-454-get-vreg-expected-stdout",
22 ":art-run-test-454-get-vreg-expected-stderr",
28 name: "art-run-test-454-get-vreg-expected-stdout",
29 out: ["art-run-test-454-get-vreg-expected-stdout.txt"],
36 name: "art-run-test-454-get-vreg-expected-stderr",
37 out: ["art-run-test-454-get-vreg-expected-stderr.txt"],
/art/test/466-get-live-vreg/
DAndroid.bp3 // Build rules for ART run-test `466-get-live-vreg`.
16 name: "art-run-test-466-get-live-vreg",
21 ":art-run-test-466-get-live-vreg-expected-stdout",
22 ":art-run-test-466-get-live-vreg-expected-stderr",
28 name: "art-run-test-466-get-live-vreg-expected-stdout",
29 out: ["art-run-test-466-get-live-vreg-expected-stdout.txt"],
36 name: "art-run-test-466-get-live-vreg-expected-stderr",
37 out: ["art-run-test-466-get-live-vreg-expected-stderr.txt"],
/art/test/461-get-reference-vreg/
DAndroid.bp3 // Build rules for ART run-test `461-get-reference-vreg`.
16 name: "art-run-test-461-get-reference-vreg",
21 ":art-run-test-461-get-reference-vreg-expected-stdout",
22 ":art-run-test-461-get-reference-vreg-expected-stderr",
28 name: "art-run-test-461-get-reference-vreg-expected-stdout",
29 out: ["art-run-test-461-get-reference-vreg-expected-stdout.txt"],
36 name: "art-run-test-461-get-reference-vreg-expected-stderr",
37 out: ["art-run-test-461-get-reference-vreg-expected-stderr.txt"],
/art/test/913-heaps/
Dexpected-stdout.txt4 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,…
101 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location…
102 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,…
113 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= …
[all …]
/art/runtime/
Dstack.cc189 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()
[all …]
Dquick_exception_handler.cc270 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 …]
Dstack.h228 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,
321 bool GetVRegFromDebuggerShadowFrame(uint16_t vreg, VRegKind kind, uint32_t* val) const
324 uint16_t vreg,
329 bool GetVRegPairFromDebuggerShadowFrame(uint16_t vreg,
335 uint16_t vreg,
343 ShadowFrame* PrepareSetVReg(ArtMethod* m, uint16_t vreg, bool wide)
Dnterp_helpers.h67 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg)
74 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg)
Dnterp_helpers.cc176 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg) { in NterpGetVReg() argument
177 return reinterpret_cast<uint32_t*>(NterpGetRegistersArray(frame))[vreg]; in NterpGetVReg()
180 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg) { in NterpGetVRegReference() argument
181 return reinterpret_cast<uint32_t*>(NterpGetReferenceArray(frame))[vreg]; in NterpGetVRegReference()
Djava_frame_root_info.h49 JavaFrameRootInfo(uint32_t thread_id, const StackVisitor* stack_visitor, size_t vreg) in JavaFrameRootInfo() argument
50 : RootInfo(kRootJavaFrame, thread_id), stack_visitor_(stack_visitor), vreg_(vreg) { in JavaFrameRootInfo()
Dmethod_handles.cc865 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/runtime/interpreter/mterp/arm64/
Dmain.S251 .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/
Dshadow_frame.h140 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 …]
Dshadow_frame-inl.h34 uint32_t* vreg = &vregs_[i]; in SetVRegReference() local
35 reinterpret_cast<StackReference<mirror::Object>*>(vreg)->Assign(val); in SetVRegReference()
Dinterpreter_common.h451 ALWAYS_INLINE static JValue GetFieldValue(const ShadowFrame& shadow_frame, uint32_t vreg) in GetFieldValue() argument
456 field_value.SetZ(static_cast<uint8_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
459 field_value.SetB(static_cast<int8_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
462 field_value.SetC(static_cast<uint16_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
465 field_value.SetS(static_cast<int16_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
468 field_value.SetI(shadow_frame.GetVReg(vreg)); in GetFieldValue()
471 field_value.SetJ(shadow_frame.GetVRegLong(vreg)); in GetFieldValue()
474 field_value.SetL(shadow_frame.GetVRegReference(vreg)); in GetFieldValue()
/art/runtime/interpreter/mterp/arm/
Dmain.S254 .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/
Dinfo.txt1 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/compiler/debug/
Delf_debug_loc_writer.h83 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()
Delf_debug_info_writer.h212 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/runtime/interpreter/mterp/armng/
Dmain.S188 .macro GET_VREG reg, vreg argument
189 ldr \reg, [rFP, \vreg, lsl #2]
191 .macro GET_VREG_OBJECT reg, vreg argument
192 ldr \reg, [rREFS, \vreg, lsl #2]
194 .macro SET_VREG reg, vreg argument
195 str \reg, [rFP, \vreg, lsl #2]
197 str \reg, [rREFS, \vreg, lsl #2]
199 .macro SET_VREG_OBJECT reg, vreg argument
200 str \reg, [rFP, \vreg, lsl #2]
201 str \reg, [rREFS, \vreg, lsl #2]
[all …]
/art/test/134-reg-promotion/
Dinfo.txt1 Test that a vreg value that was defined by a const 0 and is used is both ref
/art/runtime/interpreter/mterp/arm64ng/
Dmain.S184 .macro GET_VREG reg, vreg argument
185 ldr \reg, [xFP, \vreg, uxtw #2]
187 .macro GET_VREG_OBJECT reg, vreg argument
188 ldr \reg, [xREFS, \vreg, uxtw #2]
190 .macro SET_VREG reg, vreg argument
191 str \reg, [xFP, \vreg, uxtw #2]
192 str wzr, [xREFS, \vreg, uxtw #2]
194 .macro SET_VREG_OBJECT reg, vreg argument
195 str \reg, [xFP, \vreg, uxtw #2]
196 str \reg, [xREFS, \vreg, uxtw #2]
[all …]
/art/test/541-regression-inlined-deopt/
Dinfo.txt3 control over vregs because the previous test 449 would pass because the vreg
/art/test/550-checker-regression-wide-store/smali/
DTestCase.smali25 # 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/
DTestCase.smali47 # Make sure the reference is not stored in the same vreg as used by

12