/art/runtime/jit/ |
profiling_info.cc | 59 uint32_t dex_pc = 0; local 70 entries.push_back(dex_pc); 76 dex_pc += instruction.SizeInCodeUnits(); 88 InlineCache* ProfilingInfo::GetInlineCache(uint32_t dex_pc) { 92 if (cache_[i].dex_pc_ == dex_pc) { 100 void ProfilingInfo::AddInvokeInfo(uint32_t dex_pc, mirror::Class* cls) { 101 InlineCache* cache = GetInlineCache(dex_pc); 102 CHECK(cache != nullptr) << PrettyMethod(method_) << "@" << dex_pc;
|
/art/compiler/debug/ |
elf_debug_loc_writer.h | 138 uint32_t dex_pc = stack_map.GetDexPc(encoding.stack_map_encoding); local 139 if (!(dex_pc_low <= dex_pc && dex_pc < dex_pc_high)) {
|
elf_debug_line_writer.h | 227 int dex_pc = pc2dex.to_; local 232 dex_pc,
|
/art/compiler/dex/ |
dex_to_dex_compiler.cc | 41 QuickenedInfo(uint32_t pc, uint16_t index) : dex_pc(pc), dex_member_index(index) {} 43 uint32_t dex_pc; member in struct:art::optimizer::QuickenedInfo 75 void CompileReturnVoid(Instruction* inst, uint32_t dex_pc); 80 Instruction* CompileCheckCast(Instruction* inst, uint32_t dex_pc); 88 void CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, 97 void CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, 119 for (uint32_t dex_pc = 0; dex_pc < insns_size; 120 inst = const_cast<Instruction*>(inst->Next()), dex_pc = inst->GetDexPc(insns)) { 123 CompileReturnVoid(inst, dex_pc); [all...] |
verified_method.cc | 70 const MethodReference* VerifiedMethod::GetDevirtTarget(uint32_t dex_pc) const { 71 auto it = devirt_map_.find(dex_pc); 75 const DexFileReference* VerifiedMethod::GetDequickenIndex(uint32_t dex_pc) const { 77 auto it = dequicken_map_.find(dex_pc); 97 uint32_t dex_pc = inst->GetDexPc(insns); local 98 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); 108 dequicken_map_.Put(dex_pc, DexFileReference(method->GetDexFile(), 111 uint32_t dex_pc = inst->GetDexPc(insns); local 112 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); 122 dequicken_map_.Put(dex_pc, DexFileReference(field->GetDexFile(), field->GetDexFieldIndex())) 150 uint32_t dex_pc = inst->GetDexPc(insns); local 221 uint32_t dex_pc = inst->GetDexPc(code_item->insns_); local [all...] |
/art/compiler/ |
exception_test.cc | 64 stack_maps.BeginStackMapEntry(/* dex_pc */ 3u, 181 const uint32_t dex_pc = 3; local 191 method_g_, dex_pc, /* is_catch_handler */ false)); // return pc 198 method_g_, dex_pc, /* is_catch_handler */ false)); // return pc
|
/art/compiler/optimizing/ |
block_builder.cc | 23 HBasicBlock* HBasicBlockBuilder::MaybeCreateBlockAt(uint32_t dex_pc) { 24 return MaybeCreateBlockAt(dex_pc, dex_pc); 79 uint32_t dex_pc = it.CurrentDexPc(); local 84 MaybeCreateBlockAt(dex_pc + instruction.GetTargetOffset()); 86 DexSwitchTable table(instruction, dex_pc); 88 MaybeCreateBlockAt(dex_pc + s_it.CurrentTargetOffset()); 93 // Store the block under dex_pc of the current key at the switch data 94 // instruction for uniqueness but give it the dex_pc of the SWITCH 96 MaybeCreateBlockAt(dex_pc, s_it.GetDexPcForCurrentIndex()) 126 uint32_t dex_pc = it.CurrentDexPc(); local [all...] |
stack_map_stream.h | 97 uint32_t dex_pc; member in struct:art::StackMapStream::StackMapEntry 111 uint32_t dex_pc; member in struct:art::StackMapStream::InlineInfoEntry 119 void BeginStackMapEntry(uint32_t dex_pc, 130 uint32_t dex_pc,
|
code_generator.cc | 410 uint32_t dex_pc, 473 InvokeRuntime(entrypoint, field_access, dex_pc, nullptr); 627 static void CheckCovers(uint32_t dex_pc, 634 if (loop_headers[i]->GetDexPc() == dex_pc) { 636 DCHECK(code_info.GetOsrStackMapForDexPc(dex_pc, encoding).IsValid()); 665 size_t dex_pc = 0; local 669 uint32_t target = dex_pc + instruction.GetTargetOffset(); 672 DexSwitchTable table(instruction, dex_pc); 679 uint32_t target = dex_pc + table.GetEntryAt(i + offset); 683 dex_pc += instruction.SizeInCodeUnits() 840 uint32_t dex_pc = block->GetDexPc(); local [all...] |
code_generator.h | 276 void RecordPcInfo(HInstruction* instruction, uint32_t dex_pc, SlowPathCode* slow_path = nullptr); 281 uint32_t dex_pc, 427 uint32_t dex_pc, 443 uint32_t dex_pc, 719 const uint32_t dex_pc = instruction->GetDexPc(); local 720 auto iter = slow_path_map_.find(dex_pc); 735 iter = slow_path_map_.Put(dex_pc, {{}, {graph_->GetArena()->Adapter(kArenaAllocSlowPaths)}});
|
inliner.cc | 347 uint32_t dex_pc) const { 359 dex_pc); 553 uint32_t dex_pc = invoke_instruction->GetDexPc(); local 574 allocator, kNoRegNumber, 0, HPhi::ToPhiType(invoke_instruction->GetType()), dex_pc); 582 otherwise->AddInstruction(new (allocator) HGoto(dex_pc)); 583 end_then->AddInstruction(new (allocator) HGoto(dex_pc)); 584 cursor_block->AddInstruction(new (allocator) HIf(compare, dex_pc)); [all...] |
instruction_simplifier.cc | 203 uint32_t dex_pc = op->GetDexPc(); local 214 hbin = new (GetGraph()->GetArena()) HOr(type, src_left, src_right, dex_pc); 216 hbin = new (GetGraph()->GetArena()) HAnd(type, src_left, src_right, dex_pc); 220 hnot = new (GetGraph()->GetArena()) HBooleanNot(hbin, dex_pc); 222 hnot = new (GetGraph()->GetArena()) HNot(type, hbin, dex_pc); 1620 uint32_t dex_pc = invoke->GetDexPc(); local 1637 uint32_t dex_pc = invoke->GetDexPc(); local 1647 uint32_t dex_pc = invoke->GetDexPc(); local 1677 uint32_t dex_pc = invoke->GetDexPc(); local [all...] |
instruction_builder.cc | 32 HBasicBlock* HInstructionBuilder::FindBlockStartingAt(uint32_t dex_pc) const { 33 return block_builder_->GetBlockAt(dex_pc); 218 HInstruction* HInstructionBuilder::LoadNullCheckedLocal(uint32_t register_index, uint32_t dex_pc) { 224 HNullCheck* null_check = new (arena_) HNullCheck(ref, dex_pc); 312 uint32_t dex_pc = it.CurrentDexPc(); local 313 if (dex_pc != block_dex_pc && FindBlockStartingAt(dex_pc) != nullptr) { 314 // This dex_pc starts a new basic block. 322 if (native_debuggable && native_debug_info_locations->IsBitSet(dex_pc)) { 323 AppendInstruction(new (arena_) HNativeDebugInfo(dex_pc)); [all...] |
/art/runtime/mirror/ |
throwable.cc | 112 uintptr_t dex_pc = method_trace->GetElementPtrSize<uintptr_t>(i + depth, ptr_size); local 113 int32_t line_number = method->GetLineNumFromDexPC(dex_pc);
|
/art/runtime/interpreter/ |
interpreter.cc | 534 const uint32_t dex_pc = shadow_frame->GetDexPC(); local 535 uint32_t new_dex_pc = dex_pc; 542 uint32_t found_dex_pc = FindNextInstructionFollowingException(self, *shadow_frame, dex_pc, 550 const Instruction* instr = Instruction::At(&code_item->insns_[dex_pc]); 562 new_dex_pc = dex_pc + instr->SizeInCodeUnits(); 572 new_dex_pc = dex_pc + instr->SizeInCodeUnits(); 582 << " at dex_pc " << dex_pc 586 // Nothing to do, the dex_pc is the one at which the code requested
|
interpreter_goto_table_impl.cc | 36 // - "dex_pc": the current pc. 45 dex_pc = static_cast<uint32_t>(static_cast<int32_t>(dex_pc) + disp); \ 46 shadow_frame.SetDexPC(dex_pc); \ 47 TraceExecution(shadow_frame, inst, dex_pc); \ 70 instrumentation->Branch(self, method, dex_pc, offset); \ 73 if (jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, &result)) { \ 188 uint32_t dex_pc = shadow_frame.GetDexPC(); local 189 const Instruction* inst = Instruction::At(code_item->insns_ + dex_pc); 291 shadow_frame.GetMethod(), dex_pc, [all...] |
interpreter_switch_impl.cc | 44 int32_t displacement = static_cast<int32_t>(found_dex_pc) - static_cast<int32_t>(dex_pc); \ 68 shadow_frame.GetMethod(), dex_pc); \ 75 instrumentation->Branch(self, method, dex_pc, offset); \ 78 if (jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, &result)) { \ 110 uint32_t dex_pc = shadow_frame.GetDexPC(); local 113 const Instruction* inst = Instruction::At(insns + dex_pc); 123 dex_pc = inst->GetDexPc(insns); 124 shadow_frame.SetDexPC(dex_pc); 125 TraceExecution(shadow_frame, inst, dex_pc); [all...] |
/art/runtime/interpreter/mterp/ |
mterp.cc | 702 uint32_t dex_pc = shadow_frame->GetDexPC(); local 709 return jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, result); 721 uint32_t dex_pc = shadow_frame->GetDexPC(); local 728 return jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, result);
|
/art/runtime/jdwp/ |
jdwp.h | 78 uint32_t dex_pc; member in struct:art::JDWP::EventLocation 88 uint64_t dex_pc; member in struct:art::JDWP::JdwpLocation
|
/art/runtime/ |
quick_exception_handler.cc | 99 uint32_t dex_pc = DexFile::kDexNoIndex; local 101 dex_pc = GetDexPc(); 103 if (dex_pc != DexFile::kDexNoIndex) { 107 uint32_t found_dex_pc = method->FindCatchBlock(to_find, dex_pc, &clear_exception); 263 << "dex_pc=" << stack_visitor->GetDexPc() << ", "
|
instrumentation.cc | 302 uint32_t dex_pc = visitor.dex_pcs_.back(); local 305 instrumentation->MethodEnterEvent(thread, (*isi).this_object_, (*isi).method_, dex_pc); 1078 uint32_t dex_pc = DexFile::kDexNoIndex; local 1134 uint32_t dex_pc = DexFile::kDexNoIndex; local [all...] |
monitor.cc | 1203 uint32_t dex_pc = stack_visitor->GetDexPc(abort_on_failure); local [all...] |
profiler.cc | 534 uint32_t dex_pc = inst_loc.second; local 538 StackTrieNode* child = current->FindChild(method_ref, dex_pc); 547 StackTrieNode* new_node = new StackTrieNode(method_ref, dex_pc, method_size, current); 628 // We go backward on the trie to retrieve context and dex_pc until the dummy root. 900 StackTrieNode* StackTrieNode::FindChild(MethodReference method, uint32_t dex_pc) { 905 StackTrieNode* node = new StackTrieNode(method, dex_pc, 0, nullptr);
|
stack_map.h | 788 * [native_pc_offset, dex_pc, dex_register_map_offset, inlining_info_offset, register_mask, 802 ALWAYS_INLINE void SetDexPc(const StackMapEncoding& encoding, uint32_t dex_pc) { 803 encoding.GetDexPcEncoding().Store(region_, dex_pc); 975 encoding.GetDexPcEncoding().Store(GetRegionAtDepth(encoding, depth), dex_pc); local [all...] |
/art/runtime/entrypoints/quick/ |
quick_trampoline_entrypoints.cc | 946 uint32_t dex_pc = QuickArgumentVisitor::GetCallingDexPc(sp); local 2147 uint32_t dex_pc = QuickArgumentVisitor::GetCallingDexPc(sp); local [all...] |