/art/compiler/linker/x86_64/ |
H A D | relative_patcher_x86_64.cc | 27 uint32_t target_offset) { 30 uint32_t displacement = target_offset - patch_offset; 24 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher_x86_64.h | 32 uint32_t target_offset) OVERRIDE;
|
/art/compiler/linker/x86/ |
H A D | relative_patcher_x86.h | 32 uint32_t target_offset) OVERRIDE;
|
H A D | relative_patcher_x86_base.cc | 40 uint32_t target_offset) { 43 uint32_t displacement = target_offset - patch_offset; 37 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher_x86_base.h | 35 uint32_t target_offset) OVERRIDE;
|
H A D | relative_patcher_x86.cc | 27 uint32_t target_offset) { 52 uint32_t diff = target_offset - anchor_offset; 24 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
/art/compiler/linker/ |
H A D | multi_oat_relative_patcher.h | 99 uint32_t target_offset) { 101 target_offset += adjustment_; 102 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset); 109 uint32_t target_offset) { 111 target_offset += adjustment_; 112 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset); 96 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument 106 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher.h | 104 uint32_t target_offset) = 0; 110 uint32_t target_offset) = 0;
|
H A D | relative_patcher_test.h | 154 uint32_t target_offset = local 157 offset + patch.LiteralOffset(), target_offset); 159 uint32_t target_offset = dex_cache_arrays_begin_ + patch.TargetDexCacheElementOffset(); local 163 target_offset); 165 uint32_t target_offset = string_index_to_offset_map_.Get(patch.TargetStringIndex()); local 169 target_offset);
|
H A D | relative_patcher.cc | 61 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE { 68 uint32_t target_offset ATTRIBUTE_UNUSED) OVERRIDE {
|
H A D | multi_oat_relative_patcher_test.cc | 83 uint32_t target_offset) OVERRIDE { 86 last_target_offset_ = target_offset; 92 uint32_t target_offset) OVERRIDE { 95 last_target_offset_ = target_offset;
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_arm_base.cc | 124 uint32_t target_offset) { 126 uint32_t displacement = target_offset - patch_offset; 172 uint32_t target_offset = result.second - CompiledCode::CodeDelta(instruction_set_); local 173 if (target_offset >= patch_offset) { 174 DCHECK_LE(target_offset - patch_offset, max_positive_displacement_); 178 target_offset = std::max(target_offset, thunk_locations_.back()); 180 if (patch_offset - target_offset > max_negative_displacement_) { 123 CalculateDisplacement(uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher_thumb2.h | 32 uint32_t target_offset) OVERRIDE; 36 uint32_t target_offset) OVERRIDE;
|
H A D | relative_patcher_thumb2.cc | 34 uint32_t target_offset) { 38 DCHECK_EQ(target_offset & 1u, 1u); // Thumb2 mode bit. 39 uint32_t displacement = CalculateDisplacement(patch_offset, target_offset & ~1u); 62 uint32_t target_offset) { 66 uint32_t diff = target_offset - pc_base; 31 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument 59 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher_arm_base.h | 47 uint32_t CalculateDisplacement(uint32_t patch_offset, uint32_t target_offset);
|
H A D | relative_patcher_thumb2_test.cc | 131 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset); 177 uint32_t target_offset) { 183 uint32_t diff = target_offset - pc_base_offset; 176 CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset) argument
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64.h | 39 uint32_t target_offset) OVERRIDE; 43 uint32_t target_offset) OVERRIDE;
|
H A D | relative_patcher_arm64.cc | 146 target_offset) { 150 DCHECK_EQ(target_offset & 3u, 0u); 151 uint32_t displacement = CalculateDisplacement(patch_offset, target_offset & ~1u); 166 uint32_t target_offset) { 168 DCHECK_EQ(target_offset & 3u, 0u); 172 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu); 184 uint32_t adrp_disp = target_offset - (thunk_offset & ~0xfffu); 270 // Since the target_offset is based on the beginning of the oat file and the 271 // image space precedes the oat file, the target_offset into image space will 143 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument 163 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
|
H A D | relative_patcher_arm64_test.cc | 161 uint32_t target_offset, 169 CHECK_ALIGNED(target_offset, 4u); 171 uint32_t disp = target_offset - (adrp_offset & ~0xfffu); 200 uint32_t target_offset) { 201 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kLdrWInsn); 217 uint32_t target_offset = dex_cache_arrays_begin_ + element_offset; local 218 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); 224 uint32_t target_offset) { 225 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kAddXInsn); 290 uint32_t target_offset, 159 GenNopsAndAdrpAndUse(size_t num_nops, uint32_t method_offset, uint32_t target_offset, uint32_t use_insn) argument 198 GenNopsAndAdrpLdr(size_t num_nops, uint32_t method_offset, uint32_t target_offset) argument 222 GenNopsAndAdrpAdd(size_t num_nops, uint32_t method_offset, uint32_t target_offset) argument 288 TestNopsAdrpInsn2AndUse(size_t num_nops, uint32_t insn2, uint32_t target_offset, uint32_t use_insn) argument 298 TestNopsAdrpInsn2AndUseHasThunk(size_t num_nops, uint32_t insn2, uint32_t target_offset, uint32_t use_insn) argument 349 uint32_t target_offset = dex_cache_arrays_begin_ + element_offset; local [all...] |
/art/compiler/ |
H A D | oat_writer.cc | 1046 uint32_t target_offset = GetTargetOffset(patch); 1050 target_offset); 1054 uint32_t target_offset = GetDexCacheOffset(patch); 1058 target_offset); 1062 uint32_t target_offset = GetTargetObjectOffset(GetTargetString(patch)); 1066 target_offset); 1070 uint32_t target_offset = GetTargetOffset(patch); 1071 PatchCodeAddress(&patched_code_, literal_offset, target_offset); 1138 uint32_t target_offset = writer_->relative_patcher_->GetOffset(patch.TargetMethod()); 1141 if (UNLIKELY(target_offset [all...] |