Lines Matching refs:patch_offset
138 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); in ReserveSpace() local
139 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) { in ReserveSpace()
140 adrp_thunk_locations_.emplace_back(patch_offset, thunk_offset); in ReserveSpace()
192 uint32_t patch_offset, uint32_t in PatchCall() argument
196 DCHECK_EQ(patch_offset & 3u, 0u); in PatchCall()
198 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall()
212 uint32_t patch_offset, in PatchPcRelativeReference() argument
214 DCHECK_EQ(patch_offset & 3u, 0u); in PatchPcRelativeReference()
219 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchPcRelativeReference()
227 adrp_thunk_locations_[processed_adrp_thunks_].first == patch_offset) { in PatchPcRelativeReference()
229 literal_offset, patch_offset)); in PatchPcRelativeReference()
234 uint32_t out_disp = thunk_offset - patch_offset; in PatchPcRelativeReference()
291 uint32_t b_offset = patch_offset - literal_offset + pc_insn_offset; in PatchPcRelativeReference()
312 uint32_t patch_offset) { in PatchBakerReadBarrierBranch() argument
313 DCHECK_ALIGNED(patch_offset, 4u); in PatchBakerReadBarrierBranch()
320 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchBakerReadBarrierBranch()
322 uint32_t disp = target_offset - patch_offset; in PatchBakerReadBarrierBranch()
362 uint32_t patch_offset) { in NeedsErratum843419Thunk() argument
363 DCHECK_EQ(patch_offset & 0x3u, 0u); in NeedsErratum843419Thunk()
364 if ((patch_offset & 0xff8) == 0xff8) { // ...ff8 or ...ffc in NeedsErratum843419Thunk()
367 uint32_t next_offset = patch_offset + 4u; in NeedsErratum843419Thunk()