/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2.cc | 60 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() 70 uint32_t target_offset) { in PatchPcRelativeReference() argument 74 uint32_t diff = target_offset - pc_base; in PatchPcRelativeReference() 92 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchEntrypointCall() local 93 DCHECK_ALIGNED(target_offset, 4u); in PatchEntrypointCall() 94 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() 108 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchBakerReadBarrierBranch() local 109 DCHECK_ALIGNED(target_offset, 4u); in PatchBakerReadBarrierBranch() [all …]
|
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() 504 uint32_t target_offset = result.second - CompiledCode::CodeDelta(instruction_set_); in ResolveMethodCalls() local 505 if (target_offset >= patch_offset) { in ResolveMethodCalls() 506 DCHECK_LE(target_offset - patch_offset, max_positive_displacement); in ResolveMethodCalls() 507 } else if (patch_offset - target_offset > max_negative_displacement) { in ResolveMethodCalls()
|
D | relative_patcher_arm_base.h | 98 uint32_t target_offset);
|
D | relative_patcher_thumb2_test.cc | 121 uint32_t BneWWithOffset(uint32_t bne_offset, uint32_t target_offset) { in BneWWithOffset() argument 126 if (!IsAligned<2u>(target_offset)) { in BneWWithOffset() 127 LOG(ERROR) << "Unaligned target_offset: " << target_offset; in BneWWithOffset() 130 uint32_t diff = target_offset - bne_offset - kPcAdjustment; in BneWWithOffset() 277 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset); 377 uint32_t target_offset) { in CheckPcRelativePatch() argument 383 uint32_t diff = target_offset - pc_base_offset; in CheckPcRelativePatch()
|
/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.cc | 63 uint32_t target_offset ATTRIBUTE_UNUSED) override { in Create() 70 uint32_t target_offset ATTRIBUTE_UNUSED) override { in Create()
|
D | relative_patcher_test.h | 174 uint32_t target_offset = in Link() local 179 target_offset); in Link() 181 uint32_t target_offset = in Link() local 186 target_offset); in Link() 188 uint32_t target_offset = in Link() local 193 target_offset); in Link()
|
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 | 1771 uint32_t target_offset = GetTargetIntrinsicReferenceOffset(patch); in VisitMethod() local 1775 target_offset); in VisitMethod() 1779 uint32_t target_offset = in VisitMethod() local 1785 target_offset); in VisitMethod() 1789 uint32_t target_offset = in VisitMethod() local 1794 target_offset); in VisitMethod() 1799 uint32_t target_offset = GetTargetOffset(patch); in VisitMethod() local 1803 target_offset); in VisitMethod() 1807 uint32_t target_offset = GetTargetObjectOffset(GetTargetString(patch)); in VisitMethod() local 1811 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/arm64/ |
D | relative_patcher_arm64.cc | 194 uint32_t target_offset) { in PatchCall() argument 197 DCHECK_ALIGNED(target_offset, 4u); in PatchCall() 198 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u); in PatchCall() 205 uint32_t target_offset) { in PatchPcRelativeReference() argument 207 DCHECK_ALIGNED(target_offset, 4u); in PatchPcRelativeReference() 211 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchPcRelativeReference() 223 uint32_t adrp_disp = target_offset - (thunk_offset & ~0xfffu); in PatchPcRelativeReference() 307 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchEntrypointCall() local 308 uint32_t displacement = target_offset - patch_offset; in PatchEntrypointCall() 320 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset); in PatchBakerReadBarrierBranch() local [all …]
|
D | relative_patcher_arm64.h | 45 uint32_t target_offset) override; 49 uint32_t target_offset) override;
|
D | relative_patcher_arm64_test.cc | 259 uint32_t target_offset, in GenNopsAndAdrpAndUse() argument 267 CHECK_ALIGNED(target_offset, 4u); in GenNopsAndAdrpAndUse() 269 uint32_t disp = target_offset - (adrp_offset & ~0xfffu); in GenNopsAndAdrpAndUse() 292 uint32_t target_offset) { in GenNopsAndAdrpLdr() argument 293 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kLdrWInsn); in GenNopsAndAdrpLdr() 311 uint32_t target_offset = bss_begin_ + string_entry_offset; in TestNopsAdrpLdr() local 312 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr() 318 uint32_t target_offset) { in GenNopsAndAdrpAdd() argument 319 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kAddXInsn); in GenNopsAndAdrpAdd() 376 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;
|