/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.cc | 63 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local 64 PatchBl(code, literal_offset, displacement); in PatchCall() 94 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local 95 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall() 142 uint32_t displacement) { in PatchBl() argument 143 displacement -= kPcDisplacement; // The base PC is at the end of the 4-byte patch. in PatchBl() 144 DCHECK_EQ(displacement & 1u, 0u); in PatchBl() 145 DCHECK((displacement >> 24) == 0u || (displacement >> 24) == 255u); // 25-bit signed. in PatchBl() 146 uint32_t signbit = (displacement >> 31) & 0x1; in PatchBl() 147 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 | 198 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() local 199 PatchBl(code, literal_offset, displacement); in PatchCall() 308 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() local 309 PatchBl(code, patch.LiteralOffset(), displacement); in PatchEntrypointCall() 364 uint32_t displacement) { in PatchBl() argument 365 DCHECK_ALIGNED(displacement, 4u); in PatchBl() 366 DCHECK((displacement >> 27) == 0u || (displacement >> 27) == 31u); // 28-bit signed. in PatchBl() 367 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 | 113 void X86ManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument 114 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 | 200 void ArmManagedRuntimeCallingConvention::ResetIterator(FrameOffset displacement) { in ResetIterator() argument 201 ManagedRuntimeCallingConvention::ResetIterator(displacement); in ResetIterator()
|
/art/compiler/jni/quick/ |
D | calling_convention.h | 57 virtual void ResetIterator(FrameOffset displacement) { in ResetIterator() argument 58 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 | 2359 ssize_t displacement = static_cast<ssize_t>(frame_size) - (spill_regs.size() * 8 + 8); in buildframe_test_fn() local 2360 str << "subq $" << displacement << ", %rsp\n"; in buildframe_test_fn() 2392 ssize_t displacement = static_cast<ssize_t>(frame_size) - spill_regs.size() * 8 - 8; in removeframe_test_fn() local 2393 str << "addq $" << displacement << ", %rsp\n"; in removeframe_test_fn()
|
/art/runtime/interpreter/ |
D | interpreter_switch_impl-inl.h | 89 int32_t displacement = in HandlePendingException() local 91 SetNextInstruction(inst->RelativeAt(displacement)); in HandlePendingException()
|