/art/dex2oat/linker/ |
D | multi_oat_relative_patcher.h | 98 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()
|
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 | 1787 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/ |
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/compiler/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/compiler/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/compiler/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;
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 154 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()
|
D | relative_patcher.h | 109 uint32_t target_offset) = 0; 115 uint32_t target_offset) = 0;
|
D | relative_patcher.cc | 68 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE { in Create() 75 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE { in Create()
|
/art/compiler/linker/arm/ |
D | relative_patcher_thumb2.cc | 58 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()
|
D | relative_patcher_arm_base.cc | 335 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()
|
D | relative_patcher_thumb2.h | 76 uint32_t target_offset) OVERRIDE; 80 uint32_t target_offset) OVERRIDE;
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64.cc | 192 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()
|
D | relative_patcher_arm64.h | 68 uint32_t target_offset) OVERRIDE; 72 uint32_t target_offset) OVERRIDE;
|
D | relative_patcher_arm64_test.cc | 217 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 …]
|