/art/dex2oat/linker/mips/ |
D | relative_patcher_mips32r6_test.cc | 41 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()
|
D | relative_patcher_mips_test.cc | 42 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/ |
D | linker_patch_test.cc | 27 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/ |
D | relative_patcher_mips64_test.cc | 43 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/ |
D | relative_patcher_x86_test.cc | 46 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/ |
D | relative_patcher_x86_64_test.cc | 66 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/ |
D | compiled_method.cc | 106 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()
|
D | compiled_method.h | 116 const ArrayRef<const linker::LinkerPatch>& patches); 126 const ArrayRef<const linker::LinkerPatch>& patches);
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 223 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/ |
D | relative_patcher_arm64_test.cc | 196 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/ |
D | compiled_method_storage_test.cc | 56 ArrayRef<const linker::LinkerPatch> patches[] = { in TEST() local 66 for (auto&& p : patches) { in TEST()
|
/art/dex2oat/linker/ |
D | relative_patcher_test.h | 105 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) { 113 patches));
|
/art/runtime/ |
D | elf_file_impl.h | 130 static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
|
D | elf_file.cc | 1418 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/ |
D | code_generator_mips64.h | 647 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_mips.h | 685 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.h | 871 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm_vixl.h | 855 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.cc | 4291 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 4293 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 4294 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
|
D | code_generator_mips64.cc | 1641 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()
|
D | code_generator_arm_vixl.cc | 8865 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()
|
D | code_generator_mips.cc | 1714 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()
|