Searched refs:patches (Results 1 - 22 of 22) sorted by relevance

/art/compiler/linker/mips64/
H A Drelative_patcher_mips64_test.cc43 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
60 void Mips64RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, argument
62 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
84 LinkerPatch patches[] = { local
89 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
/art/compiler/linker/mips/
H A Drelative_patcher_mips32r6_test.cc41 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
58 void Mips32r6RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, argument
60 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
82 LinkerPatch patches[] = { local
87 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
93 LinkerPatch patches[] = { local
98 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset);
H A Drelative_patcher_mips_test.cc42 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
61 void MipsRelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, argument
63 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
87 LinkerPatch patches[] = { local
92 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
98 LinkerPatch patches[] = { local
103 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset);
/art/compiler/linker/x86/
H A Drelative_patcher_x86_test.cc46 LinkerPatch patches[] = { local
49 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
92 LinkerPatch patches[] = { local
95 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
123 LinkerPatch patches[] = { local
126 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches));
155 LinkerPatch patches[] = { local
158 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches));
/art/compiler/linker/x86_64/
H A Drelative_patcher_x86_64_test.cc66 LinkerPatch patches[] = { local
69 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
112 LinkerPatch patches[] = { local
115 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
136 LinkerPatch patches[] = { local
139 AddCompiledMethod(MethodRef(1u), kDexCacheLoadCode, ArrayRef<const LinkerPatch>(patches));
159 LinkerPatch patches[] = { local
163 AddCompiledMethod(MethodRef(1u), kStringReferenceCode, ArrayRef<const LinkerPatch>(patches));
/art/compiler/
H A Dcompiled_method.cc111 const ArrayRef<const linker::LinkerPatch>& patches)
119 patches_(driver->GetCompiledMethodStorage()->DeduplicateLinkerPatches(patches)) {
132 const ArrayRef<const linker::LinkerPatch>& patches) {
144 cfi_info, patches);
102 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const uint8_t>& method_info, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const linker::LinkerPatch>& patches) argument
122 SwapAllocCompiledMethod( CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const uint8_t>& method_info, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& cfi_info, const ArrayRef<const linker::LinkerPatch>& patches) argument
H A Dcompiled_method.h121 const ArrayRef<const linker::LinkerPatch>& patches);
135 const ArrayRef<const linker::LinkerPatch>& patches);
192 // For quick code, linker patches needed by the method.
/art/compiler/linker/
H A Dlinker_patch_test.cc27 LinkerPatch patches[] = { local
152 constexpr size_t last_index = arraysize(patches) - 1u;
154 for (size_t i = 0; i != arraysize(patches); ++i) {
155 for (size_t j = 0; j != arraysize(patches); ++j) {
157 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j;
161 for (size_t i = 0; i != arraysize(patches); ++i) {
162 for (size_t j = 0; j != arraysize(patches); ++j) {
164 EXPECT_EQ(expected, patches[i] < patches[
[all...]
H A Drelative_patcher_test.h80 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) {
92 patches));
/art/compiler/linker/arm/
H A Drelative_patcher_thumb2_test.cc229 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
300 const LinkerPatch patches[] = { local
304 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset);
310 const LinkerPatch patches[] = { local
314 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset);
317 void Thumb2RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, argument
319 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches));
349 const LinkerPatch patches[] = { local
352 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
389 const LinkerPatch patches[] local
599 const LinkerPatch patches[] = { local
701 const LinkerPatch patches[] = { local
994 const LinkerPatch patches[] = { local
1075 const LinkerPatch patches[] = { local
1135 const LinkerPatch patches[] = { local
1181 std::vector<LinkerPatch> patches; local
[all...]
/art/compiler/driver/
H A Dcompiled_method_storage_test.cc78 ArrayRef<const linker::LinkerPatch> patches[] = { local
89 for (auto&& p : patches) {
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64_test.cc259 const LinkerPatch patches[] = { local
265 ArrayRef<const LinkerPatch>(patches));
284 const LinkerPatch patches[] = { local
290 ArrayRef<const LinkerPatch>(patches));
307 const LinkerPatch patches[] = { local
313 ArrayRef<const LinkerPatch>(patches));
322 const LinkerPatch patches[] = { local
328 ArrayRef<const LinkerPatch>(patches));
534 const LinkerPatch patches[] = { local
537 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
570 const LinkerPatch patches[] = { local
924 const LinkerPatch patches[] = { local
1171 const LinkerPatch patches[] = { local
1248 const LinkerPatch patches[] = { local
[all...]
/art/runtime/
H A Delf_file_impl.h128 static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
H A Delf_file.cc1393 // Apply LEB128 encoded patches to given section.
1396 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
1399 while (patches < patches_end) {
1400 to_patch += DecodeUnsignedLeb128(&patches);
1401 DCHECK_LE(patches, patches_end) << "Unexpected end of patch list.";
1395 ApplyOatPatches( const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, uint8_t* to_patch, const uint8_t* to_patch_end) argument
/art/compiler/optimizing/
H A Dcode_generator_mips.h398 // Emit linker patches.
583 // two patches/infos. There can be more than two patches/infos if the instruction supplying
604 // Label for the instruction corresponding to PC+0. Not bound or used in low half patches.
605 // Not bound in high half patches on R2 when using HMipsComputeBaseMethodAddress.
606 // Bound in high half patches on R2 when using the NAL instruction instead of
608 // Bound in high half patches on R6.
675 ArenaDeque<PcRelativePatchInfo>* patches);
H A Dcode_generator_mips64.h377 // Emit linker patches.
562 // two patches/infos. There can be more than two patches/infos if the instruction supplying
638 ArenaDeque<PcRelativePatchInfo>* patches);
H A Dcode_generator_arm64.h799 ArenaDeque<PcRelativePatchInfo>* patches);
H A Dcode_generator_arm_vixl.h568 // Target dex file or null for .data.bmig.rel.ro patches.
781 ArenaDeque<PcRelativePatchInfo>* patches);
H A Dcode_generator_arm64.cc4614 ArenaDeque<PcRelativePatchInfo>* patches) {
4616 patches->emplace_back(dex_file, offset_or_index);
4617 PcRelativePatchInfo* info = &patches->back();
4610 NewPcRelativePatch( const DexFile* dex_file, uint32_t offset_or_index, vixl::aarch64::Label* adrp_label, ArenaDeque<PcRelativePatchInfo>* patches) argument
H A Dcode_generator_arm_vixl.cc9034 const DexFile* dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) {
9035 patches->emplace_back(dex_file, offset_or_index);
9036 return &patches->back();
9033 NewPcRelativePatch( const DexFile* dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) argument
H A Dcode_generator_mips64.cc1592 ArenaDeque<PcRelativePatchInfo>* patches) {
1593 patches->emplace_back(dex_file, offset_or_index, info_high);
1594 return &patches->back();
1588 NewPcRelativePatch( const DexFile* dex_file, uint32_t offset_or_index, const PcRelativePatchInfo* info_high, ArenaDeque<PcRelativePatchInfo>* patches) argument
H A Dcode_generator_mips.cc1680 ArenaDeque<PcRelativePatchInfo>* patches) {
1681 patches->emplace_back(dex_file, offset_or_index, info_high);
1682 return &patches->back();
1676 NewPcRelativePatch( const DexFile* dex_file, uint32_t offset_or_index, const PcRelativePatchInfo* info_high, ArenaDeque<PcRelativePatchInfo>* patches) argument

Completed in 306 milliseconds