Home
last modified time | relevance | path

Searched refs:dex_pc (Results 51 – 75 of 89) sorted by relevance

1234

/art/runtime/jit/
Djit.h317 uint32_t dex_pc,
362 OsrData* PrepareForOsr(ArtMethod* method, uint32_t dex_pc, uint32_t* vregs)
371 uint32_t dex_pc,
Djit.cc466 OsrData* Jit::PrepareForOsr(ArtMethod* method, uint32_t dex_pc, uint32_t* vregs) { in PrepareForOsr() argument
496 StackMap stack_map = code_info.GetOsrStackMapForDexPc(dex_pc); in PrepareForOsr()
562 uint32_t dex_pc, in MaybeDoOnStackReplacement() argument
591 dex_pc + dex_pc_offset, in MaybeDoOnStackReplacement()
1662 uint32_t dex_pc, in InvokeVirtualOrInterface() argument
1668 info->AddInvokeInfo(dex_pc, this_object->GetClass()); in InvokeVirtualOrInterface()
/art/runtime/
Dmonitor.cc343 uint32_t dex_pc = 0u; in AtraceMonitorLockImpl() local
358 dex_pc = stack_visitor->GetDexPc(false /* abort_on_error*/); in AtraceMonitorLockImpl()
374 TranslateLocation(method, dex_pc, &filename, &line_number); in AtraceMonitorLockImpl()
1490 uint32_t dex_pc = stack_visitor->GetDexPc(abort_on_failure); in VisitLocks() local
1491 if (!abort_on_failure && dex_pc == dex::kDexNoIndex) { in VisitLocks()
1500 dex_pc, in VisitLocks()
1506 const Instruction& monitor_enter_instruction = accessor.InstructionAt(dex_lock_info.dex_pc); in VisitLocks()
1508 << "expected monitor-enter @" << dex_lock_info.dex_pc << "; was " in VisitLocks()
1528 << dex_lock_info.dex_pc in VisitLocks()
1532 LOG(WARNING) << "Had a lock reported for dex pc " << dex_lock_info.dex_pc in VisitLocks()
[all …]
Dart_method-inl.h234 inline int32_t ArtMethod::GetLineNumFromDexPC(uint32_t dex_pc) { in GetLineNumFromDexPC() argument
236 if (dex_pc == dex::kDexNoIndex) { in GetLineNumFromDexPC()
239 return annotations::GetLineNumFromPC(GetDexFile(), this, dex_pc); in GetLineNumFromDexPC()
Dquick_exception_handler.cc104 uint32_t dex_pc = dex::kDexNoIndex; in HandleTryItems() local
106 dex_pc = GetDexPc(); in HandleTryItems()
108 if (dex_pc != dex::kDexNoIndex) { in HandleTryItems()
112 uint32_t found_dex_pc = method->FindCatchBlock(to_find, dex_pc, &clear_exception); in HandleTryItems()
Dtrace.cc715 uint32_t dex_pc, in FieldRead() argument
720 << " " << dex_pc; in FieldRead()
726 uint32_t dex_pc, in FieldWritten() argument
732 << " " << dex_pc; in FieldWritten()
738 uint32_t dex_pc ATTRIBUTE_UNUSED) { in MethodEntered()
749 uint32_t dex_pc ATTRIBUTE_UNUSED, in MethodExited()
765 uint32_t dex_pc ATTRIBUTE_UNUSED) { in MethodUnwind()
Doat_quick_method_header.h153 const uint32_t dex_pc,
Dart_method.cc267 uint32_t dex_pc, bool* has_no_move_exception) { in FindCatchBlock() argument
277 for (CatchHandlerIterator it(accessor, dex_pc); it.HasNext(); it.Next()) { in FindCatchBlock()
546 uint16_t ArtMethod::GetIndexFromQuickening(uint32_t dex_pc) { in GetIndexFromQuickening() argument
554 if (pair.DexPc() == dex_pc) { in GetIndexFromQuickening()
Dart_method.h624 uint32_t FindCatchBlock(Handle<mirror::Class> exception_type, uint32_t dex_pc,
652 int32_t GetLineNumFromDexPC(uint32_t dex_pc) REQUIRES_SHARED(Locks::mutator_lock_);
729 uint16_t GetIndexFromQuickening(uint32_t dex_pc) REQUIRES_SHARED(Locks::mutator_lock_);
Dthread.cc516 uint32_t dex_pc) { in FindOrCreateDebuggerShadowFrame() argument
522 shadow_frame = ShadowFrame::CreateDeoptimizedFrame(num_vregs, nullptr, method, dex_pc); in FindOrCreateDebuggerShadowFrame()
2769 void AddFrame(ArtMethod* method, uint32_t dex_pc) REQUIRES_SHARED(Locks::mutator_lock_) { in AddFrame() argument
2774 methods_and_pcs->GetLength() / 2 + count_, dex_pc, pointer_size_); in AddFrame()
2858 uint32_t dex_pc) REQUIRES_SHARED(Locks::mutator_lock_) { in CreateStackTraceElement() argument
2868 line_number = method->GetLineNumFromDexPC(dex_pc); in CreateStackTraceElement()
2885 line_number = dex_pc; in CreateStackTraceElement()
2954 uint32_t dex_pc = method_trace->GetElementPtrSize<uint32_t>( in InternalStackTraceToStackTraceElementArray() local
2956 const ObjPtr<mirror::StackTraceElement> obj = CreateStackTraceElement(soa, method, dex_pc); in InternalStackTraceToStackTraceElementArray()
3646 uint32_t dex_pc = dex::kDexNoIndex; in GetCurrentMethod() local
[all …]
/art/compiler/optimizing/
Dinliner.h239 uint32_t dex_pc,
245 uint32_t dex_pc) const
Dinliner.cc804 uint32_t dex_pc) const { in BuildGetReceiverClass()
816 dex_pc); in BuildGetReceiverClass()
911 uint32_t dex_pc, in AddCHAGuard() argument
915 HShouldDeoptimizeFlag(graph_->GetAllocator(), dex_pc); in AddCHAGuard()
917 deopt_flag, graph_->GetIntConstant(0, dex_pc)); in AddCHAGuard()
919 graph_->GetAllocator(), compare, DeoptimizationKind::kCHA, dex_pc); in AddCHAGuard()
1110 uint32_t dex_pc = invoke_instruction->GetDexPc(); in CreateDiamondPatternForPolymorphicInline() local
1131 allocator, kNoRegNumber, 0, HPhi::ToPhiType(invoke_instruction->GetType()), dex_pc); in CreateDiamondPatternForPolymorphicInline()
1139 otherwise->AddInstruction(new (allocator) HGoto(dex_pc)); in CreateDiamondPatternForPolymorphicInline()
1140 end_then->AddInstruction(new (allocator) HGoto(dex_pc)); in CreateDiamondPatternForPolymorphicInline()
[all …]
Dsuperblock_cloner_test.cc64 uint32_t dex_pc = 0; in CreateBasicLoopDataFlow() local
82 HInstruction* null_check = new (GetAllocator()) HNullCheck(parameters_[0], dex_pc); in CreateBasicLoopDataFlow()
83 HInstruction* array_length = new (GetAllocator()) HArrayLength(null_check, dex_pc); in CreateBasicLoopDataFlow()
84 HInstruction* bounds_check = new (GetAllocator()) HBoundsCheck(phi, array_length, dex_pc); in CreateBasicLoopDataFlow()
86 new (GetAllocator()) HArrayGet(null_check, bounds_check, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow()
89 null_check, bounds_check, add, DataType::Type::kInt32, dex_pc); in CreateBasicLoopDataFlow()
Dinstruction_simplifier.cc240 uint32_t dex_pc = op->GetDexPc(); in TryDeMorganNegationFactoring() local
251 hbin = new (GetGraph()->GetAllocator()) HOr(type, src_left, src_right, dex_pc); in TryDeMorganNegationFactoring()
253 hbin = new (GetGraph()->GetAllocator()) HAnd(type, src_left, src_right, dex_pc); in TryDeMorganNegationFactoring()
257 hnot = new (GetGraph()->GetAllocator()) HBooleanNot(hbin, dex_pc); in TryDeMorganNegationFactoring()
259 hnot = new (GetGraph()->GetAllocator()) HNot(type, hbin, dex_pc); in TryDeMorganNegationFactoring()
2320 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyFP2Int() local
2340 HCondition* condition = new (GetGraph()->GetAllocator()) HNotEqual(x, x, dex_pc); in SimplifyFP2Int()
2344 HInstruction* select = new (GetGraph()->GetAllocator()) HSelect(condition, nan, invoke, dex_pc); in SimplifyFP2Int()
2352 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyStringCharAt() local
2356 HArrayLength* length = new (allocator) HArrayLength(str, dex_pc, /* is_string_length= */ true); in SimplifyStringCharAt()
[all …]
/art/compiler/debug/
Delf_debug_line_writer.h224 int dex_pc = pc2dex.to_; in WriteCompilationUnit() local
229 dex_pc, in WriteCompilationUnit()
/art/openjdkjvmti/
Dti_method.cc624 uint32_t dex_pc,
630 uint32_t dex_pc, in InferSlotTypeFromVerifier() argument
648 art::verifier::RegisterLine* line = verifier->GetRegLine(dex_pc); in InferSlotTypeFromVerifier()
650 JVMTI_LOG(WARNING, jvmti_) << "Unable to determine register line at dex-pc " << dex_pc in InferSlotTypeFromVerifier()
738 uint32_t dex_pc, in GetSlotType() argument
753 if (!found && entry.start_address_ <= dex_pc && entry.end_address_ > dex_pc && in GetSlotType()
765 return InferSlotTypeFromVerifier(method, dex_pc, descriptor, type); in GetSlotType()
769 DCHECK_EQ(InferSlotTypeFromVerifier(method, dex_pc, &type_unused, &verifier_type), OK) in GetSlotType()
Dti_stack.cc112 uint32_t dex_pc = GetDexPc(false); in VisitFrame() local
113 jlong dex_location = (dex_pc == art::dex::kDexNoIndex) ? -1 : static_cast<jlong>(dex_pc); in VisitFrame()
759 explicit GetLocationClosure(size_t n_in) : n(n_in), method(nullptr), dex_pc(0) {} in GetLocationClosure()
771 dex_pc = stack_visitor->GetDexPc(/*abort_on_failure=*/false); in Run()
785 uint32_t dex_pc; member
835 if (closure.dex_pc == art::dex::kDexNoIndex) { in GetFrameLocation()
838 *location_ptr = static_cast<jlocation>(closure.dex_pc); in GetFrameLocation()
/art/libprofile/profile/
Dprofile_compilation_info.cc529 uint16_t dex_pc = inline_cache_it.first; in AddInlineCacheToBuffer() local
534 AddUintToBuffer(buffer, dex_pc); in AddInlineCacheToBuffer()
739 FindOrAddDexPc(inline_cache, cache.dex_pc)->SetIsMissingTypes(); in AddMethod()
747 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, cache.dex_pc); in AddMethod()
776 uint16_t dex_pc; in ReadInlineCache() local
778 READ_UINT(uint16_t, buffer, dex_pc, error); in ReadInlineCache()
780 DexPcData* dex_pc_data = FindOrAddDexPc(inline_cache, dex_pc); in ReadInlineCache()
1906 uint16_t dex_pc = inline_cache_it.first; in operator ==() local
1908 const auto& other_it = other.inline_caches->find(dex_pc); in operator ==()
1945 uint16_t dex_pc = inline_cache_it.first; in operator ==() local
[all …]
Dprofile_compilation_info.h48 : dex_pc(pc), is_missing_types(missing_types), classes(profile_classes) {} in ProfileInlineCache()
50 const uint32_t dex_pc; member
921 DexPcData* FindOrAddDexPc(InlineCacheMap* inline_cache, uint32_t dex_pc);
/art/runtime/interpreter/
Dinterpreter_common.h148 uint32_t dex_pc,
203 uint32_t dex_pc) REQUIRES_SHARED(Locks::mutator_lock_) { in PerformNonStandardReturn() argument
222 self, instrumentation, frame, h_thiz.Get(), frame.GetMethod(), dex_pc, result); in PerformNonStandardReturn()
976 const uint32_t dex_pc) in TraceExecution() argument
982 << android::base::StringPrintf("\n0x%x: ", dex_pc) in TraceExecution()
/art/runtime/verifier/
Dmethod_verifier.cc1137 uint32_t dex_pc = iterator.GetHandlerAddress(); in ScanTryCatchBlocks() local
1138 if (!GetInstructionFlags(dex_pc).IsOpcode()) { in ScanTryCatchBlocks()
1140 << "exception handler starts at bad address (" << dex_pc << ")"; in ScanTryCatchBlocks()
1143 if (!CheckNotMoveResult(code_item_accessor_.Insns(), dex_pc)) { in ScanTryCatchBlocks()
1145 << "exception handler begins with move-result* (" << dex_pc << ")"; in ScanTryCatchBlocks()
1148 GetModifiableInstructionFlags(dex_pc).SetBranchTarget(); in ScanTryCatchBlocks()
1171 const uint32_t dex_pc = inst.DexPc(); in VerifyInstructions() local
1172 if (!VerifyInstruction<kAllowRuntimeOnlyInstructions>(&inst.Inst(), dex_pc)) { in VerifyInstructions()
1178 GetModifiableInstructionFlags(dex_pc).SetReturn(); in VerifyInstructions()
1181 GetModifiableInstructionFlags(dex_pc).SetCompileTimeInfoPoint(); in VerifyInstructions()
[all …]
/art/profman/
Dprofman.cc999 /*out*/uint32_t* dex_pc) { in HasSingleInvoke() argument
1016 *dex_pc = inst.DexPc(); in HasSingleInvoke()
1164 uint32_t dex_pc; in ProcessLine() local
1165 if (!HasSingleInvoke(class_ref, method_index, &dex_pc)) { in ProcessLine()
1177 inline_caches.emplace_back(dex_pc, is_missing_types, classes); in ProcessLine()
/art/runtime/interpreter/mterp/
Dmterp.cc562 uint32_t dex_pc = dex_pc_ptr - shadow_frame->GetDexInstructions(); in MterpCheckBefore() local
563 TraceExecution(*shadow_frame, inst, dex_pc); in MterpCheckBefore()
948 uint32_t dex_pc = shadow_frame->GetDexPC(); in MterpMaybeDoOnStackReplacement() local
955 did_osr = jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, result); in MterpMaybeDoOnStackReplacement()
Dnterp.cc615 uint32_t dex_pc = dex_pc_ptr - accessor.Insns(); in NterpHotMethod() local
617 method->GetInterfaceMethodIfProxy(kRuntimePointerSize), dex_pc, vregs); in NterpHotMethod()
/art/dex2oat/driver/
Dcompiler_driver.h186 bool IsSafeCast(const DexCompilationUnit* mUnit, uint32_t dex_pc);

1234