/art/runtime/interpreter/ |
D | interpreter_switch_impl-inl.h | 58 static NO_INLINE void UnlockHeldMonitors(Thread* self, ShadowFrame* shadow_frame) in UnlockHeldMonitors() argument 60 DCHECK(shadow_frame->GetForcePopFrame()); in UnlockHeldMonitors() 62 if (kMonitorCounting && shadow_frame->GetMethod()->MustCountLocks()) { in UnlockHeldMonitors() 64 shadow_frame->GetLockCountData().VisitMonitors( in UnlockHeldMonitors() 68 DoMonitorExit<do_assignability_check>(self, shadow_frame, *obj); in UnlockHeldMonitors() 72 verifier::MethodVerifier::FindLocksAtDexPc(shadow_frame->GetMethod(), in UnlockHeldMonitors() 73 shadow_frame->GetDexPC(), in UnlockHeldMonitors() 79 << shadow_frame->GetMethod()->PrettyMethod() << " at pc " in UnlockHeldMonitors() 80 << shadow_frame->GetDexPC(); in UnlockHeldMonitors() 83 self, shadow_frame, shadow_frame->GetVRegReference(*reg.dex_registers.begin())); in UnlockHeldMonitors() [all …]
|
D | unstarted_runtime.cc | 94 ShadowFrame* shadow_frame, in CharacterLowerUpper() argument 98 uint32_t int_value = static_cast<uint32_t>(shadow_frame->GetVReg(arg_offset)); in CharacterLowerUpper() 119 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToLowerCase() argument 120 CharacterLowerUpper(self, shadow_frame, result, arg_offset, true); in UnstartedCharacterToLowerCase() 124 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToUpperCase() argument 125 CharacterLowerUpper(self, shadow_frame, result, arg_offset, false); in UnstartedCharacterToUpperCase() 176 ShadowFrame* shadow_frame, in GetClassName() argument 179 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in GetClassName() 205 ShadowFrame* shadow_frame, in UnstartedClassForNameCommon() argument 210 ObjPtr<mirror::String> class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForNameCommon() [all …]
|
D | interpreter.cc | 250 ShadowFrame& shadow_frame, in Execute() argument 254 DCHECK(!shadow_frame.GetMethod()->IsAbstract()); in Execute() 255 DCHECK(!shadow_frame.GetMethod()->IsNative()); in Execute() 266 CHECK_EQ(shadow_frame.GetDexPC(), 0u); in Execute() 270 ArtMethod *method = shadow_frame.GetMethod(); in Execute() 274 shadow_frame.GetThisObject(accessor.InsSize()), in Execute() 277 if (UNLIKELY(shadow_frame.GetForcePopFrame())) { in Execute() 280 DCHECK(PrevFrameWillRetry(self, shadow_frame)); in Execute() 285 shadow_frame.GetThisObject(accessor.InsSize()), in Execute() 295 jit->MethodEntered(self, shadow_frame.GetMethod()); in Execute() [all …]
|
D | interpreter_common.h | 124 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, 138 ShadowFrame& shadow_frame, in DoInvoke() argument 151 ArtMethod* sf_method = shadow_frame.GetMethod(); in DoInvoke() 177 (type == kStatic) ? nullptr : shadow_frame.GetVRegReference(vregC); in DoInvoke() 205 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); in DoInvoke() 209 if (MterpHandleIntrinsic(&shadow_frame, called_method, inst, inst_data, in DoInvoke() 210 shadow_frame.GetResultRegister())) { in DoInvoke() 262 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in DoInvoke() 267 *new_shadow_frame->GetVRegAddr(dst) = *shadow_frame.GetVRegAddr(src); in DoInvoke() 268 *new_shadow_frame->GetShadowRefAddr(dst) = *shadow_frame.GetShadowRefAddr(src); in DoInvoke() [all …]
|
D | interpreter_common.cc | 96 bool DoFieldGet(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, in DoFieldGet() argument 101 FindFieldFromCode<find_type, do_access_check>(field_idx, shadow_frame.GetMethod(), self, in DoFieldGet() 118 obj = shadow_frame.GetVRegReference(inst->VRegB_22c(inst_data)); in DoFieldGet() 126 if (UNLIKELY(!DoFieldGetCommon<field_type>(self, shadow_frame, obj, f, &result))) { in DoFieldGet() 134 shadow_frame.SetVReg(vregA, result.GetZ()); in DoFieldGet() 137 shadow_frame.SetVReg(vregA, result.GetB()); in DoFieldGet() 140 shadow_frame.SetVReg(vregA, result.GetC()); in DoFieldGet() 143 shadow_frame.SetVReg(vregA, result.GetS()); in DoFieldGet() 146 shadow_frame.SetVReg(vregA, result.GetI()); in DoFieldGet() 149 shadow_frame.SetVRegLong(vregA, result.GetJ()); in DoFieldGet() [all …]
|
D | interpreter_intrinsics.cc | 28 static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ 35 result_register->set(op(shadow_frame->get1, shadow_frame->get2)); \ 49 static ALWAYS_INLINE bool name(ShadowFrame* shadow_frame, \ 56 result_register->set(op(shadow_frame->get(arg[0]))); \ 182 static ALWAYS_INLINE bool MterpStringCharAt(ShadowFrame* shadow_frame, in MterpStringCharAt() argument 189 ObjPtr<mirror::String> str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCharAt() 191 int index = shadow_frame->GetVReg(arg[1]); in MterpStringCharAt() 206 static ALWAYS_INLINE bool MterpStringCompareTo(ShadowFrame* shadow_frame, in MterpStringCompareTo() argument 213 ObjPtr<mirror::String> str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCompareTo() 214 ObjPtr<mirror::Object> arg1 = shadow_frame->GetVRegReference(arg[1]); in MterpStringCompareTo() [all …]
|
D | interpreter_switch_impl.h | 41 ShadowFrame& shadow_frame; member 60 ShadowFrame& shadow_frame, JValue result_register, in ExecuteSwitchImpl() argument 66 .shadow_frame = shadow_frame, in ExecuteSwitchImpl()
|
D | unstarted_runtime_test.cc | 69 ShadowFrame* shadow_frame, \ 73 interpreter::UnstartedRuntime::Unstarted ## Name(self, shadow_frame, result, arg_offset); \ 412 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, method, 0); in TEST_F() local 419 shadow_frame->SetVRegReference(0, reference_empty_string.Get()); in TEST_F() 420 shadow_frame->SetVRegReference(1, string_arg.Get()); in TEST_F() 424 *shadow_frame, in TEST_F() 885 UniqueDeoptShadowFramePtr shadow_frame = CreateShadowFrame(10, nullptr, nullptr, 0); in TEST_F() local 888 shadow_frame->SetVRegReference(0, class_klass); in TEST_F() 889 UnstartedClassIsAnonymousClass(self, shadow_frame.get(), &result, 0); in TEST_F() 898 shadow_frame->SetVRegReference(0, c); in TEST_F() [all …]
|
D | interpreter.h | 50 ShadowFrame* shadow_frame, 58 ShadowFrame* shadow_frame) 63 ShadowFrame* shadow_frame,
|
D | unstarted_runtime.h | 53 ShadowFrame* shadow_frame, 69 ShadowFrame* shadow_frame, \ 94 ShadowFrame* shadow_frame,
|
D | interpreter_mterp_impl.h | 36 ShadowFrame* shadow_frame,
|
D | interpreter_intrinsics.h | 32 bool MterpHandleIntrinsic(ShadowFrame* shadow_frame,
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 166 ShadowFrame* shadow_frame, in MterpInvokeVirtual() argument 170 JValue* result_register = shadow_frame->GetResultRegister(); in MterpInvokeVirtual() 173 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeVirtual() 177 ShadowFrame* shadow_frame, in MterpInvokeSuper() argument 181 JValue* result_register = shadow_frame->GetResultRegister(); in MterpInvokeSuper() 184 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeSuper() 188 ShadowFrame* shadow_frame, in MterpInvokeInterface() argument 192 JValue* result_register = shadow_frame->GetResultRegister(); in MterpInvokeInterface() 195 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeInterface() 199 ShadowFrame* shadow_frame, in MterpInvokeDirect() argument [all …]
|
D | mterp_stub.cc | 43 ShadowFrame* shadow_frame, in ExecuteMterpImpl() argument 46 UNUSED(self); UNUSED(shadow_frame); UNUSED(code_item); UNUSED(result_register); in ExecuteMterpImpl()
|
/art/runtime/ |
D | method_handles.cc | 422 ShadowFrame& shadow_frame, in MethodHandleInvokeMethod() argument 452 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeMethod() 465 CopyArgumentsFromCallerFrame(shadow_frame, in MethodHandleInvokeMethod() 482 shadow_frame.GetVRegReference(first_arg_register))); in MethodHandleInvokeMethod() 499 shadow_frame, in MethodHandleInvokeMethod() 515 shadow_frame.GetMethod(), in MethodHandleInvokeMethod() 531 shadow_frame.GetVRegReference(first_callee_register)))); in MethodHandleInvokeMethod() 552 ShadowFrame& shadow_frame, in MethodHandleInvokeTransform() argument 573 CREATE_SHADOW_FRAME(kNumRegsForTransform, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeTransform() 584 shadow_frame.GetVRegReference(first_callee_register))); in MethodHandleInvokeTransform() [all …]
|
D | var_handles.cc | 31 ShadowFrame& shadow_frame, in VarHandleInvokeAccessorWithConversions() argument 44 CREATE_SHADOW_FRAME(num_vregs, nullptr, shadow_frame.GetMethod(), shadow_frame.GetDexPC()); in VarHandleInvokeAccessorWithConversions() 45 ShadowFrameGetter getter(shadow_frame, operands); in VarHandleInvokeAccessorWithConversions() 62 ShadowFrame& shadow_frame, in VarHandleInvokeAccessor() argument 81 return var_handle->Access(access_mode, &shadow_frame, operands, result); in VarHandleInvokeAccessor() 84 shadow_frame, in VarHandleInvokeAccessor()
|
D | common_dex_operations.h | 47 ShadowFrame* shadow_frame, 53 ShadowFrame* shadow_frame, 92 const ShadowFrame& shadow_frame, in DoFieldGetCommon() argument 111 shadow_frame.GetMethod(), in DoFieldGetCommon() 112 shadow_frame.GetDexPC(), in DoFieldGetCommon() 150 const ShadowFrame& shadow_frame, in DoFieldPutCommon() argument 170 shadow_frame.GetMethod(), in DoFieldPutCommon() 171 shadow_frame.GetDexPC(), in DoFieldPutCommon() 177 if (shadow_frame.GetForcePopFrame()) { in DoFieldPutCommon() 182 DCHECK(interpreter::PrevFrameWillRetry(self, shadow_frame)); in DoFieldPutCommon()
|
D | stack.cc | 159 ShadowFrame* shadow_frame = thread_->FindDebuggerShadowFrame(frame_id); in GetVRegFromDebuggerShadowFrame() local 160 if (shadow_frame != nullptr) { in GetVRegFromDebuggerShadowFrame() 167 shadow_frame->GetVRegReference(vreg))); in GetVRegFromDebuggerShadowFrame() 169 *val = shadow_frame->GetVReg(vreg); in GetVRegFromDebuggerShadowFrame() 383 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in SetVReg() local 384 if (shadow_frame == nullptr) { in SetVReg() 389 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in SetVReg() 390 CHECK(shadow_frame != nullptr); in SetVReg() 396 shadow_frame->SetVRegReference(vreg, reinterpret_cast<mirror::Object*>(new_value)); in SetVReg() 398 shadow_frame->SetVReg(vreg, new_value); in SetVReg() [all …]
|
D | method_handles.h | 131 ShadowFrame& shadow_frame, 139 ShadowFrame& shadow_frame,
|
D | var_handles.h | 25 ShadowFrame& shadow_frame,
|
D | method_handles-inl.h | 40 ShadowFrameGetter(const ShadowFrame& shadow_frame, 43 : shadow_frame_(shadow_frame), operands_(operands), operand_index_(operand_index) {} in shadow_frame_() argument 79 ShadowFrameSetter(ShadowFrame* shadow_frame, size_t first_dst_reg) in ShadowFrameSetter() argument 80 : shadow_frame_(shadow_frame), arg_index_(first_dst_reg) {} in ShadowFrameSetter()
|
D | thread.cc | 238 StackedShadowFrameRecord(ShadowFrame* shadow_frame, in StackedShadowFrameRecord() argument 241 : shadow_frame_(shadow_frame), in StackedShadowFrameRecord() 433 ShadowFrame* shadow_frame = record->GetShadowFrame(); in PopStackedShadowFrame() local 435 return shadow_frame; in PopStackedShadowFrame() 441 ShadowFrame* shadow_frame, in Create() argument 446 return new (memory) FrameIdToShadowFrame(frame_id, shadow_frame, next); in Create() 464 ShadowFrame* shadow_frame, in FrameIdToShadowFrame() argument 467 shadow_frame_(shadow_frame), in FrameIdToShadowFrame() 516 ShadowFrame* shadow_frame = FindDebuggerShadowFrame(frame_id); in FindOrCreateDebuggerShadowFrame() local 517 if (shadow_frame != nullptr) { in FindOrCreateDebuggerShadowFrame() [all …]
|
/art/runtime/mirror/ |
D | var_handle.h | 133 ShadowFrame* shadow_frame, 193 ShadowFrame* shadow_frame, 218 ShadowFrame* shadow_frame, 233 ShadowFrame* shadow_frame, 258 ShadowFrame* shadow_frame,
|
/art/test/1945-proxy-method-arguments/ |
D | get_args.cc | 45 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in VisitFrame() local 46 if (shadow_frame != nullptr) { in VisitFrame()
|
/art/tools/cpp-define-generator/ |
D | asm_defines.def | 31 #include "shadow_frame.def"
|