Home
last modified time | relevance | path

Searched refs:GetDexPc (Results 1 – 25 of 56) sorted by relevance

123

/art/test/004-StackWalk/
Dstack_walk_jni.cc48 CHECK_EQ(1U, GetDexPc()); in VisitFrame()
52 CHECK_EQ(5U, GetDexPc()); in VisitFrame()
57 CHECK_EQ(0xcU, GetDexPc()); in VisitFrame()
61 CHECK_EQ(0xcU, GetDexPc()); in VisitFrame()
66 CHECK_EQ(0x380U, GetDexPc()); in VisitFrame()
70 CHECK_EQ(0x380U, GetDexPc()); in VisitFrame()
/art/compiler/optimizing/
Dblock_builder.cc35 DCHECK_EQ(block->GetDexPc(), semantic_dex_pc); in MaybeCreateBlockAt()
223 DCHECK_NE(catch_block->GetDexPc(), kNoDexPc) << "Should not be called on synthetic blocks"; in MightHaveLiveNormalPredecessors()
232 const Instruction& first = GetDexInstructionAt(code_item_, catch_block->GetDexPc()); in MightHaveLiveNormalPredecessors()
262 if (block->GetDexPc() == kNoDexPc) { in InsertTryBoundaryBlocks()
272 const int32_t try_item_idx = DexFile::FindTryItem(code_item_, block->GetDexPc()); in InsertTryBoundaryBlocks()
332 new (arena_) HTryBoundary(HTryBoundary::BoundaryKind::kEntry, try_block->GetDexPc()); in InsertTryBoundaryBlocks()
360 new (arena_) HTryBoundary(HTryBoundary::BoundaryKind::kExit, successor->GetDexPc()); in InsertTryBoundaryBlocks()
Dnodes.cc308 HBasicBlock* new_block = new (arena_) HBasicBlock(this, successor->GetDexPc()); in SplitEdge()
320 new_block->AddInstruction(new (arena_) HGoto(successor->GetDexPc())); in SplitCriticalEdge()
340 HBasicBlock* pre_header = new (arena_) HBasicBlock(this, header->GetDexPc()); in SimplifyLoop()
342 pre_header->AddInstruction(new (arena_) HGoto(header->GetDexPc())); in SimplifyLoop()
520 entry_block_->GetDexPc()); in GetCurrentMethod()
1291 return graph->GetLongConstant(static_cast<int64_t>(value), GetDexPc()); in TryStaticEvaluation()
1293 return graph->GetFloatConstant(static_cast<float>(value), GetDexPc()); in TryStaticEvaluation()
1295 return graph->GetDoubleConstant(static_cast<double>(value), GetDexPc()); in TryStaticEvaluation()
1303 return graph->GetIntConstant(static_cast<int32_t>(value), GetDexPc()); in TryStaticEvaluation()
1305 return graph->GetFloatConstant(static_cast<float>(value), GetDexPc()); in TryStaticEvaluation()
[all …]
Dprepare_for_register_allocation.cc233 if (user->GetDexPc() != input->GetDexPc()) { in CanMoveClinitCheck()
247 if (user_environment->GetDexPc() != input_environment->GetDexPc() || in CanMoveClinitCheck()
Dnodes.h984 uint32_t GetDexPc() const { return dex_pc_; } in GetDexPc() function
1795 to_copy.GetDexPc(), in HEnvironment()
1845 uint32_t GetDexPc() const { in GetDexPc() function
1959 uint32_t GetDexPc() const { return dex_pc_; } in GetDexPc() function
3428 return MakeConstantCondition(true, GetDexPc()); in Evaluate()
3431 return MakeConstantCondition(Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
3438 GetDexPc()); in Evaluate()
3441 return MakeConstantCondition(Compute(CompareFP(x->GetValue(), y->GetValue()), 0), GetDexPc()); in Evaluate()
3444 return MakeConstantCondition(Compute(CompareFP(x->GetValue(), y->GetValue()), 0), GetDexPc()); in Evaluate()
3472 return MakeConstantCondition(false, GetDexPc()); in Evaluate()
[all …]
Dcode_generator.cc221 MaybeRecordNativeDebugInfo(slow_path->GetInstruction(), slow_path->GetDexPc(), slow_path); in GenerateSlowPaths()
256 MaybeRecordNativeDebugInfo(nullptr /* instruction */, block->GetDexPc()); in Compile()
263 MaybeRecordNativeDebugInfo(current, block->GetDexPc()); in Compile()
380 InvokeRuntime(entrypoint, invoke, invoke->GetDexPc(), slow_path); in GenerateInvokeStaticOrDirectRuntimeCall()
404 InvokeRuntime(entrypoint, invoke, invoke->GetDexPc(), nullptr); in GenerateInvokeUnresolvedRuntimeCall()
410 InvokeRuntime(entrypoint, invoke, invoke->GetDexPc(), nullptr); in GenerateInvokePolymorphicCall()
555 InvokeRuntime(kQuickInitializeTypeAndVerifyAccess, cls, cls->GetDexPc()); in GenerateLoadClassRuntimeCall()
558 InvokeRuntime(kQuickInitializeStaticStorage, cls, cls->GetDexPc()); in GenerateLoadClassRuntimeCall()
561 InvokeRuntime(kQuickInitializeType, cls, cls->GetDexPc()); in GenerateLoadClassRuntimeCall()
701 if (loop_headers[i]->GetDexPc() == dex_pc) { in CheckCovers()
[all …]
Dpc_relative_fixups_x86.cc142 neg->GetDexPc()); in VisitNeg()
162 switch_insn->GetDexPc()); in VisitPackedSwitch()
Dpc_relative_fixups_mips.cc118 switch_insn->GetDexPc()); in VisitPackedSwitch()
Dinliner.cc591 *profiling_info->GetInlineCache(invoke_instruction->GetDexPc()), in GetInlineCacheJIT()
633 const auto it = offline_profile.inline_caches->find(invoke_instruction->GetDexPc()); in ExtractClassesFromOfflineProfile()
845 class_linker, receiver, invoke_instruction->GetDexPc()); in AddTypeGuard()
872 invoke_instruction->GetDexPc(), in AddTypeGuard()
899 invoke_instruction->GetDexPc()); in AddTypeGuard()
1011 uint32_t dex_pc = invoke_instruction->GetDexPc(); in CreateDiamondPatternForPolymorphicInline()
1144 class_linker, receiver, invoke_instruction->GetDexPc()); in TryInlinePolymorphicCallToSameTarget()
1155 invoke_instruction->GetDexPc()); in TryInlinePolymorphicCallToSameTarget()
1160 reinterpret_cast<intptr_t>(actual_method), invoke_instruction->GetDexPc()); in TryInlinePolymorphicCallToSameTarget()
1163 reinterpret_cast<intptr_t>(actual_method), invoke_instruction->GetDexPc()); in TryInlinePolymorphicCallToSameTarget()
[all …]
Dnodes_shared.h93 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
97 Compute(x->GetValue(), y->GetValue()), GetDexPc()); in Evaluate()
Dselect_generator.cc122 if_instruction->GetDexPc()); in Run()
Dstack_map_test.cc81 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
196 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
255 ASSERT_EQ(1u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
309 ASSERT_EQ(2u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
363 ASSERT_EQ(3u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
456 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
539 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
738 ASSERT_EQ(0u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
748 ASSERT_EQ(1u, stack_map.GetDexPc(encoding.stack_map.encoding)); in TEST()
Dinstruction_simplifier_shared.cc80 mul->GetType(), op_kind, input_a, input_a, input_b, mul->GetDexPc()); in TrySimpleMultiplyAccumulatePatterns()
220 HBitwiseNegatedRight(op->GetType(), op->GetKind(), hother, src, op->GetDexPc()); in TryMergeNegatedInput()
Dinstruction_simplifier_arm.cc95 use->GetDexPc()); in TryMergeIntoShifterOperand()
Dinstruction_simplifier_arm64.cc92 use->GetDexPc()); in TryMergeIntoShifterOperand()
Dcha_guard_optimization.cc206 GetGraph()->GetArena(), compare, DeoptimizationKind::kCHA, suspend->GetDexPc()); in HoistGuard()
Dinstruction_simplifier.cc220 uint32_t dex_pc = op->GetDexPc(); in TryDeMorganNegationFactoring()
1079 input_other->GetDexPc()); in VisitAnd()
1913 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyCompare()
1930 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyIsNaN()
1940 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyFP2Int()
1972 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyStringCharAt()
1990 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyStringIsEmptyOrLength()
2071 uint32_t dex_pc = invoke->GetDexPc(); in SimplifyMemBarrier()
2300 z = new (arena) HSub(type, const3, x, instruction->GetDexPc()); in TrySubtractionChainSimplification()
2302 z = new (arena) HAdd(type, x, const3, instruction->GetDexPc()); in TrySubtractionChainSimplification()
Dcode_generator_arm64.cc271 arm64_codegen->InvokeRuntime(entrypoint, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
291 arm64_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
425 arm64_codegen->InvokeRuntime(kQuickResolveString, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
475 instruction_->GetDexPc(), in EmitNativeCode()
498 arm64_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
540 uint32_t dex_pc = instruction_->GetDexPc(); in EmitNativeCode()
597 arm64_codegen->InvokeRuntime(kQuickDeoptimize, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
636 arm64_codegen->InvokeRuntime(kQuickAputObject, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
1312 instruction_->GetDexPc(), in EmitNativeCode()
1391 instruction_->GetDexPc(), in EmitNativeCode()
[all …]
Dcode_generator_mips.cc174 mips_codegen->InvokeRuntime(entrypoint, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
194 mips_codegen->InvokeRuntime(kQuickThrowDivZero, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
354 mips_codegen->InvokeRuntime(kQuickResolveString, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
418 instruction_->GetDexPc(), in EmitNativeCode()
441 mips_codegen->InvokeRuntime(kQuickTestSuspend, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
475 uint32_t dex_pc = instruction_->GetDexPc(); in EmitNativeCode()
535 mips_codegen->InvokeRuntime(kQuickDeoptimize, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
574 mips_codegen->InvokeRuntime(kQuickAputObject, instruction_, instruction_->GetDexPc(), this); in EmitNativeCode()
987 instruction_->GetDexPc(), in EmitNativeCode()
1061 instruction_->GetDexPc(), in EmitNativeCode()
[all …]
/art/runtime/
Doat_quick_method_header.cc48 return stack_map.GetDexPc(encoding.stack_map.encoding); in ToDexPc()
Dcheck_reference_map_visitor.h38 CHECK_EQ(GetDexPc(), DexFile::kDexNoIndex); in VisitFrame()
Dstack.cc112 uint32_t StackVisitor::GetDexPc(bool abort_on_failure) const { in GetDexPc() function in art::StackVisitor
407 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in SetVReg()
443 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in SetVRegPair()
533 next_dex_pc_ = GetDexPc(); in GetNextMethodAndDexPc()
576 result += StringPrintf("' at dex PC 0x%04x", GetDexPc()); in DescribeLocation()
Dquick_exception_handler.cc103 dex_pc = GetDexPc(); in HandleTryItems()
266 << ", dex_pc=" << stack_visitor->GetDexPc() << ", " in SetCatchEnvironmentForOptimizedHandler()
363 new_frame = ShadowFrame::CreateDeoptimizedFrame(num_regs, nullptr, method, GetDexPc()); in VisitFrame()
/art/compiler/dex/
Dverified_method.cc75 uint32_t dex_pc = inst->GetDexPc(code_item->insns_); in GenerateSafeCastSet()
/art/runtime/gc/
Dallocation_record.h57 uint32_t GetDexPc() const { in GetDexPc() function
128 AllocRecordStackTrace::kHashMultiplier + std::hash<uint32_t>()(r.GetDexPc()); in operator()

123