• Home
  • Raw
  • Download

Lines Matching refs:inst

171   const Instruction* inst = Instruction::At(dex_pc_ptr);  in MterpInvokeVirtual()  local
173 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeVirtual()
182 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeSuper() local
184 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeSuper()
193 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeInterface() local
195 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeInterface()
204 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeDirect() local
206 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeDirect()
215 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeStatic() local
217 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeStatic()
226 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeCustom() local
228 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeCustom()
237 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokePolymorphic() local
239 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokePolymorphic()
248 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeVirtualRange() local
250 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeVirtualRange()
259 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeSuperRange() local
261 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeSuperRange()
270 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeInterfaceRange() local
272 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeInterfaceRange()
281 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeDirectRange() local
283 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeDirectRange()
292 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeStaticRange() local
294 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeStaticRange()
303 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeCustomRange() local
304 return DoInvokeCustom</*is_range=*/ true>(self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeCustomRange()
313 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokePolymorphicRange() local
315 self, *shadow_frame, inst, inst_data, result_register); in MterpInvokePolymorphicRange()
324 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeVirtualQuick() local
326 /*is_quick=*/ true>(self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeVirtualQuick()
335 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpInvokeVirtualQuickRange() local
337 /*is_quick=*/ true>(self, *shadow_frame, inst, inst_data, result_register); in MterpInvokeVirtualQuickRange()
449 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpNewInstance() local
451 ObjPtr<mirror::Class> c = ResolveVerifyAndClinit(dex::TypeIndex(inst->VRegB_21c()), in MterpNewInstance()
470 shadow_frame->SetVRegReference(inst->VRegA_21c(inst_data), obj); in MterpNewInstance()
478 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpIputObjectQuick() local
479 return DoIPutQuick<Primitive::kPrimNot, false>(*shadow_frame, inst, inst_data); in MterpIputObjectQuick()
486 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpAputObject() local
487 ObjPtr<mirror::Object> a = shadow_frame->GetVRegReference(inst->VRegB_23x()); in MterpAputObject()
491 int32_t index = shadow_frame->GetVReg(inst->VRegC_23x()); in MterpAputObject()
492 ObjPtr<mirror::Object> val = shadow_frame->GetVRegReference(inst->VRegA_23x(inst_data)); in MterpAputObject()
505 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpFilledNewArray() local
506 return DoFilledNewArray<false, false, false>(inst, *shadow_frame, self, in MterpFilledNewArray()
514 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpFilledNewArrayRange() local
515 return DoFilledNewArray<true, false, false>(inst, *shadow_frame, self, in MterpFilledNewArrayRange()
523 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpNewArray() local
524 int32_t length = shadow_frame->GetVReg(inst->VRegB_22c(inst_data)); in MterpNewArray()
526 dex::TypeIndex(inst->VRegC_22c()), length, shadow_frame->GetMethod(), self, in MterpNewArray()
531 shadow_frame->SetVRegReference(inst->VRegA_22c(inst_data), obj); in MterpNewArray()
557 const Instruction* inst = Instruction::At(dex_pc_ptr); in MterpCheckBefore() local
558 uint16_t inst_data = inst->Fetch16(0); in MterpCheckBefore()
559 if (inst->Opcode(inst_data) == Instruction::MOVE_EXCEPTION) { in MterpCheckBefore()
566 TraceExecution(*shadow_frame, inst, dex_pc); in MterpCheckBefore()
580 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogDivideByZeroException() local
581 uint16_t inst_data = inst->Fetch16(0); in MterpLogDivideByZeroException()
582 LOG(INFO) << "DivideByZero: " << inst->Opcode(inst_data); in MterpLogDivideByZeroException()
588 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogArrayIndexException() local
589 uint16_t inst_data = inst->Fetch16(0); in MterpLogArrayIndexException()
590 LOG(INFO) << "ArrayIndex: " << inst->Opcode(inst_data); in MterpLogArrayIndexException()
596 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogNegativeArraySizeException() local
597 uint16_t inst_data = inst->Fetch16(0); in MterpLogNegativeArraySizeException()
598 LOG(INFO) << "NegativeArraySize: " << inst->Opcode(inst_data); in MterpLogNegativeArraySizeException()
604 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogNoSuchMethodException() local
605 uint16_t inst_data = inst->Fetch16(0); in MterpLogNoSuchMethodException()
606 LOG(INFO) << "NoSuchMethod: " << inst->Opcode(inst_data); in MterpLogNoSuchMethodException()
612 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogExceptionThrownException() local
613 uint16_t inst_data = inst->Fetch16(0); in MterpLogExceptionThrownException()
614 LOG(INFO) << "ExceptionThrown: " << inst->Opcode(inst_data); in MterpLogExceptionThrownException()
620 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogNullObjectException() local
621 uint16_t inst_data = inst->Fetch16(0); in MterpLogNullObjectException()
622 LOG(INFO) << "NullObject: " << inst->Opcode(inst_data); in MterpLogNullObjectException()
628 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogFallback() local
629 uint16_t inst_data = inst->Fetch16(0); in MterpLogFallback()
630 LOG(INFO) << "Fallback: " << inst->Opcode(inst_data) << ", Suspend Pending?: " in MterpLogFallback()
637 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogOSR() local
638 uint16_t inst_data = inst->Fetch16(0); in MterpLogOSR()
639 LOG(INFO) << "OSR: " << inst->Opcode(inst_data) << ", offset = " << offset; in MterpLogOSR()
645 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); in MterpLogSuspendFallback() local
646 uint16_t inst_data = inst->Fetch16(0); in MterpLogSuspendFallback()
648 LOG(INFO) << "Checkpoint fallback: " << inst->Opcode(inst_data); in MterpLogSuspendFallback()
650 LOG(INFO) << "Suspend fallback: " << inst->Opcode(inst_data); in MterpLogSuspendFallback()
652 LOG(INFO) << "Empty checkpoint fallback: " << inst->Opcode(inst_data); in MterpLogSuspendFallback()
666 ALWAYS_INLINE void MterpFieldAccess(Instruction* inst, in MterpFieldAccess() argument
678 uint16_t vRegA = kIsStatic ? inst->VRegA_21c(inst_data) : inst->VRegA_22c(inst_data); in MterpFieldAccess()
717 NO_INLINE bool MterpFieldAccessSlow(Instruction* inst, in MterpFieldAccessSlow() argument
726 shadow_frame->SetDexPCPtr(reinterpret_cast<uint16_t*>(inst)); in MterpFieldAccessSlow()
728 uint32_t field_idx = kIsStatic ? inst->VRegB_21c() : inst->VRegC_22c(); in MterpFieldAccessSlow()
737 : shadow_frame->GetVRegReference(inst->VRegB_22c(inst_data)); in MterpFieldAccessSlow()
743 inst, inst_data, shadow_frame, obj, field->GetOffset(), field->IsVolatile()); in MterpFieldAccessSlow()
752 ALWAYS_INLINE bool MterpFieldAccessFast(Instruction* inst, in MterpFieldAccessFast() argument
762 if (LIKELY(tls_cache->Get(inst, &tls_value))) { in MterpFieldAccessFast()
769 uint32_t field_idx = kIsStatic ? inst->VRegB_21c() : inst->VRegC_22c(); in MterpFieldAccessFast()
776 : ObjPtr<mirror::Object>(shadow_frame->GetVRegReference(inst->VRegB_22c(inst_data))); in MterpFieldAccessFast()
779 inst, inst_data, shadow_frame, obj, MemberOffset(offset), /* is_volatile= */ false); in MterpFieldAccessFast()
794 uint32_t field_idx = kIsStatic ? inst->VRegB_21c() : inst->VRegC_22c(); in MterpFieldAccessFast()
803 : shadow_frame->GetVRegReference(inst->VRegB_22c(inst_data)); in MterpFieldAccessFast()
808 tls_cache->Set(inst, reinterpret_cast<uintptr_t>(field)); in MterpFieldAccessFast()
810 tls_cache->Set(inst, field->GetOffset().SizeValue()); in MterpFieldAccessFast()
814 inst, inst_data, shadow_frame, obj, field->GetOffset(), field->IsVolatile()); in MterpFieldAccessFast()
822 return MterpFieldAccessSlow<PrimType, kAccessType>(inst, inst_data, shadow_frame, self); in MterpFieldAccessFast()
826 extern "C" bool Name(Instruction* inst, uint16_t inst_data, ShadowFrame* sf, Thread* self) \
828 return MterpFieldAccessFast<PrimType, AccessType>(inst, inst_data, sf, self); \