Home
last modified time | relevance | path

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

12

/art/dex2oat/linker/arm/
Drelative_patcher_thumb2.cc60 uint32_t target_offset) { in PatchCall() argument
64 DCHECK_EQ(target_offset & 1u, 1u); // Thumb2 mode bit. in PatchCall()
65 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall()
88 uint32_t target_offset) { in PatchPcRelativeReference() argument
92 uint32_t diff = target_offset - pc_base; in PatchPcRelativeReference()
115 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchBakerReadBarrierBranch() local
116 DCHECK_ALIGNED(target_offset, 4u); in PatchBakerReadBarrierBranch()
117 uint32_t disp = target_offset - (patch_offset + kPcDisplacement); in PatchBakerReadBarrierBranch()
Drelative_patcher_thumb2.h40 uint32_t target_offset) override;
44 uint32_t target_offset) override;
Drelative_patcher_arm_base.cc342 uint32_t target_offset) { in CalculateMethodCallDisplacement() argument
345 uint32_t displacement = target_offset - patch_offset; in CalculateMethodCallDisplacement()
491 uint32_t target_offset = result.second - CompiledCode::CodeDelta(instruction_set_); in ResolveMethodCalls() local
492 if (target_offset >= patch_offset) { in ResolveMethodCalls()
493 DCHECK_LE(target_offset - patch_offset, max_positive_displacement); in ResolveMethodCalls()
494 } else if (patch_offset - target_offset > max_negative_displacement) { in ResolveMethodCalls()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher.h101 uint32_t target_offset) { in PatchCall() argument
103 target_offset += adjustment_; in PatchCall()
104 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset); in PatchCall()
111 uint32_t target_offset) { in PatchPcRelativeReference() argument
113 target_offset += adjustment_; in PatchPcRelativeReference()
114 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); in PatchPcRelativeReference()
Drelative_patcher.h132 uint32_t target_offset) = 0;
138 uint32_t target_offset) = 0;
Drelative_patcher_test.h175 uint32_t target_offset = in Link() local
178 offset + patch.LiteralOffset(), target_offset); in Link()
180 uint32_t target_offset = in Link() local
185 target_offset); in Link()
187 uint32_t target_offset = in Link() local
192 target_offset); in Link()
Drelative_patcher.cc69 uint32_t target_offset ATTRIBUTE_UNUSED) override { in Create()
76 uint32_t target_offset ATTRIBUTE_UNUSED) override { in Create()
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.cc1737 uint32_t target_offset = GetTargetIntrinsicReferenceOffset(patch); in VisitMethod() local
1741 target_offset); in VisitMethod()
1745 uint32_t target_offset = in VisitMethod() local
1751 target_offset); in VisitMethod()
1755 uint32_t target_offset = in VisitMethod() local
1760 target_offset); in VisitMethod()
1765 uint32_t target_offset = GetTargetOffset(patch); in VisitMethod() local
1769 target_offset); in VisitMethod()
1773 uint32_t target_offset = GetTargetObjectOffset(GetTargetString(patch)); in VisitMethod() local
1777 target_offset); in VisitMethod()
[all …]
/art/dex2oat/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/dex2oat/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/dex2oat/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/dex2oat/linker/arm64/
Drelative_patcher_arm64.cc193 target_offset) { in PatchCall() argument
197 DCHECK_EQ(target_offset & 3u, 0u); in PatchCall()
198 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall()
213 uint32_t target_offset) { in PatchPcRelativeReference() argument
215 DCHECK_EQ(target_offset & 3u, 0u); in PatchPcRelativeReference()
219 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchPcRelativeReference()
231 uint32_t adrp_disp = target_offset - (thunk_offset & ~0xfffu); in PatchPcRelativeReference()
320 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchBakerReadBarrierBranch() local
321 DCHECK_ALIGNED(target_offset, 4u); in PatchBakerReadBarrierBranch()
322 uint32_t disp = target_offset - patch_offset; in PatchBakerReadBarrierBranch()
Drelative_patcher_arm64.h45 uint32_t target_offset) override;
49 uint32_t target_offset) override;
Drelative_patcher_arm64_test.cc258 uint32_t target_offset, in GenNopsAndAdrpAndUse() argument
266 CHECK_ALIGNED(target_offset, 4u); in GenNopsAndAdrpAndUse()
268 uint32_t disp = target_offset - (adrp_offset & ~0xfffu); in GenNopsAndAdrpAndUse()
291 uint32_t target_offset) { in GenNopsAndAdrpLdr() argument
292 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kLdrWInsn); in GenNopsAndAdrpLdr()
310 uint32_t target_offset = bss_begin_ + string_entry_offset; in TestNopsAdrpLdr() local
311 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr()
317 uint32_t target_offset) { in GenNopsAndAdrpAdd() argument
318 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kAddXInsn); in GenNopsAndAdrpAdd()
375 uint32_t target_offset, in TestNopsAdrpInsn2AndUse() argument
[all …]
/art/dex2oat/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;

12