Home
last modified time | relevance | path

Searched refs:shadow_frame (Results 1 – 25 of 51) sorted by relevance

123

/art/runtime/interpreter/
Dinterpreter_switch_impl.cc35 if (!MoveToExceptionHandler(self, shadow_frame, instr)) { \
37 DoMonitorCheckOnExit<do_assignability_check>(self, &shadow_frame); \
40 shadow_frame.SetDexPC(dex::kDexNoIndex); \
46 static_cast<int32_t>(shadow_frame.GetDexPC()) - static_cast<int32_t>(dex_pc); \
63 if (!DoMonitorCheckOnExit<do_assignability_check>(self, &shadow_frame)) { \
73 shadow_frame, \
88 instrumentation->Branch(self, shadow_frame.GetMethod(), dex_pc, offset); \
92 shadow_frame.GetMethod(), \
98 shadow_frame.SetDexPC(dex::kDexNoIndex); \
108 jit->AddSamples(self, shadow_frame.GetMethod(), 1, /*with_backedges*/ true); \
[all …]
Dinterpreter_common.h120 bool DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame,
129 ShadowFrame& shadow_frame, in DoFastInvoke() argument
137 : shadow_frame.GetVRegReference(vregC); in DoFastInvoke()
138 ArtMethod* sf_method = shadow_frame.GetMethod(); in DoFastInvoke()
153 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); in DoFastInvoke()
156 if (MterpHandleIntrinsic(&shadow_frame, called_method, inst, inst_data, in DoFastInvoke()
157 shadow_frame.GetResultRegister())) { in DoFastInvoke()
161 return DoCall<false, false>(called_method, self, shadow_frame, inst, inst_data, result); in DoFastInvoke()
169 ShadowFrame& shadow_frame, in DoInvoke() argument
180 (type == kStatic) ? nullptr : shadow_frame.GetVRegReference(vregC); in DoInvoke()
[all …]
Dunstarted_runtime.cc90 ShadowFrame* shadow_frame, in CharacterLowerUpper() argument
94 uint32_t int_value = static_cast<uint32_t>(shadow_frame->GetVReg(arg_offset)); in CharacterLowerUpper()
115 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToLowerCase() argument
116 CharacterLowerUpper(self, shadow_frame, result, arg_offset, true); in UnstartedCharacterToLowerCase()
120 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToUpperCase() argument
121 CharacterLowerUpper(self, shadow_frame, result, arg_offset, false); in UnstartedCharacterToUpperCase()
171 static mirror::String* GetClassName(Thread* self, ShadowFrame* shadow_frame, size_t arg_offset) in GetClassName() argument
173 mirror::Object* param = shadow_frame->GetVRegReference(arg_offset); in GetClassName()
194 ShadowFrame* shadow_frame, in UnstartedClassForNameCommon() argument
199 mirror::String* class_name = GetClassName(self, shadow_frame, arg_offset); in UnstartedClassForNameCommon()
[all …]
Dinterpreter.cc244 ShadowFrame& shadow_frame, in Execute() argument
247 DCHECK(!shadow_frame.GetMethod()->IsAbstract()); in Execute()
248 DCHECK(!shadow_frame.GetMethod()->IsNative()); in Execute()
249 if (LIKELY(shadow_frame.GetDexPC() == 0)) { // Entering the method, but not via deoptimization. in Execute()
254 ArtMethod *method = shadow_frame.GetMethod(); in Execute()
258 shadow_frame.GetThisObject(accessor.InsSize()), in Execute()
263 shadow_frame.GetThisObject(accessor.InsSize()), in Execute()
273 jit->MethodEntered(self, shadow_frame.GetMethod()); in Execute()
283 ArtInterpreterToCompiledCodeBridge(self, nullptr, &shadow_frame, arg_offset, &result); in Execute()
285 self->PushShadowFrame(&shadow_frame); in Execute()
[all …]
Dinterpreter_intrinsics.cc28 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 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 mirror::String* str = shadow_frame->GetVRegReference(arg[0])->AsString(); in MterpStringCompareTo()
214 mirror::Object* arg1 = shadow_frame->GetVRegReference(arg[1]); in MterpStringCompareTo()
[all …]
Dunstarted_runtime_test.cc52 ShadowFrame* shadow_frame, \
56 interpreter::UnstartedRuntime::Unstarted ## Name(self, shadow_frame, result, arg_offset); \
399 ShadowFrame* shadow_frame = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, method, 0); in TEST_F() local
403 shadow_frame->SetVRegReference(0, reference_empty_string); in TEST_F()
404 shadow_frame->SetVRegReference(1, string_arg); in TEST_F()
408 *shadow_frame, in TEST_F()
432 ShadowFrame::DeleteDeoptimizedFrame(shadow_frame); in TEST_F()
898 ShadowFrame* shadow_frame = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, nullptr, 0); in TEST_F() local
901 shadow_frame->SetVRegReference(0, class_klass); in TEST_F()
902 UnstartedClassIsAnonymousClass(self, shadow_frame, &result, 0); in TEST_F()
[all …]
Dinterpreter_switch_impl.h41 ShadowFrame& shadow_frame; member
60 ShadowFrame& shadow_frame, JValue result_register, in ExecuteSwitchImpl() argument
66 .shadow_frame = shadow_frame, in ExecuteSwitchImpl()
Dinterpreter.h50 ShadowFrame* shadow_frame,
58 ShadowFrame* shadow_frame)
63 ShadowFrame* shadow_frame,
Dunstarted_runtime.h53 ShadowFrame* shadow_frame,
69 ShadowFrame* shadow_frame, \
94 ShadowFrame* shadow_frame,
Dinterpreter_mterp_impl.h36 ShadowFrame* shadow_frame,
Dinterpreter_intrinsics.h32 bool MterpHandleIntrinsic(ShadowFrame* shadow_frame,
/art/runtime/
Dmethod_handles.cc420 ShadowFrame& shadow_frame, in MethodHandleInvokeMethod() argument
450 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeMethod()
463 CopyArgumentsFromCallerFrame(shadow_frame, in MethodHandleInvokeMethod()
480 shadow_frame.GetVRegReference(first_arg_register))); in MethodHandleInvokeMethod()
497 shadow_frame, in MethodHandleInvokeMethod()
513 shadow_frame.GetMethod(), in MethodHandleInvokeMethod()
529 shadow_frame.GetVRegReference(first_callee_register)))); in MethodHandleInvokeMethod()
550 ShadowFrame& shadow_frame, in MethodHandleInvokeTransform() argument
571 CREATE_SHADOW_FRAME(kNumRegsForTransform, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeTransform()
582 shadow_frame.GetVRegReference(first_callee_register))); in MethodHandleInvokeTransform()
[all …]
Dmethod_handles.h134 ShadowFrameGetter(const ShadowFrame& shadow_frame,
137 : shadow_frame_(shadow_frame), operands_(operands), operand_index_(operand_index) {} in shadow_frame_() argument
173 ShadowFrameSetter(ShadowFrame* shadow_frame, size_t first_dst_reg) in ShadowFrameSetter() argument
174 : shadow_frame_(shadow_frame), arg_index_(first_dst_reg) {} in ShadowFrameSetter()
196 ShadowFrame& shadow_frame,
204 ShadowFrame& shadow_frame,
Dcommon_dex_operations.h44 ShadowFrame* shadow_frame,
50 ShadowFrame* shadow_frame,
89 const ShadowFrame& shadow_frame, in DoFieldGetCommon() argument
108 shadow_frame.GetMethod(), in DoFieldGetCommon()
109 shadow_frame.GetDexPC(), in DoFieldGetCommon()
147 const ShadowFrame& shadow_frame, in DoFieldPutCommon() argument
167 shadow_frame.GetMethod(), in DoFieldPutCommon()
168 shadow_frame.GetDexPC(), in DoFieldPutCommon()
/art/runtime/interpreter/mterp/out/
Dmterp_x86_64.S755 call SYMBOL(MterpConstString) # (index, tgt_reg, shadow_frame, self)
771 call SYMBOL(MterpConstString) # (index, tgt_reg, shadow_frame, self)
791 call SYMBOL(MterpConstClass) # (index, tgt_reg, shadow_frame, self)
6256 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
6278 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
6300 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
6322 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
6344 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
6366 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
6388 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
[all …]
/art/runtime/interpreter/mterp/
Dmterp_stub.cc43 ShadowFrame* shadow_frame, in ExecuteMterpImpl() argument
46 UNUSED(self); UNUSED(shadow_frame); UNUSED(code_item); UNUSED(result_register); in ExecuteMterpImpl()
/art/runtime/interpreter/mterp/x86_64/
Dalt_stub.S16 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
Dop_const_string_jumbo.S7 call SYMBOL(MterpConstString) # (index, tgt_reg, shadow_frame, self)
Dconst.S12 call SYMBOL($helper) # (index, tgt_reg, shadow_frame, self)
/art/runtime/mirror/
Dvar_handle.h126 ShadowFrame* shadow_frame,
194 ShadowFrame* shadow_frame,
227 ShadowFrame* shadow_frame,
250 ShadowFrame* shadow_frame,
283 ShadowFrame* shadow_frame,
/art/runtime/interpreter/mterp/x86/
Dalt_stub.S17 call SYMBOL(MterpCheckBefore) # (self, shadow_frame, dex_pc_ptr)
/art/runtime/interpreter/mterp/arm/
Dalt_stub.S12 b MterpCheckBefore @ (self, shadow_frame, dex_pc_ptr) @ Tail call.
/art/test/1945-proxy-method-arguments/
Dget_args.cc45 ShadowFrame* shadow_frame = GetCurrentShadowFrame(); in VisitFrame() local
46 if (shadow_frame != nullptr) { in VisitFrame()
/art/runtime/interpreter/mterp/mips64/
Dalt_stub.S14 jalr zero, t9 # (self, shadow_frame, dex_pc_ptr) Note: tail call.
Dop_new_instance.S10 jal MterpNewInstance # (shadow_frame, self, inst_data)

123