/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.cc | 62 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local 63 PatchBl(code, literal_offset, displacement); in PatchCall() 93 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local 94 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall() 141 uint32_t displacement) { in PatchBl() argument 142 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchBl() 143 DCHECK_EQ(displacement & 1u, 0u); in PatchBl() 144 DCHECK((displacement >> 24) == 0u || (displacement >> 24) == 255u); // 25-bit signed. in PatchBl() 145 uint32_t signbit = (displacement >> 31) & 0x1; in PatchBl() 146 uint32_t i1 = (displacement >> 23) & 0x1; in PatchBl() [all …]
|
D | relative_patcher_arm_base.cc | 345 uint32_t displacement = target_offset - patch_offset; in CalculateMethodCallDisplacement() local 349 if (displacement > max_positive_displacement && displacement < -max_negative_displacement) { in CalculateMethodCallDisplacement() 355 displacement = method_call_thunk_->GetPendingOffset() - patch_offset; in CalculateMethodCallDisplacement() 360 displacement = method_call_thunk_->LastWrittenOffset() - patch_offset; in CalculateMethodCallDisplacement() 361 DCHECK_GE(displacement, -max_negative_displacement); in CalculateMethodCallDisplacement() 364 return displacement; in CalculateMethodCallDisplacement()
|
D | relative_patcher_thumb2.h | 57 static void PatchBl(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t displacement);
|
/art/dex2oat/linker/x86_64/ |
D | relative_patcher_x86_64.cc | 31 uint32_t displacement = target_offset - patch_offset; in PatchPcRelativeReference() local 32 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchPcRelativeReference() 35 reinterpret_cast<unaligned_int32_t*>(&(*code)[patch.LiteralOffset()])[0] = displacement; in PatchPcRelativeReference()
|
/art/dex2oat/linker/x86/ |
D | relative_patcher_x86_base.cc | 50 uint32_t displacement = target_offset - patch_offset; in PatchCall() local 51 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchCall() 54 reinterpret_cast<unaligned_int32_t*>(&(*code)[literal_offset])[0] = displacement; in PatchCall()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.cc | 200 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local 201 PatchBl(code, literal_offset, displacement); in PatchCall() 315 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local 316 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall() 371 uint32_t displacement) { in PatchBl() argument 372 DCHECK_ALIGNED(displacement, 4u); in PatchBl() 373 DCHECK((displacement >> 27) == 0u || (displacement >> 27) == 31u); // 28-bit signed. in PatchBl() 374 uint32_t insn = (displacement & 0x0fffffffu) >> 2; in PatchBl()
|
D | relative_patcher_arm64.h | 63 static void PatchBl(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t displacement);
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.h | 37 void ResetIterator(FrameOffset displacement) override;
|
D | calling_convention_x86.cc | 119 void X86ManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument 120 ManagedRuntimeCallingConvention::ResetIterator(displacement); in ResetIterator()
|
/art/compiler/jni/quick/arm/ |
D | calling_convention_arm.h | 39 void ResetIterator(FrameOffset displacement) override;
|
D | calling_convention_arm.cc | 199 void ArmManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument 200 ManagedRuntimeCallingConvention::ResetIterator(displacement); in ResetIterator()
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 56 virtual void ResetIterator(FrameOffset displacement) { in ResetIterator() argument 57 displacement_ = displacement; in ResetIterator()
|
/art/runtime/interpreter/mterp/x86_64ng/ |
D | control_flow.S | 32 movswq 2(rPC), rINSTq # fetch signed displacement
|
/art/disassembler/ |
D | disassembler_x86.cc | 1582 int32_t displacement; in DumpInstruction() local 1584 displacement = *reinterpret_cast<const int8_t*>(instr); in DumpInstruction() 1588 displacement = *reinterpret_cast<const int32_t*>(instr); in DumpInstruction() 1591 args << StringPrintf("%+d (", displacement) in DumpInstruction() 1592 << FormatInstructionPointer(instr + displacement) in DumpInstruction()
|
/art/runtime/interpreter/mterp/x86_64/ |
D | control_flow.S | 35 movswq 2(rPC), rINSTq # fetch signed displacement
|
/art/runtime/interpreter/mterp/x86/ |
D | control_flow.S | 35 movswl 2(rPC), rINST # fetch signed displacement
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64_test.cc | 2364 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); in buildframe_test_fn() local 2365 str << "subq $" << displacement << ", %rsp\n"; in buildframe_test_fn() 2397 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; in removeframe_test_fn() local 2398 str << "addq $" << displacement << ", %rsp\n"; in removeframe_test_fn()
|
/art/runtime/interpreter/ |
D | interpreter_switch_impl-inl.h | 116 int32_t displacement = in HandlePendingException() local 118 SetNextInstruction(inst_->RelativeAt(displacement)); in HandlePendingException()
|