Home
last modified time | relevance | path

Searched refs:patch_offset (Results 1 – 16 of 16) sorted by relevance

/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc123 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 …]
Drelative_patcher_thumb2.cc33 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()
Drelative_patcher_thumb2.h31 uint32_t patch_offset,
35 uint32_t patch_offset,
Drelative_patcher_arm_base.h47 uint32_t CalculateDisplacement(uint32_t patch_offset, uint32_t target_offset);
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc92 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 …]
Drelative_patcher_arm64.h38 uint32_t patch_offset,
42 uint32_t patch_offset,
50 uint32_t patch_offset);
/art/compiler/linker/
Dmulti_oat_relative_patcher.h98 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()
Drelative_patcher.h103 uint32_t patch_offset,
109 uint32_t patch_offset,
Drelative_patcher.cc60 uint32_t patch_offset ATTRIBUTE_UNUSED, in Create()
67 uint32_t patch_offset ATTRIBUTE_UNUSED, in Create()
Dmulti_oat_relative_patcher_test.cc82 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/
Drelative_patcher_x86_64.cc26 uint32_t patch_offset, in PatchPcRelativeReference() argument
30 uint32_t displacement = target_offset - patch_offset; in PatchPcRelativeReference()
Drelative_patcher_x86_64.h31 uint32_t patch_offset,
/art/compiler/linker/x86/
Drelative_patcher_x86_base.cc39 uint32_t patch_offset, in PatchCall() argument
43 uint32_t displacement = target_offset - patch_offset; in PatchCall()
Drelative_patcher_x86.cc26 uint32_t patch_offset, in PatchPcRelativeReference() argument
51 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset; in PatchPcRelativeReference()
Drelative_patcher_x86.h31 uint32_t patch_offset,
Drelative_patcher_x86_base.h34 uint32_t patch_offset,