/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/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 | 102 const ArrayRef<const linker::LinkerPatch>& patches) in CompiledMethod() argument 106 patches_(storage->DeduplicateLinkerPatches(patches)) { in CompiledMethod() 115 const ArrayRef<const linker::LinkerPatch>& patches) { in SwapAllocCompiledMethod() argument 123 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() 277 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset); 359 const LinkerPatch patches[] = { in TestStringBssEntry() local 363 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset); in TestStringBssEntry() 369 const LinkerPatch patches[] = { in TestStringReference() local 373 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference() 376 void Thumb2RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, in CheckPcRelativePatch() argument 378 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() 301 const LinkerPatch patches[] = { in TestNopsAdrpLdr() local 307 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpLdr() 326 const LinkerPatch patches[] = { in TestNopsAdrpAdd() local 332 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpAdd() 349 const LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Ldr() local 355 ArrayRef<const LinkerPatch>(patches)); in PrepareNopsAdrpInsn2Ldr() 364 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 | 104 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) { 112 patches));
|
/art/compiler/optimizing/ |
D | code_generator_arm64.cc | 4835 ArenaDeque<PcRelativePatchInfo>* patches = nullptr; in NewBssEntryTypePatch() local 4838 patches = &type_bss_entry_patches_; in NewBssEntryTypePatch() 4841 patches = &public_type_bss_entry_patches_; in NewBssEntryTypePatch() 4844 patches = &package_type_bss_entry_patches_; in NewBssEntryTypePatch() 4850 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, patches); in NewBssEntryTypePatch() 4902 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 4904 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 4905 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
|
D | code_generator_arm_vixl.h | 916 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.h | 1063 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm_vixl.cc | 9388 ArenaDeque<PcRelativePatchInfo>* patches = nullptr; in NewTypeBssEntryPatch() local 9391 patches = &type_bss_entry_patches_; in NewTypeBssEntryPatch() 9394 patches = &public_type_bss_entry_patches_; in NewTypeBssEntryPatch() 9397 patches = &package_type_bss_entry_patches_; in NewTypeBssEntryPatch() 9403 return NewPcRelativePatch(&dex_file, type_index.index_, patches); in NewTypeBssEntryPatch() 9417 const DexFile* dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 9418 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 9419 return &patches->back(); in NewPcRelativePatch()
|
D | code_generator_x86_64.cc | 1205 ArenaDeque<PatchInfo<Label>>* patches = nullptr; in NewTypeBssEntryPatch() local 1208 patches = &type_bss_entry_patches_; in NewTypeBssEntryPatch() 1211 patches = &public_type_bss_entry_patches_; in NewTypeBssEntryPatch() 1214 patches = &package_type_bss_entry_patches_; in NewTypeBssEntryPatch() 1220 patches->emplace_back(&load_class->GetDexFile(), load_class->GetTypeIndex().index_); in NewTypeBssEntryPatch() 1221 return &patches->back().label; in NewTypeBssEntryPatch()
|
D | code_generator_x86.cc | 5442 ArenaDeque<X86PcRelativePatchInfo>* patches = nullptr; in NewTypeBssEntryPatch() local 5445 patches = &type_bss_entry_patches_; in NewTypeBssEntryPatch() 5448 patches = &public_type_bss_entry_patches_; in NewTypeBssEntryPatch() 5451 patches = &package_type_bss_entry_patches_; in NewTypeBssEntryPatch() 5457 patches->emplace_back( in NewTypeBssEntryPatch() 5459 return &patches->back().label; in NewTypeBssEntryPatch()
|