Lines Matching refs:patch
58 inline bool IsAdrpPatch(const LinkerPatch& patch) { in IsAdrpPatch() argument
59 switch (patch.GetType()) { in IsAdrpPatch()
71 return patch.LiteralOffset() == patch.PcInsnOffset(); in IsAdrpPatch()
119 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local
120 if (IsAdrpPatch(patch)) { in ReserveSpace()
136 for (const LinkerPatch& patch : compiled_method->GetPatches()) { in ReserveSpace() local
137 if (IsAdrpPatch(patch)) { in ReserveSpace()
138 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); in ReserveSpace()
139 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) { in ReserveSpace()
211 const LinkerPatch& patch, in PatchPcRelativeReference() argument
216 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference()
218 uint32_t pc_insn_offset = patch.PcInsnOffset(); in PatchPcRelativeReference()
261 DCHECK(patch.GetType() == LinkerPatch::Type::kIntrinsicReference || in PatchPcRelativeReference()
262 patch.GetType() == LinkerPatch::Type::kMethodRelative || in PatchPcRelativeReference()
263 patch.GetType() == LinkerPatch::Type::kTypeRelative || in PatchPcRelativeReference()
264 patch.GetType() == LinkerPatch::Type::kStringRelative) << patch.GetType(); in PatchPcRelativeReference()
267 DCHECK(patch.GetType() == LinkerPatch::Type::kIntrinsicReference || in PatchPcRelativeReference()
268 patch.GetType() == LinkerPatch::Type::kMethodRelative || in PatchPcRelativeReference()
269 patch.GetType() == LinkerPatch::Type::kTypeRelative || in PatchPcRelativeReference()
270 patch.GetType() == LinkerPatch::Type::kStringRelative || in PatchPcRelativeReference()
271 patch.GetType() == LinkerPatch::Type::kTypeBssEntry || in PatchPcRelativeReference()
272 patch.GetType() == LinkerPatch::Type::kStringBssEntry) << patch.GetType(); in PatchPcRelativeReference()
277 DCHECK(patch.GetType() == LinkerPatch::Type::kDataBimgRelRo || in PatchPcRelativeReference()
278 patch.GetType() == LinkerPatch::Type::kMethodBssEntry || in PatchPcRelativeReference()
279 patch.GetType() == LinkerPatch::Type::kTypeBssEntry || in PatchPcRelativeReference()
280 patch.GetType() == LinkerPatch::Type::kStringBssEntry) << patch.GetType(); in PatchPcRelativeReference()
311 const LinkerPatch& patch, in PatchBakerReadBarrierBranch() argument
314 uint32_t literal_offset = patch.LiteralOffset(); in PatchBakerReadBarrierBranch()
319 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch()