Home
last modified time | relevance | path

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

12

/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/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/runtime/interpreter/mterp/riscv64/
Dmain.S323 .macro GET_VREG_WIDE reg, vreg argument
324 sh2add \reg, \vreg, xFP // vreg addr in register array
330 .macro SET_VREG_WIDE reg, vreg, z0
331 sh2add \z0, \vreg, xFP // vreg addr in register array
333 sh2add \z0, \vreg, xREFS // vreg addr in reference array
340 .macro GET_VREG_OBJECT reg, vreg argument
341 sh2add \reg, \vreg, xREFS // vreg addr in reference array
347 .macro SET_VREG_OBJECT reg, vreg, z0
348 sh2add \z0, \vreg, xFP // vreg addr in register array
350 sh2add \z0, \vreg, xREFS // vreg addr in reference array
[all …]
Dinvoke.S63 % fetch_receiver(reg="a1", vreg="s7", range=range)
95 % fetch_receiver(reg="a1", vreg="s7", range=range)
121 % fetch_receiver(reg="a1", vreg="s7", range=range)
168 % fetch_receiver(reg="a1", vreg="s7", range=range)
284 % fetch_receiver(reg="s8", vreg="s7", range=range)
369 %def fetch_receiver(reg="", vreg="", range=""):
371 GET_VREG_OBJECT $reg, $vreg // reg := refs[CCCC]
373 andi $reg, $vreg, 0xF // reg := C
420 % try_01_args(vreg="s7", shorty="s9", z0="t0", z1="t1", z2="t2", y0="s10", y1="s11", y2="s0", skip…
465 % fetch_receiver(reg="t0", vreg="s7", range=range)
[all …]
/art/test/913-heaps/
Dexpected-stdout.txt3 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location…
4 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=120,…
46 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= …
47 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8…
48 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=13,location= …
49 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=4,location= 2…
50 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=120,…
98 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location…
99 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=120,…
109 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= …
[all …]
/art/runtime/
Dstack.cc213 bool StackVisitor::GetVRegFromDebuggerShadowFrame(uint16_t vreg, in GetVRegFromDebuggerShadowFrame() argument
221 if (updated_vreg_flags[vreg]) { in GetVRegFromDebuggerShadowFrame()
225 shadow_frame->GetVRegReference(vreg))); in GetVRegFromDebuggerShadowFrame()
227 *val = shadow_frame->GetVReg(vreg); in GetVRegFromDebuggerShadowFrame()
237 uint16_t vreg, in GetVReg() argument
246 if (GetVRegFromDebuggerShadowFrame(vreg, kind, val)) { in GetVReg()
253 ? NterpGetVRegReference(cur_quick_frame_, vreg) in GetVReg()
254 : NterpGetVReg(cur_quick_frame_, vreg); in GetVReg()
263 DCHECK_EQ(result, GetVRegFromOptimizedCode(m, vreg, kind, &val2, need_full_register_list)); in GetVReg()
266 result = GetVRegFromOptimizedCode(m, vreg, kind, val, need_full_register_list); in GetVReg()
[all …]
Dquick_exception_handler.cc335 for (size_t vreg = 0; vreg < catch_vreg_start; ++vreg) { in SetCatchEnvironmentForOptimizedHandler() local
336 DexRegisterLocation::Kind catch_location_kind = catch_vreg_map[vreg].GetKind(); in SetCatchEnvironmentForOptimizedHandler()
344 for (size_t vreg = catch_vreg_start; vreg < catch_vreg_map.size(); ++vreg) { in SetCatchEnvironmentForOptimizedHandler() local
345 DexRegisterLocation::Kind catch_location_kind = catch_vreg_map[vreg].GetKind(); in SetCatchEnvironmentForOptimizedHandler()
353 VRegKind vreg_kind = ToVRegKind(throw_vreg_map[vreg].GetKind()); in SetCatchEnvironmentForOptimizedHandler()
359 vreg, in SetCatchEnvironmentForOptimizedHandler()
362 throw_vreg_map[vreg], in SetCatchEnvironmentForOptimizedHandler()
364 CHECK(get_vreg_success) << "VReg " << vreg << " was optimized out (" in SetCatchEnvironmentForOptimizedHandler()
370 int32_t slot_offset = catch_vreg_map[vreg].GetStackOffsetInBytes(); in SetCatchEnvironmentForOptimizedHandler()
609 for (uint16_t vreg = 0; vreg < number_of_vregs; ++vreg) { in HandleOptimizingDeoptimization() local
[all …]
Dstack.h233 uint16_t vreg,
240 uint16_t vreg,
247 EXPORT bool SetVReg(ArtMethod* m, uint16_t vreg, uint32_t new_value, VRegKind kind)
252 EXPORT bool SetVRegReference(ArtMethod* m, uint16_t vreg, ObjPtr<mirror::Object> new_value)
258 uint16_t vreg,
356 bool GetVRegFromDebuggerShadowFrame(uint16_t vreg, VRegKind kind, uint32_t* val) const
359 uint16_t vreg,
365 bool GetVRegPairFromDebuggerShadowFrame(uint16_t vreg,
371 uint16_t vreg,
379 ShadowFrame* PrepareSetVReg(ArtMethod* m, uint16_t vreg, bool wide)
Dnterp_helpers.h62 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg)
69 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg)
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()
Dnterp_helpers.cc213 uint32_t NterpGetVReg(ArtMethod** frame, uint16_t vreg) { in NterpGetVReg() argument
214 return reinterpret_cast<uint32_t*>(NterpGetRegistersArray(frame))[vreg]; in NterpGetVReg()
217 uint32_t NterpGetVRegReference(ArtMethod** frame, uint16_t vreg) { in NterpGetVRegReference() argument
218 return reinterpret_cast<uint32_t*>(NterpGetReferenceArray(frame))[vreg]; in NterpGetVRegReference()
Dmethod_handles.cc586 uint32_t vreg) REQUIRES_SHARED(Locks::mutator_lock_) { in GetValueFromShadowFrame() argument
590 field_value.SetZ(static_cast<uint8_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame()
593 field_value.SetB(static_cast<int8_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame()
596 field_value.SetC(static_cast<uint16_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame()
599 field_value.SetS(static_cast<int16_t>(shadow_frame.GetVReg(vreg))); in GetValueFromShadowFrame()
603 field_value.SetI(shadow_frame.GetVReg(vreg)); in GetValueFromShadowFrame()
607 field_value.SetJ(shadow_frame.GetVRegLong(vreg)); in GetValueFromShadowFrame()
610 field_value.SetL(shadow_frame.GetVRegReference(vreg)); in GetValueFromShadowFrame()
/art/runtime/interpreter/
Dshadow_frame.h148 const uint32_t* vreg = &vregs_[i]; in GetVReg() local
149 return *reinterpret_cast<const int32_t*>(vreg); in GetVReg()
173 const uint32_t* vreg = &vregs_[i]; in GetVRegFloat() local
174 return *reinterpret_cast<const float*>(vreg); in GetVRegFloat()
179 const uint32_t* vreg = &vregs_[i]; in GetVRegLong() local
181 return *reinterpret_cast<unaligned_int64*>(vreg); in GetVRegLong()
186 const uint32_t* vreg = &vregs_[i]; in GetVRegDouble() local
188 return *reinterpret_cast<unaligned_double*>(vreg); in GetVRegDouble()
213 uint32_t* vreg = &vregs_[i]; in SetVReg() local
214 *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.h249 ALWAYS_INLINE static JValue GetFieldValue(const ShadowFrame& shadow_frame, uint32_t vreg) in GetFieldValue() argument
254 field_value.SetZ(static_cast<uint8_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
257 field_value.SetB(static_cast<int8_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
260 field_value.SetC(static_cast<uint16_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
263 field_value.SetS(static_cast<int16_t>(shadow_frame.GetVReg(vreg))); in GetFieldValue()
266 field_value.SetI(shadow_frame.GetVReg(vreg)); in GetFieldValue()
269 field_value.SetJ(shadow_frame.GetVRegLong(vreg)); in GetFieldValue()
272 field_value.SetL(shadow_frame.GetVRegReference(vreg)); in GetFieldValue()
/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.h87 uint16_t vreg, in GetVariableLocations() argument
148 reg_lo = dex_register_map[vreg]; in GetVariableLocations()
150 reg_hi = dex_register_map[vreg + 1]; in GetVariableLocations()
173 uint16_t vreg, in WriteDebugLocEntry() argument
190 vreg, in WriteDebugLocEntry()
Delf_debug_info_writer.h213 const uint32_t vreg = accessor.RegistersSize() - accessor.InsSize() + arg_reg; in Write() local
215 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write()
233 const uint32_t vreg = accessor.RegistersSize() - accessor.InsSize() + arg_reg; in Write() local
234 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write()
456 uint16_t vreg,
463 vreg,
/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/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/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