Lines Matching refs:literal_offset
133 void Arm64RelativePatcher::PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, in PatchCall() argument
135 DCHECK_LE(literal_offset + 4u, code->size()); in PatchCall()
136 DCHECK_EQ(literal_offset & 3u, 0u); in PatchCall()
146 DCHECK_EQ(GetInsn(code, literal_offset) & 0xfc000000u, 0x94000000u); in PatchCall()
148 SetInsn(code, literal_offset, insn); in PatchCall()
157 uint32_t literal_offset = patch.LiteralOffset(); in PatchDexCacheReference() local
158 uint32_t insn = GetInsn(code, literal_offset); in PatchDexCacheReference()
160 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchDexCacheReference()
163 if (literal_offset == pc_insn_offset) { in PatchDexCacheReference()
166 << literal_offset << ", " << pc_insn_offset << ", 0x" << std::hex << insn; in PatchDexCacheReference()
170 literal_offset, patch_offset)); in PatchDexCacheReference()
197 SetInsn(code, literal_offset, insn); in PatchDexCacheReference()
209 uint32_t b_offset = patch_offset - literal_offset + pc_insn_offset; in PatchDexCacheReference()
224 SetInsn(code, literal_offset, insn); in PatchDexCacheReference()
258 uint32_t literal_offset, in NeedsErratum843419Thunk() argument
262 uint32_t adrp = GetInsn(code, literal_offset); in NeedsErratum843419Thunk()
265 uint32_t next_insn = GetInsn(code, literal_offset + 4u); in NeedsErratum843419Thunk()