/art/compiler/linker/ |
D | linker_patch_test.cc | 28 LinkerPatch patches[] = { in TEST() local 153 constexpr size_t last_index = arraysize(patches) - 1u; in TEST() 155 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST() 156 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST() 158 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j; in TEST() 162 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST() 163 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST() 165 EXPECT_EQ(expected, patches[i] < patches[j]) << i << " " << j; in TEST()
|
/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/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/driver/ |
D | compiled_method.cc | 66 const ArrayRef<const linker::LinkerPatch>& patches) in CompiledMethod() argument 70 patches_(storage->DeduplicateLinkerPatches(patches)) { in CompiledMethod() 79 const ArrayRef<const linker::LinkerPatch>& patches) { in SwapAllocCompiledMethod() argument 87 cfi_info, patches); in SwapAllocCompiledMethod()
|
D | compiled_method_storage_test.cc | 56 ArrayRef<const linker::LinkerPatch> patches[] = { in TEST() local 66 for (auto&& p : patches) { in TEST()
|
D | compiled_method.h | 110 const ArrayRef<const linker::LinkerPatch>& patches); 120 const ArrayRef<const linker::LinkerPatch>& patches);
|
D | compiled_method_storage.cc | 261 ArrayRef<const linker::LinkerPatch> patches, in CreateCompiledMethod() argument 264 this, instruction_set, code, stack_map, cfi, patches); in CreateCompiledMethod()
|
D | compiled_method_storage.h | 77 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_code_storage.h | 48 ArrayRef<const linker::LinkerPatch> patches,
|
/art/compiler/ |
D | common_compiler_test.cc | 137 ArrayRef<const linker::LinkerPatch> patches, in CreateCompiledMethod() argument 149 CHECK(patches.empty()) << "Linker patches are unsupported for compiler gtests."; in CreateCompiledMethod()
|
/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 | 5016 ArenaDeque<PcRelativePatchInfo>* patches = nullptr; in NewBssEntryTypePatch() local 5019 patches = &type_bss_entry_patches_; in NewBssEntryTypePatch() 5022 patches = &public_type_bss_entry_patches_; in NewBssEntryTypePatch() 5025 patches = &package_type_bss_entry_patches_; in NewBssEntryTypePatch() 5031 return NewPcRelativePatch(&dex_file, type_index.index_, adrp_label, patches); in NewBssEntryTypePatch() 5083 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 5085 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 5086 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
|
D | code_generator_arm_vixl.h | 980 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.h | 1108 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_x86_64.cc | 1280 ArenaDeque<PatchInfo<Label>>* patches = nullptr; in NewTypeBssEntryPatch() local 1283 patches = &type_bss_entry_patches_; in NewTypeBssEntryPatch() 1286 patches = &public_type_bss_entry_patches_; in NewTypeBssEntryPatch() 1289 patches = &package_type_bss_entry_patches_; in NewTypeBssEntryPatch() 1295 patches->emplace_back(&load_class->GetDexFile(), load_class->GetTypeIndex().index_); in NewTypeBssEntryPatch() 1296 return &patches->back().label; in NewTypeBssEntryPatch()
|
D | code_generator_arm_vixl.cc | 9555 ArenaDeque<PcRelativePatchInfo>* patches = nullptr; in NewTypeBssEntryPatch() local 9558 patches = &type_bss_entry_patches_; in NewTypeBssEntryPatch() 9561 patches = &public_type_bss_entry_patches_; in NewTypeBssEntryPatch() 9564 patches = &package_type_bss_entry_patches_; in NewTypeBssEntryPatch() 9570 return NewPcRelativePatch(&dex_file, type_index.index_, patches); in NewTypeBssEntryPatch() 9584 const DexFile* dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 9585 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 9586 return &patches->back(); in NewPcRelativePatch()
|
D | code_generator_x86.cc | 5605 ArenaDeque<X86PcRelativePatchInfo>* patches = nullptr; in NewTypeBssEntryPatch() local 5608 patches = &type_bss_entry_patches_; in NewTypeBssEntryPatch() 5611 patches = &public_type_bss_entry_patches_; in NewTypeBssEntryPatch() 5614 patches = &package_type_bss_entry_patches_; in NewTypeBssEntryPatch() 5620 patches->emplace_back( in NewTypeBssEntryPatch() 5622 return &patches->back().label; in NewTypeBssEntryPatch()
|