/art/compiler/linker/ |
D | multi_oat_relative_patcher.h | 99 uint32_t target_offset) { in PatchCall() argument 101 target_offset += adjustment_; in PatchCall() 102 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset); in PatchCall() 109 uint32_t target_offset) { in PatchPcRelativeReference() argument 111 target_offset += adjustment_; in PatchPcRelativeReference() 112 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); in PatchPcRelativeReference()
|
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 = dex_cache_arrays_begin_ + patch.TargetDexCacheElementOffset(); in Link() local 163 target_offset); in Link() 165 uint32_t target_offset = string_index_to_offset_map_.Get(patch.TargetStringIndex()); in Link() local 169 target_offset); in Link()
|
D | relative_patcher.h | 104 uint32_t target_offset) = 0; 110 uint32_t target_offset) = 0;
|
D | relative_patcher.cc | 61 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE { in Create() 68 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE { in Create()
|
D | multi_oat_relative_patcher_test.cc | 83 uint32_t target_offset) OVERRIDE { in PatchCall() argument 86 last_target_offset_ = target_offset; in PatchCall() 92 uint32_t target_offset) OVERRIDE { in PatchPcRelativeReference() argument 95 last_target_offset_ = target_offset; in PatchPcRelativeReference()
|
/art/compiler/linker/arm/ |
D | relative_patcher_arm_base.cc | 124 uint32_t target_offset) { in CalculateDisplacement() argument 126 uint32_t displacement = target_offset - patch_offset; in CalculateDisplacement() 172 uint32_t target_offset = result.second - CompiledCode::CodeDelta(instruction_set_); in ReserveSpaceProcessPatches() local 173 if (target_offset >= patch_offset) { in ReserveSpaceProcessPatches() 174 DCHECK_LE(target_offset - patch_offset, max_positive_displacement_); in ReserveSpaceProcessPatches() 178 target_offset = std::max(target_offset, thunk_locations_.back()); in ReserveSpaceProcessPatches() 180 if (patch_offset - target_offset > max_negative_displacement_) { in ReserveSpaceProcessPatches()
|
D | relative_patcher_thumb2.cc | 34 uint32_t target_offset) { in PatchCall() argument 38 DCHECK_EQ(target_offset & 1u, 1u); // Thumb2 mode bit. in PatchCall() 39 uint32_t displacement = CalculateDisplacement(patch_offset, target_offset & ~1u); in PatchCall() 62 uint32_t target_offset) { in PatchPcRelativeReference() argument 66 uint32_t diff = target_offset - pc_base; in PatchPcRelativeReference()
|
D | relative_patcher_thumb2.h | 32 uint32_t target_offset) OVERRIDE; 36 uint32_t target_offset) OVERRIDE;
|
D | relative_patcher_arm_base.h | 47 uint32_t CalculateDisplacement(uint32_t patch_offset, uint32_t target_offset);
|
D | relative_patcher_thumb2_test.cc | 131 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset); 177 uint32_t target_offset) { in CheckPcRelativePatch() argument 183 uint32_t diff = target_offset - pc_base_offset; in CheckPcRelativePatch()
|
/art/compiler/linker/x86_64/ |
D | relative_patcher_x86_64.cc | 27 uint32_t target_offset) { in PatchPcRelativeReference() argument 30 uint32_t displacement = target_offset - patch_offset; in PatchPcRelativeReference()
|
D | relative_patcher_x86_64.h | 32 uint32_t target_offset) OVERRIDE;
|
/art/compiler/linker/x86/ |
D | relative_patcher_x86_base.cc | 40 uint32_t target_offset) { in PatchCall() argument 43 uint32_t displacement = target_offset - patch_offset; in PatchCall()
|
D | relative_patcher_x86.cc | 27 uint32_t target_offset) { in PatchPcRelativeReference() argument 52 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/arm64/ |
D | relative_patcher_arm64.cc | 146 target_offset) { in PatchCall() argument 150 DCHECK_EQ(target_offset & 3u, 0u); in PatchCall() 151 uint32_t displacement = CalculateDisplacement(patch_offset, target_offset & ~1u); in PatchCall() 166 uint32_t target_offset) { in PatchPcRelativeReference() argument 168 DCHECK_EQ(target_offset & 3u, 0u); in PatchPcRelativeReference() 172 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); in PatchPcRelativeReference() 184 uint32_t adrp_disp = target_offset - (thunk_offset & ~0xfffu); in PatchPcRelativeReference()
|
D | relative_patcher_arm64_test.cc | 161 uint32_t target_offset, in GenNopsAndAdrpAndUse() argument 169 CHECK_ALIGNED(target_offset, 4u); in GenNopsAndAdrpAndUse() 171 uint32_t disp = target_offset - (adrp_offset & ~0xfffu); in GenNopsAndAdrpAndUse() 200 uint32_t target_offset) { in GenNopsAndAdrpLdr() argument 201 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kLdrWInsn); in GenNopsAndAdrpLdr() 217 uint32_t target_offset = dex_cache_arrays_begin_ + element_offset; in TestNopsAdrpLdr() local 218 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr() 224 uint32_t target_offset) { in GenNopsAndAdrpAdd() argument 225 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kAddXInsn); in GenNopsAndAdrpAdd() 290 uint32_t target_offset, in TestNopsAdrpInsn2AndUse() argument [all …]
|
D | relative_patcher_arm64.h | 39 uint32_t target_offset) OVERRIDE; 43 uint32_t target_offset) OVERRIDE;
|
/art/compiler/ |
D | oat_writer.cc | 1046 uint32_t target_offset = GetTargetOffset(patch); in VisitMethod() local 1050 target_offset); in VisitMethod() 1054 uint32_t target_offset = GetDexCacheOffset(patch); in VisitMethod() local 1058 target_offset); in VisitMethod() 1062 uint32_t target_offset = GetTargetObjectOffset(GetTargetString(patch)); in VisitMethod() local 1066 target_offset); in VisitMethod() 1070 uint32_t target_offset = GetTargetOffset(patch); in VisitMethod() local 1071 PatchCodeAddress(&patched_code_, literal_offset, target_offset); in VisitMethod() 1138 uint32_t target_offset = writer_->relative_patcher_->GetOffset(patch.TargetMethod()); in GetTargetOffset() local 1141 if (UNLIKELY(target_offset == 0)) { in GetTargetOffset() [all …]
|