Searched refs:patch_offset (Results 1 - 20 of 20) sorted by relevance

/art/compiler/linker/x86_64/
H A Drelative_patcher_x86_64.cc27 uint32_t patch_offset,
31 uint32_t displacement = target_offset - patch_offset;
40 uint32_t patch_offset ATTRIBUTE_UNUSED) {
25 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
H A Drelative_patcher_x86_64.h31 uint32_t patch_offset,
35 uint32_t patch_offset) OVERRIDE;
/art/compiler/linker/x86/
H A Drelative_patcher_x86.h31 uint32_t patch_offset,
35 uint32_t patch_offset) OVERRIDE;
H A Drelative_patcher_x86_base.cc46 uint32_t patch_offset,
50 uint32_t displacement = target_offset - patch_offset;
44 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument
H A Drelative_patcher_x86.cc27 uint32_t patch_offset,
52 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset;
62 uint32_t patch_offset ATTRIBUTE_UNUSED) {
25 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
H A Drelative_patcher_x86_base.h34 uint32_t patch_offset,
/art/dex2oat/linker/
H A Dmulti_oat_relative_patcher.h97 uint32_t patch_offset,
99 patch_offset += adjustment_;
101 relative_patcher_->PatchCall(code, literal_offset, patch_offset, target_offset);
107 uint32_t patch_offset,
109 patch_offset += adjustment_;
111 relative_patcher_->PatchPcRelativeReference(code, patch, patch_offset, target_offset);
116 uint32_t patch_offset) {
117 patch_offset += adjustment_;
118 relative_patcher_->PatchBakerReadBarrierBranch(code, patch, patch_offset);
95 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument
105 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
114 PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset) argument
H A Dmulti_oat_relative_patcher_test.cc81 uint32_t patch_offset,
84 last_patch_offset_ = patch_offset;
90 uint32_t patch_offset,
93 last_patch_offset_ = patch_offset;
99 uint32_t patch_offset ATTRIBUTE_UNUSED) {
/art/compiler/linker/mips64/
H A Drelative_patcher_mips64.h36 uint32_t patch_offset,
40 uint32_t patch_offset,
44 uint32_t patch_offset) OVERRIDE;
H A Drelative_patcher_mips64.cc43 uint32_t patch_offset ATTRIBUTE_UNUSED,
50 uint32_t patch_offset,
68 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset;
89 uint32_t patch_offset ATTRIBUTE_UNUSED) {
48 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
/art/compiler/linker/mips/
H A Drelative_patcher_mips.cc43 uint32_t patch_offset ATTRIBUTE_UNUSED,
50 uint32_t patch_offset,
74 uint32_t anchor_offset = patch_offset - literal_offset + anchor_literal_offset;
91 uint32_t patch_offset ATTRIBUTE_UNUSED) {
48 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
H A Drelative_patcher_mips.h38 uint32_t patch_offset,
42 uint32_t patch_offset,
46 uint32_t patch_offset) OVERRIDE;
/art/compiler/linker/arm/
H A Drelative_patcher_arm_base.cc334 uint32_t ArmBaseRelativePatcher::CalculateMethodCallDisplacement(uint32_t patch_offset, argument
338 uint32_t displacement = target_offset - patch_offset;
345 method_call_thunk_->GetPendingOffset() > patch_offset);
347 method_call_thunk_->GetPendingOffset() - patch_offset <= max_positive_displacement) {
348 displacement = method_call_thunk_->GetPendingOffset() - patch_offset;
352 DCHECK_LT(method_call_thunk_->LastWrittenOffset(), patch_offset);
353 displacement = method_call_thunk_->LastWrittenOffset() - patch_offset;
360 uint32_t ArmBaseRelativePatcher::GetThunkTargetOffset(const ThunkKey& key, uint32_t patch_offset) { argument
366 DCHECK_LT(offset, patch_offset);
367 if (patch_offset
393 uint32_t patch_offset = code_offset + patch.LiteralOffset(); local
468 uint32_t patch_offset = unprocessed_method_call_patches_.front().GetPatchOffset(); local
515 CalculateMaxNextOffset(uint32_t patch_offset, const ThunkKey& key) argument
[all...]
H A Drelative_patcher_arm_base.h92 uint32_t GetThunkTargetOffset(const ThunkKey& key, uint32_t patch_offset);
94 uint32_t CalculateMethodCallDisplacement(uint32_t patch_offset,
110 uint32_t CalculateMaxNextOffset(uint32_t patch_offset, const ThunkKey& key);
123 UnprocessedMethodCallPatch(uint32_t patch_offset, MethodReference target_method) argument
124 : patch_offset_(patch_offset), target_method_(target_method) { }
H A Drelative_patcher_thumb2.h75 uint32_t patch_offset,
79 uint32_t patch_offset,
83 uint32_t patch_offset) OVERRIDE;
H A Drelative_patcher_thumb2.cc57 uint32_t patch_offset,
61 DCHECK_EQ(patch_offset & 1u, 0u);
63 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u);
85 uint32_t patch_offset,
89 uint32_t pc_base = patch_offset + (pc_literal_offset - literal_offset) + 4u /* PC adjustment */;
105 uint32_t patch_offset) {
106 DCHECK_ALIGNED(patch_offset, 2u);
169 uint32_t target_offset = GetThunkTargetOffset(key, patch_offset);
171 uint32_t disp = target_offset - (patch_offset + kPcDisplacement);
55 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument
83 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
103 PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset) argument
/art/compiler/linker/
H A Drelative_patcher.h108 uint32_t patch_offset,
114 uint32_t patch_offset,
120 uint32_t patch_offset) = 0;
H A Drelative_patcher.cc67 uint32_t patch_offset ATTRIBUTE_UNUSED,
74 uint32_t patch_offset ATTRIBUTE_UNUSED,
81 uint32_t patch_offset ATTRIBUTE_UNUSED) {
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64.h67 uint32_t patch_offset,
71 uint32_t patch_offset,
75 uint32_t patch_offset) OVERRIDE;
112 uint32_t patch_offset);
120 // Map original patch_offset to thunk offset.
H A Drelative_patcher_arm64.cc137 uint32_t patch_offset = quick_code_offset + patch.LiteralOffset(); local
138 if (NeedsErratum843419Thunk(code, patch.LiteralOffset(), patch_offset)) {
139 adrp_thunk_locations_.emplace_back(patch_offset, thunk_offset);
191 uint32_t patch_offset, uint32_t
195 DCHECK_EQ(patch_offset & 3u, 0u);
197 uint32_t displacement = CalculateMethodCallDisplacement(patch_offset, target_offset & ~1u);
211 uint32_t patch_offset,
213 DCHECK_EQ(patch_offset & 3u, 0u);
218 uint32_t disp = target_offset - ((patch_offset - literal_offset + pc_insn_offset) & ~0xfffu);
226 adrp_thunk_locations_[processed_adrp_thunks_].first == patch_offset) {
189 PatchCall(std::vector<uint8_t>* code, uint32_t literal_offset, uint32_t patch_offset, uint32_t target_offset) argument
209 PatchPcRelativeReference(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset, uint32_t target_offset) argument
308 PatchBakerReadBarrierBranch(std::vector<uint8_t>* code, const LinkerPatch& patch, uint32_t patch_offset) argument
606 NeedsErratum843419Thunk(ArrayRef<const uint8_t> code, uint32_t literal_offset, uint32_t patch_offset) argument
[all...]

Completed in 159 milliseconds