/art/compiler/ |
D | compiled_method_test.cc | 52 LinkerPatch patches[] = { in TEST() local 103 constexpr size_t last_index = arraysize(patches) - 1u; in TEST() 105 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST() 106 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST() 108 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j; in TEST() 112 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST() 113 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST() 115 EXPECT_EQ(expected, patches[i] < patches[j]) << i << " " << j; in TEST()
|
D | compiled_method.cc | 111 const ArrayRef<const LinkerPatch>& patches) in CompiledMethod() argument 119 patches_(driver->GetCompiledMethodStorage()->DeduplicateLinkerPatches(patches)) { in CompiledMethod() 132 const ArrayRef<const LinkerPatch>& patches) { in SwapAllocCompiledMethod() argument 144 cfi_info, patches); in SwapAllocCompiledMethod()
|
D | compiled_method.h | 382 const ArrayRef<const LinkerPatch>& patches); 396 const ArrayRef<const LinkerPatch>& patches);
|
/art/compiler/linker/x86/ |
D | relative_patcher_x86_test.cc | 45 LinkerPatch patches[] = { in TEST_F() local 48 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F() 91 LinkerPatch patches[] = { in TEST_F() local 94 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F() 120 LinkerPatch patches[] = { in TEST_F() local 123 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F() 153 LinkerPatch patches[] = { in TEST_F() local 156 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
|
/art/compiler/linker/x86_64/ |
D | relative_patcher_x86_64_test.cc | 65 LinkerPatch patches[] = { in TEST_F() local 68 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F() 111 LinkerPatch patches[] = { in TEST_F() local 114 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F() 133 LinkerPatch patches[] = { in TEST_F() local 136 AddCompiledMethod(MethodRef(1u), kDexCacheLoadCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F() 157 LinkerPatch patches[] = { in TEST_F() local 161 AddCompiledMethod(MethodRef(1u), kStringReferenceCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
|
/art/compiler/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 131 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset); 158 LinkerPatch patches[] = { in TestDexCacheReference() local 162 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), in TestDexCacheReference() 169 LinkerPatch patches[] = { in TestStringReference() local 173 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference() 176 void Thumb2RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, in CheckPcRelativePatch() argument 178 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch() 208 LinkerPatch patches[] = { in TEST_F() local 211 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F() 248 LinkerPatch patches[] = { in TEST_F() local [all …]
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 207 LinkerPatch patches[] = { in TestNopsAdrpLdr() local 213 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpLdr() 232 LinkerPatch patches[] = { in TestNopsAdrpAdd() local 238 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpAdd() 263 LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Ldr() local 269 ArrayRef<const LinkerPatch>(patches)); in PrepareNopsAdrpInsn2Ldr() 278 LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Add() local 284 ArrayRef<const LinkerPatch>(patches)); in PrepareNopsAdrpInsn2Add() 457 LinkerPatch patches[] = { in TEST_F() local 460 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F() [all …]
|
/art/compiler/driver/ |
D | compiled_method_storage_test.cc | 85 ArrayRef<const LinkerPatch> patches[] = { in TEST() local 96 for (auto&& p : patches) { in TEST()
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 86 const ArrayRef<const LinkerPatch>& patches) { in AddCompiledMethod() argument 98 patches)); in AddCompiledMethod()
|
/art/runtime/ |
D | elf_file_impl.h | 132 static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
|
D | elf_file.cc | 1383 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, in ApplyOatPatches() argument 1386 while (patches < patches_end) { in ApplyOatPatches() 1387 to_patch += DecodeUnsignedLeb128(&patches); in ApplyOatPatches() 1388 DCHECK_LE(patches, patches_end) << "Unexpected end of patch list."; in ApplyOatPatches()
|
/art/compiler/optimizing/ |
D | code_generator_arm.h | 546 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.h | 616 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.cc | 3772 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 3774 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 3775 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
|
D | code_generator_arm.cc | 6457 const DexFile& dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 6458 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 6459 return &patches->back(); in NewPcRelativePatch()
|