Home
last modified time | relevance | path

Searched refs:target_offset (Results 1 – 25 of 27) sorted by relevance

12

/art/dex2oat/linker/
Dmulti_oat_relative_patcher.h98 uint32_t target_offset) { in PatchCall() argument
100 target_offset += adjustment_; in PatchCall()
101 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset); in PatchCall()
108 uint32_t target_offset) { in PatchPcRelativeReference() argument
110 target_offset += adjustment_; in PatchPcRelativeReference()
111 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); in PatchPcRelativeReference()
Dmulti_oat_relative_patcher_test.cc82 uint32_t target_offset) OVERRIDE { in PatchCall() argument
85 last_target_offset_ = target_offset; in PatchCall()
91 uint32_t target_offset) OVERRIDE { in PatchPcRelativeReference() argument
94 last_target_offset_ = target_offset; in PatchPcRelativeReference()
Doat_writer.cc1787 uint32_t target_offset = in VisitMethod() local
1792 target_offset); in VisitMethod()
1797 uint32_t target_offset = GetTargetOffset(patch); in VisitMethod() local
1801 target_offset); in VisitMethod()
1805 uint32_t target_offset = GetTargetObjectOffset(GetTargetString(patch)); in VisitMethod() local
1809 target_offset); in VisitMethod()
1813 uint32_t target_offset = GetInternTableEntryOffset(patch); in VisitMethod() local
1817 target_offset); in VisitMethod()
1822 uint32_t target_offset = in VisitMethod() local
1827 target_offset); in VisitMethod()
[all …]
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64.cc28 uint32_t target_offset) { in PatchPcRelativeReference() argument
31 uint32_t displacement = target_offset - patch_offset; in PatchPcRelativeReference()
Drelative_patcher_x86_64.h32 uint32_t target_offset) OVERRIDE;
/art/compiler/linker/mips64/
Drelative_patcher_mips64.cc44 uint32_t target_offset ATTRIBUTE_UNUSED) { in PatchCall()
51 uint32_t target_offset) { in PatchPcRelativeReference() argument
69 uint32_t diff = target_offset - anchor_offset; in PatchPcRelativeReference()
Drelative_patcher_mips64_test.cc43 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
61 uint32_t target_offset) { in CheckPcRelativePatch() argument
68 uint32_t diff = target_offset - (result.second + kAnchorOffset); in CheckPcRelativePatch()
Drelative_patcher_mips64.h37 uint32_t target_offset) OVERRIDE;
41 uint32_t target_offset) OVERRIDE;
/art/compiler/linker/mips/
Drelative_patcher_mips.cc44 uint32_t target_offset ATTRIBUTE_UNUSED) { in PatchCall()
51 uint32_t target_offset) { in PatchPcRelativeReference() argument
75 uint32_t diff = target_offset - anchor_offset; in PatchPcRelativeReference()
Drelative_patcher_mips.h39 uint32_t target_offset) OVERRIDE;
43 uint32_t target_offset) OVERRIDE;
Drelative_patcher_mips32r6_test.cc41 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
59 uint32_t target_offset) { in CheckPcRelativePatch() argument
66 uint32_t diff = target_offset - (result.second + kAnchorOffset); in CheckPcRelativePatch()
Drelative_patcher_mips_test.cc42 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
62 uint32_t target_offset) { in CheckPcRelativePatch() argument
69 uint32_t diff = target_offset - (result.second + kAnchorOffset); in CheckPcRelativePatch()
/art/compiler/linker/x86/
Drelative_patcher_x86_base.cc47 uint32_t target_offset) { in PatchCall() argument
50 uint32_t displacement = target_offset - patch_offset; in PatchCall()
Drelative_patcher_x86.cc28 uint32_t target_offset) { in PatchPcRelativeReference() argument
53 uint32_t diff = target_offset - anchor_offset; in PatchPcRelativeReference()
Drelative_patcher_x86.h32 uint32_t target_offset) OVERRIDE;
Drelative_patcher_x86_base.h35 uint32_t target_offset) OVERRIDE;
/art/compiler/linker/
Drelative_patcher_test.h154 uint32_t target_offset = in Link() local
157 offset + patch.LiteralOffset(), target_offset); in Link()
159 uint32_t target_offset = in Link() local
164 target_offset); in Link()
166 uint32_t target_offset = in Link() local
171 target_offset); in Link()
Drelative_patcher.h109 uint32_t target_offset) = 0;
115 uint32_t target_offset) = 0;
Drelative_patcher.cc68 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE { in Create()
75 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE { in Create()
/art/compiler/linker/arm/
Drelative_patcher_thumb2.cc58 uint32_t target_offset) { in PatchCall() argument
62 DCHECK_EQ(target_offset & 1u, 1u); // Thumb2 mode bit. in PatchCall()
63 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall()
86 uint32_t target_offset) { in PatchPcRelativeReference() argument
90 uint32_t diff = target_offset - pc_base; in PatchPcRelativeReference()
169 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchBakerReadBarrierBranch() local
170 DCHECK_ALIGNED(target_offset, 4u); in PatchBakerReadBarrierBranch()
171 uint32_t disp = target_offset - (patch_offset + kPcDisplacement); in PatchBakerReadBarrierBranch()
Drelative_patcher_arm_base.cc335 uint32_t target_offset) { in CalculateMethodCallDisplacement() argument
338 uint32_t displacement = target_offset - patch_offset; in CalculateMethodCallDisplacement()
484 uint32_t target_offset = result.second - CompiledCode::CodeDelta(instruction_set_); in ResolveMethodCalls() local
485 if (target_offset >= patch_offset) { in ResolveMethodCalls()
486 DCHECK_LE(target_offset - patch_offset, max_positive_displacement); in ResolveMethodCalls()
487 } else if (patch_offset - target_offset > max_negative_displacement) { in ResolveMethodCalls()
Drelative_patcher_thumb2.h76 uint32_t target_offset) OVERRIDE;
80 uint32_t target_offset) OVERRIDE;
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc192 target_offset) { in PatchCall() argument
196 DCHECK_EQ(target_offset & 3u, 0u); in PatchCall()
197 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall()
212 uint32_t target_offset) { in PatchPcRelativeReference() argument
214 DCHECK_EQ(target_offset & 3u, 0u); in PatchPcRelativeReference()
218 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchPcRelativeReference()
230 uint32_t adrp_disp = target_offset - (thunk_offset & ~0xfffu); in PatchPcRelativeReference()
356 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchBakerReadBarrierBranch() local
357 DCHECK_ALIGNED(target_offset, 4u); in PatchBakerReadBarrierBranch()
358 uint32_t disp = target_offset - patch_offset; in PatchBakerReadBarrierBranch()
Drelative_patcher_arm64.h68 uint32_t target_offset) OVERRIDE;
72 uint32_t target_offset) OVERRIDE;
Drelative_patcher_arm64_test.cc217 uint32_t target_offset, in GenNopsAndAdrpAndUse() argument
225 CHECK_ALIGNED(target_offset, 4u); in GenNopsAndAdrpAndUse()
227 uint32_t disp = target_offset - (adrp_offset & ~0xfffu); in GenNopsAndAdrpAndUse()
250 uint32_t target_offset) { in GenNopsAndAdrpLdr() argument
251 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kLdrWInsn); in GenNopsAndAdrpLdr()
269 uint32_t target_offset = bss_begin_ + string_entry_offset; in TestNopsAdrpLdr() local
270 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr()
276 uint32_t target_offset) { in GenNopsAndAdrpAdd() argument
277 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kAddXInsn); in GenNopsAndAdrpAdd()
334 uint32_t target_offset, in TestNopsAdrpInsn2AndUse() argument
[all …]

12