/art/compiler/linker/arm/ |
D | relative_patcher_arm_base.cc | 123 uint32_t ArmBaseRelativePatcher::CalculateDisplacement(uint32_t patch_offset, in CalculateDisplacement() argument 126 uint32_t displacement = target_offset - patch_offset; in CalculateDisplacement() 131 thunk_locations_[current_thunk_to_write_] > patch_offset); in CalculateDisplacement() 133 thunk_locations_[current_thunk_to_write_] - patch_offset < max_positive_displacement_) { in CalculateDisplacement() 134 displacement = thunk_locations_[current_thunk_to_write_] - patch_offset; in CalculateDisplacement() 138 DCHECK_LT(thunk_locations_[current_thunk_to_write_ - 1], patch_offset); in CalculateDisplacement() 139 displacement = thunk_locations_[current_thunk_to_write_ - 1] - patch_offset; in CalculateDisplacement() 152 uint32_t patch_offset = unprocessed_patches_.front().second; in ReserveSpaceProcessPatches() local 153 DCHECK(thunk_locations_.empty() || thunk_locations_.back() <= patch_offset); in ReserveSpaceProcessPatches() 156 DCHECK_GT(quick_code_offset, patch_offset); in ReserveSpaceProcessPatches() [all …]
|
D | relative_patcher_thumb2.cc | 33 uint32_t patch_offset, in PatchCall() argument 37 DCHECK_EQ(patch_offset & 1u, 0u); in PatchCall() 39 uint32_t displacement = CalculateDisplacement(patch_offset, target_offset & ~1u); in PatchCall() 61 uint32_t patch_offset, in PatchPcRelativeReference() argument 65 uint32_t pc_base = patch_offset + (pc_literal_offset - literal_offset) + 4u /* PC adjustment */; in PatchPcRelativeReference()
|
D | relative_patcher_thumb2.h | 31 uint32_t patch_offset, 35 uint32_t patch_offset,
|
D | relative_patcher_arm_base.h | 47 uint32_t CalculateDisplacement(uint32_t patch_offset, uint32_t target_offset);
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 92 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); in ReserveSpace() local 93 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) { in ReserveSpace() 94 adrp_thunk_locations_.emplace_back(patch_offset, thunk_offset); in ReserveSpace() 145 uint32_t patch_offset, uint32_t in PatchCall() argument 149 DCHECK_EQ(patch_offset & 3u, 0u); in PatchCall() 151 uint32_t displacement = CalculateDisplacement(patch_offset, target_offset & ~1u); in PatchCall() 165 uint32_t patch_offset, in PatchPcRelativeReference() argument 167 DCHECK_EQ(patch_offset & 3u, 0u); in PatchPcRelativeReference() 172 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchPcRelativeReference() 180 adrp_thunk_locations_[processed_adrp_thunks_].first == patch_offset) { in PatchPcRelativeReference() [all …]
|
D | relative_patcher_arm64.h | 38 uint32_t patch_offset, 42 uint32_t patch_offset, 50 uint32_t patch_offset);
|
/art/compiler/linker/ |
D | multi_oat_relative_patcher.h | 98 uint32_t patch_offset, in PatchCall() argument 100 patch_offset += adjustment_; in PatchCall() 102 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset); in PatchCall() 108 uint32_t patch_offset, in PatchPcRelativeReference() argument 110 patch_offset += adjustment_; in PatchPcRelativeReference() 112 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); in PatchPcRelativeReference()
|
D | relative_patcher.h | 103 uint32_t patch_offset, 109 uint32_t patch_offset,
|
D | relative_patcher.cc | 60 uint32_t patch_offset ATTRIBUTE_UNUSED, in Create() 67 uint32_t patch_offset ATTRIBUTE_UNUSED, in Create()
|
D | multi_oat_relative_patcher_test.cc | 82 uint32_t patch_offset, in PatchCall() argument 85 last_patch_offset_ = patch_offset; in PatchCall() 91 uint32_t patch_offset, in PatchPcRelativeReference() argument 94 last_patch_offset_ = patch_offset; in PatchPcRelativeReference()
|
/art/compiler/linker/x86_64/ |
D | relative_patcher_x86_64.cc | 26 uint32_t patch_offset, in PatchPcRelativeReference() argument 30 uint32_t displacement = target_offset - patch_offset; in PatchPcRelativeReference()
|
D | relative_patcher_x86_64.h | 31 uint32_t patch_offset,
|
/art/compiler/linker/x86/ |
D | relative_patcher_x86_base.cc | 39 uint32_t patch_offset, in PatchCall() argument 43 uint32_t displacement = target_offset - patch_offset; in PatchCall()
|
D | relative_patcher_x86.cc | 26 uint32_t patch_offset, in PatchPcRelativeReference() argument 51 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset; in PatchPcRelativeReference()
|
D | relative_patcher_x86.h | 31 uint32_t patch_offset,
|
D | relative_patcher_x86_base.h | 34 uint32_t patch_offset,
|