Searched defs:pc (Results 1 - 20 of 20) sorted by relevance

/art/runtime/
H A Dmonitor_android.cc80 uint32_t pc; local
81 ArtMethod* m = self->GetCurrentMethod(&pc);
84 TranslateLocation(m, pc, &filename, &line_number);
H A Dart_method.h315 bool PcIsWithinQuickCode(uintptr_t pc) { argument
317 reinterpret_cast<uintptr_t>(GetEntryPointFromQuickCompiledCode()), pc);
320 void AssertPcIsWithinQuickCode(uintptr_t pc) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
443 uintptr_t NativeQuickPcOffset(const uintptr_t pc) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
445 uintptr_t NativeQuickPcOffset(const uintptr_t pc, const void* quick_entry_point)
447 return pc - reinterpret_cast<uintptr_t>(quick_entry_point);
450 uintptr_t NativeQuickPcOffset(const uintptr_t pc, const void* quick_entry_point)
455 uint32_t ToDexPc(const uintptr_t pc, bool abort_on_failure = true)
623 static bool PcIsWithinQuickCode(uintptr_t code, uintptr_t pc) { argument
625 return pc
[all...]
H A Dart_method-inl.h310 inline uintptr_t ArtMethod::NativeQuickPcOffset(const uintptr_t pc) { argument
313 return pc - reinterpret_cast<uintptr_t>(code);
H A Dart_method.cc180 uint32_t ArtMethod::ToDexPc(const uintptr_t pc, bool abort_on_failure) { argument
182 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point);
198 // Assume the caller wants a pc-to-dex mapping so check here first.
205 // Now check dex-to-pc mappings.
215 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point
228 return 0; // Special no mapping/pc == 0 case
230 // Assume the caller wants a dex-to-pc mapping so check here first.
237 // Now check pc-to-dex mappings.
245 LOG(FATAL) << "Failed to find native offset for dex pc 0x" << std::hex << dex_pc
298 void ArtMethod::AssertPcIsWithinQuickCode(uintptr_t pc) { argument
360 NativeQuickPcOffset(const uintptr_t pc, const void* quick_entry_point) argument
[all...]
H A Ddebugger.cc101 void SetDexPc(uint32_t pc) { argument
102 dex_pc_ = pc;
2607 return StringPrintf(" at DEX pc 0x%08x in method %s", visitor.GetDexPc(false),
/art/compiler/dwarf/
H A Ddwarf_test.cc48 int pc = 0; local
50 pc += i;
51 opcodes.AdvancePC(pc);
146 DW_CHECK("FDE cie=00000000 pc=100000000000000..300000000000000");
248 uint32_t pc = 0x01000000; local
251 opcodes.SetAddress(pc);
260 pc += addr_delta;
262 opcodes.AddRow(pc, line);
264 ASSERT_EQ(opcodes.CurrentAddress(), pc);
267 sprintf(expected, "%i 0x%x", line, pc);
[all...]
/art/compiler/utils/mips64/
H A Dconstants_mips64.h76 // Use the At(pc) function to create references to Instr.
77 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc42 static uint32_t GetInstructionSize(uint8_t* pc) { argument
43 uint16_t instr = pc[0] | pc[1] << 8;
97 VLOG(signals) << "pc: " << std::hex << static_cast<void*>(ptr);
181 VLOG(signals) << "arm pc: " << std::hex << sc->arm_pc;
/art/compiler/dex/quick/arm/
H A Dassemble_arm.cc63 * t -> pc-relative target
121 "add", "!0C, pc, #!1E", 2, kFixupLoad),
232 | IS_LOAD_OFF4 | NEEDS_FIXUP, "ldr", "!0C, [pc, #!1E]", 2, kFixupLoad),
424 * not used in a pc-relative case. It is really only needed on the pc-relative loads, but
1042 "ldrd", "!0C, !1C, [pc, #!2E]", 4, kFixupLoad),
1267 * inserted instructions don't need use/def flags, but do need size and pc-rel status
1290 CodeOffset pc = (lir->offset + 4) & ~3; local
1293 int32_t delta = target - pc;
1306 LOG(FATAL) << "Unexpected pc
1370 CodeOffset pc = lir->offset + 4; local
1416 CodeOffset pc = lir->offset + 4; local
1433 CodeOffset pc = lir->offset + 4; local
1450 CodeOffset pc = lir->offset + 4; local
[all...]
/art/compiler/dex/quick/arm64/
H A Dassemble_arm64.cc87 * t -> pc-relative target
88 * p -> pc-relative address
896 // need size and pc-rel status properly updated.
908 CodeOffset pc = lir->offset; local
911 int32_t delta = target - pc;
932 CodeOffset pc = lir->offset; local
935 int32_t delta = target - pc;
964 CodeOffset pc = lir->offset; local
967 int32_t delta = target - pc;
/art/compiler/dex/quick/mips/
H A Dassemble_mips.cc65 * t -> pc-relative target
66 * T -> pc-region target
548 "addiu", "ra,pc,8", 4),
645 * discover that pc-relative displacements may not fit the selected
666 * two pc-relative locations into a the target register
722 CodeOffset pc = lir->offset + 4; local
724 int delta = target - pc;
736 CodeOffset pc = lir->offset + 4; local
738 int delta = target - pc;
750 CodeOffset pc local
[all...]
/art/compiler/utils/mips/
H A Dconstants_mips.h100 // Use the At(pc) function to create references to Instr.
101 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/compiler/utils/x86_64/
H A Dconstants_x86_64.h126 // Use the At(pc) function to create references to Instr.
127 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/runtime/arch/x86/
H A Dfault_handler_x86.cc93 static uint32_t GetInstructionSize(const uint8_t* pc) { argument
100 const uint8_t* startpc = pc;
102 uint8_t opcode = *pc++;
134 opcode = *pc++;
144 opcode = *pc++;
150 opcode = *pc++;
163 modrm = *pc++;
182 modrm = *pc++;
189 modrm = *pc++;
196 modrm = *pc
277 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local
297 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local
355 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local
[all...]
/art/compiler/
H A Delf_writer_debug.cc405 uint32_t pc = pc2dex.from_; local
412 if (pc > 0) {
421 opcodes.AddRow(mi->low_pc_ + pc, line);
423 opcodes.AddRow(mi->low_pc_ + pc, line);
/art/compiler/utils/x86/
H A Dconstants_x86.h117 // Use the At(pc) function to create references to Instr.
118 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/compiler/dex/quick/x86/
H A Dassemble_x86.cc1628 * discover that pc-relative displacements may not fit the selected
1653 CodeOffset pc; local
1655 pc = lir->offset + 2 /* opcode + rel8 */;
1657 pc = lir->offset + 6 /* 2 byte opcode + rel32 */;
1660 delta = target - pc;
1685 CodeOffset pc = lir->offset + 6 /* 2 byte opcode + rel32 */; local
1687 int delta = target - pc;
1701 CodeOffset pc; local
1702 pc = lir->offset + 2; // opcode + rel8
1704 int delta = target - pc;
1713 CodeOffset pc; local
1744 CodeOffset pc = lir->offset + 5 /* opcode + rel32 */; local
[all...]
/art/compiler/utils/arm/
H A Dconstants_arm.h434 // Use the At(pc) function to create references to Instr.
435 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
H A Dassembler_thumb2.cc121 CHECK_NE(rn, PC); // Reserve tst pc instruction for exception handler marker.
127 CHECK_NE(rn, PC); // Reserve teq pc instruction for exception handler marker.
1593 uint32_t pc = buffer_.Size(); local
1610 Branch::Size size = AddBranch(branch_type, pc, label->Position(), cond); // Resolved branch.
1624 uint16_t branch_id = AddBranch(branch_type, pc, cond); // Unresolved branch.
2279 // current pc.
/art/disassembler/
H A Ddisassembler_arm.cc141 os << "pc";
431 uintptr_t pc = RoundDown(reinterpret_cast<intptr_t>(instr_ptr) + 4, 4); local
432 uintptr_t lit_adr = U ? pc + imm32 : pc - imm32;
1692 args << Rt << ", [pc, #" << (imm8 << 2) << "]";

Completed in 355 milliseconds