Lines Matching refs:patch_offset

139       uint32_t patch_offset = quick_code_offset + patch.LiteralOffset();  in ReserveSpace()  local
140 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) { in ReserveSpace()
141 adrp_thunk_locations_.emplace_back(patch_offset, thunk_offset); in ReserveSpace()
193 uint32_t patch_offset, in PatchCall() argument
196 DCHECK_ALIGNED(patch_offset, 4u); in PatchCall()
198 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall()
204 uint32_t patch_offset, in PatchPcRelativeReference() argument
206 DCHECK_ALIGNED(patch_offset, 4u); in PatchPcRelativeReference()
211 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchPcRelativeReference()
219 adrp_thunk_locations_[processed_adrp_thunks_].first == patch_offset) { in PatchPcRelativeReference()
221 literal_offset, patch_offset)); in PatchPcRelativeReference()
226 uint32_t out_disp = thunk_offset - patch_offset; in PatchPcRelativeReference()
283 uint32_t b_offset = patch_offset - literal_offset + pc_insn_offset; in PatchPcRelativeReference()
304 uint32_t patch_offset) { in PatchEntrypointCall() argument
305 DCHECK_ALIGNED(patch_offset, 4u); in PatchEntrypointCall()
307 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchEntrypointCall()
308 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall()
314 uint32_t patch_offset) { in PatchBakerReadBarrierBranch() argument
315 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()
378 uint32_t patch_offset) { in NeedsErratum843419Thunk() argument
379 DCHECK_EQ(patch_offset & 0x3u, 0u); in NeedsErratum843419Thunk()
380 if ((patch_offset & 0xff8) == 0xff8) { // ...ff8 or ...ffc in NeedsErratum843419Thunk()
383 uint32_t next_offset = patch_offset + 4u; in NeedsErratum843419Thunk()