Home
last modified time | relevance | path

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

/art/dex2oat/linker/mips/
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, in CheckPcRelativePatch() argument
60 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch()
82 LinkerPatch patches[] = { in TestStringBssEntry() local
87 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset); in TestStringBssEntry()
93 LinkerPatch patches[] = { in TestStringReference() local
98 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference()
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, in CheckPcRelativePatch() argument
63 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch()
87 LinkerPatch patches[] = { in TestStringBssEntry() local
92 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset); in TestStringBssEntry()
98 LinkerPatch patches[] = { in TestStringReference() local
103 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference()
/art/compiler/linker/
Dlinker_patch_test.cc27 LinkerPatch patches[] = { in TEST() local
152 constexpr size_t last_index = arraysize(patches) - 1u; in TEST()
154 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST()
155 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST()
157 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j; in TEST()
161 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST()
162 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST()
164 EXPECT_EQ(expected, patches[i] < patches[j]) << i << " " << j; in TEST()
/art/dex2oat/linker/mips64/
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, in CheckPcRelativePatch() argument
62 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch()
84 LinkerPatch patches[] = { in TestStringBssEntry() local
89 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset); in TestStringBssEntry()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc46 LinkerPatch patches[] = { in TEST_F() local
49 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
92 LinkerPatch patches[] = { in TEST_F() local
95 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
123 LinkerPatch patches[] = { in TEST_F() local
126 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
155 LinkerPatch patches[] = { in TEST_F() local
158 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc66 LinkerPatch patches[] = { in TEST_F() local
69 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
112 LinkerPatch patches[] = { in TEST_F() local
115 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
136 LinkerPatch patches[] = { in TEST_F() local
139 AddCompiledMethod(MethodRef(1u), kDexCacheLoadCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
159 LinkerPatch patches[] = { in TEST_F() local
163 AddCompiledMethod(MethodRef(1u), kStringReferenceCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
/art/compiler/
Dcompiled_method.cc106 const ArrayRef<const linker::LinkerPatch>& patches) in CompiledMethod() argument
110 patches_(storage->DeduplicateLinkerPatches(patches)) { in CompiledMethod()
119 const ArrayRef<const linker::LinkerPatch>& patches) { in SwapAllocCompiledMethod() argument
127 cfi_info, patches); in SwapAllocCompiledMethod()
Dcompiled_method.h116 const ArrayRef<const linker::LinkerPatch>& patches);
126 const ArrayRef<const linker::LinkerPatch>& patches);
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc223 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) { in AddCompiledMethod() argument
224 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
227 for (const LinkerPatch& patch : patches) { in AddCompiledMethod()
276 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
358 const LinkerPatch patches[] = { in TestStringBssEntry() local
362 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset); in TestStringBssEntry()
368 const LinkerPatch patches[] = { in TestStringReference() local
372 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference()
375 void Thumb2RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, in CheckPcRelativePatch() argument
377 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch()
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc196 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) { in AddCompiledMethod() argument
197 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
200 for (const LinkerPatch& patch : patches) { in AddCompiledMethod()
300 const LinkerPatch patches[] = { in TestNopsAdrpLdr() local
306 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpLdr()
325 const LinkerPatch patches[] = { in TestNopsAdrpAdd() local
331 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpAdd()
348 const LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Ldr() local
354 ArrayRef<const LinkerPatch>(patches)); in PrepareNopsAdrpInsn2Ldr()
363 const LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Add() local
[all …]
/art/compiler/driver/
Dcompiled_method_storage_test.cc56 ArrayRef<const linker::LinkerPatch> patches[] = { in TEST() local
66 for (auto&& p : patches) { in TEST()
/art/dex2oat/linker/
Drelative_patcher_test.h105 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) {
113 patches));
/art/runtime/
Delf_file_impl.h130 static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
Delf_file.cc1418 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, in ApplyOatPatches() argument
1421 while (patches < patches_end) { in ApplyOatPatches()
1422 to_patch += DecodeUnsignedLeb128(&patches); in ApplyOatPatches()
1423 DCHECK_LE(patches, patches_end) << "Unexpected end of patch list."; in ApplyOatPatches()
/art/compiler/optimizing/
Dcode_generator_mips64.h647 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_mips.h685 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm64.h871 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm_vixl.h855 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm64.cc4291 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
4293 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch()
4294 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
Dcode_generator_mips64.cc1641 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
1642 patches->emplace_back(dex_file, offset_or_index, info_high); in NewPcRelativePatch()
1643 return &patches->back(); in NewPcRelativePatch()
Dcode_generator_arm_vixl.cc8865 const DexFile* dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
8866 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch()
8867 return &patches->back(); in NewPcRelativePatch()
Dcode_generator_mips.cc1714 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
1715 patches->emplace_back(dex_file, offset_or_index, info_high); in NewPcRelativePatch()
1716 return &patches->back(); in NewPcRelativePatch()