/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.cc | 60 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()
|
D | relative_patcher_thumb2.h | 40 uint32_t target_offset) override; 44 uint32_t target_offset) override;
|
D | relative_patcher_arm_base.cc | 342 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/ |
D | multi_oat_relative_patcher.h | 101 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()
|
D | relative_patcher.h | 132 uint32_t target_offset) = 0; 138 uint32_t target_offset) = 0;
|
D | relative_patcher_test.h | 175 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()
|
D | relative_patcher.cc | 69 uint32_t target_offset ATTRIBUTE_UNUSED) override { in Create() 76 uint32_t target_offset ATTRIBUTE_UNUSED) override { in Create()
|
D | multi_oat_relative_patcher_test.cc | 82 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()
|
D | oat_writer.cc | 1737 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/ |
D | relative_patcher_x86_64.cc | 28 uint32_t target_offset) { in PatchPcRelativeReference() argument 31 uint32_t displacement = target_offset - patch_offset; in PatchPcRelativeReference()
|
D | relative_patcher_x86_64.h | 32 uint32_t target_offset) override;
|
/art/dex2oat/linker/mips64/ |
D | relative_patcher_mips64.cc | 44 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()
|
D | relative_patcher_mips64_test.cc | 43 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()
|
D | relative_patcher_mips64.h | 37 uint32_t target_offset) override; 41 uint32_t target_offset) override;
|
/art/dex2oat/linker/mips/ |
D | relative_patcher_mips.cc | 44 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()
|
D | relative_patcher_mips.h | 39 uint32_t target_offset) override; 43 uint32_t target_offset) override;
|
D | relative_patcher_mips32r6_test.cc | 41 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()
|
D | relative_patcher_mips_test.cc | 42 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/ |
D | relative_patcher_arm64.cc | 193 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()
|
D | relative_patcher_arm64.h | 45 uint32_t target_offset) override; 49 uint32_t target_offset) override;
|
D | relative_patcher_arm64_test.cc | 258 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/ |
D | relative_patcher_x86_base.cc | 47 uint32_t target_offset) { in PatchCall() argument 50 uint32_t displacement = target_offset - patch_offset; in PatchCall()
|
D | relative_patcher_x86.cc | 28 uint32_t target_offset) { in PatchPcRelativeReference() argument 53 uint32_t diff = target_offset - anchor_offset; in PatchPcRelativeReference()
|
D | relative_patcher_x86.h | 32 uint32_t target_offset) override;
|
D | relative_patcher_x86_base.h | 35 uint32_t target_offset) override;
|