Searched defs:pc (Results 1 - 18 of 18) sorted by path

/art/compiler/dex/quick/arm/
H A Dassemble_arm.cc60 * t -> pc-relative target
118 "add", "!0C, pc, #!1E", 2, kFixupLoad),
229 | IS_LOAD_OFF4 | NEEDS_FIXUP, "ldr", "!0C, [pc, #!1E]", 2, kFixupLoad),
421 * not used in a pc-relative case. It is really only needed on the pc-relative loads, but
1027 "ldrd", "!0C, !1C, [pc, #!2E]", 4, kFixupLoad),
1237 * inserted instructions don't need use/def flags, but do need size and pc-rel status
1260 CodeOffset pc = (lir->offset + 4) & ~3; local
1263 int32_t delta = target - pc;
1276 LOG(FATAL) << "Unexpected pc
1340 CodeOffset pc = lir->offset + 4; local
1411 CodeOffset pc = lir->offset + 4; local
1428 CodeOffset pc = lir->offset + 4; local
1445 CodeOffset pc = lir->offset + 4; local
[all...]
/art/compiler/dex/quick/arm64/
H A Dassemble_arm64.cc82 * t -> pc-relative target
83 * p -> pc-relative address
846 * inserted instructions don't need use/def flags, but do need size and pc-rel status
860 CodeOffset pc = lir->offset; local
863 int32_t delta = target - pc;
875 CodeOffset pc = lir->offset; local
878 int32_t delta = target - pc;
/art/compiler/dex/quick/mips/
H A Dassemble_mips.cc62 * t -> pc-relative target
63 * T -> pc-region target
412 "addiu", "ra,pc,8", 4),
511 * discover that pc-relative displacements may not fit the selected
533 * two pc-relative locations into a the target register
581 CodeOffset pc = lir->offset + 4; local
583 int delta = target - pc;
595 CodeOffset pc = lir->offset + 4; local
597 int delta = target - pc;
609 CodeOffset pc local
[all...]
/art/compiler/dex/quick/x86/
H A Dassemble_x86.cc1594 * discover that pc-relative displacements may not fit the selected
1618 CodeOffset pc; local
1620 pc = lir->offset + 2 /* opcode + rel8 */;
1622 pc = lir->offset + 6 /* 2 byte opcode + rel32 */;
1625 delta = target - pc;
1650 CodeOffset pc = lir->offset + 6 /* 2 byte opcode + rel32 */; local
1652 int delta = target - pc;
1666 CodeOffset pc; local
1667 pc = lir->offset + 2; // opcode + rel8
1669 int delta = target - pc;
1678 CodeOffset pc; local
1709 CodeOffset pc = lir->offset + 5 /* opcode + rel32 */; local
[all...]
H A Dtarget_x86.cc1612 uint32_t pc = NEXT_LIR(stack_decrement_)->offset; local
1613 AdvanceLoc(*cfi_info, pc);
1626 pc += kSpillInstLen;
1646 AdvanceLoc(*cfi_info, new_pc - pc);
1661 pc = new_pc;
1663 AdvanceLoc(*cfi_info, new_pc - pc);
/art/compiler/utils/arm/
H A Dassembler_thumb2.cc95 CHECK_NE(rn, PC); // Reserve tst pc instruction for exception handler marker.
101 CHECK_NE(rn, PC); // Reserve teq pc instruction for exception handler marker.
1468 uint32_t pc = buffer_.Size(); local
1485 Branch::Size size = AddBranch(branch_type, pc, label->Position(), cond); // Resolved branch.
1499 uint16_t branch_id = AddBranch(branch_type, pc, cond); // Unresolved branch.
2114 // current pc.
H A Dconstants_arm.h437 // Use the At(pc) function to create references to Instr.
438 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } argument
/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/
H A Dconstants_x86.h116 // Use the At(pc) function to create references to Instr.
117 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/compiler/utils/x86_64/
H A Dconstants_x86_64.h124 // Use the At(pc) function to create references to Instr.
125 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc43 static uint32_t GetInstructionSize(uint8_t* pc) { argument
44 uint16_t instr = pc[0] | pc[1] << 8;
97 VLOG(signals) << "pc: " << std::hex << static_cast<void*>(ptr);
172 VLOG(signals) << "arm pc: " << std::hex << sc->arm_pc;
/art/runtime/arch/x86/
H A Dfault_handler_x86.cc92 static uint32_t GetInstructionSize(const uint8_t* pc) { argument
99 const uint8_t* startpc = pc;
101 uint8_t opcode = *pc++;
130 opcode = *pc++;
140 opcode = *pc++;
146 opcode = *pc++;
159 modrm = *pc++;
177 modrm = *pc++;
183 modrm = *pc++;
189 modrm = *pc
270 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local
284 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local
342 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local
[all...]
/art/runtime/
H A Ddebugger.cc99 void SetDexPc(uint32_t pc) { argument
100 dex_pc_ = pc;
H A Dmonitor_android.cc80 uint32_t pc; local
81 mirror::ArtMethod* m = self->GetCurrentMethod(&pc);
84 TranslateLocation(m, pc, &filename, &line_number);
H A Dstack.h455 void SetTopQuickFramePc(uintptr_t pc) { argument
457 top_quick_frame_pc_ = pc;
574 // Get the method and dex pc immediately after the one that's currently being visited.
H A Dthread.h351 // Get the current method and dex pc. If there are errors in retrieving the dex pc, this will
358 void SetTopOfStack(StackReference<mirror::ArtMethod>* top_method, uintptr_t pc) { argument
360 tlsPtr_.managed_stack.SetTopQuickFramePc(pc);
1093 // Additional stack used by method instrumentation to store method and return pc values.
/art/runtime/mirror/
H A Dart_method-inl.h178 inline void ArtMethod::AssertPcIsWithinQuickCode(uintptr_t pc) { argument
185 if (pc == GetQuickInstrumentationExitPc()) {
197 DCHECK(IsWithinQuickCode(pc))
199 << " pc=" << std::hex << pc
348 inline uintptr_t ArtMethod::NativePcOffset(const uintptr_t pc) { argument
350 return pc - reinterpret_cast<uintptr_t>(code);
353 inline uintptr_t ArtMethod::NativePcOffset(const uintptr_t pc, const void* quick_entry_point) { argument
357 return pc - reinterpret_cast<uintptr_t>(quick_entry_point);
H A Dart_method.cc148 uint32_t ArtMethod::ToDexPc(const uintptr_t pc, bool abort_on_failure) { argument
150 // Portable doesn't use the machine pc, we just use dex pc instead.
151 return static_cast<uint32_t>(pc);
162 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point);
163 // Assume the caller wants a pc-to-dex mapping so check here first.
170 // Now check dex-to-pc mappings.
179 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point
191 return 0; // Special no mapping/pc == 0 case
193 // Assume the caller wants a dex-to-pc mappin
[all...]

Completed in 281 milliseconds