Home
last modified time | relevance | path

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

/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/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.cc102 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()
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()
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/
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()
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/
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.h104 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) {
112 patches));
/art/compiler/optimizing/
Dcode_generator_arm64.cc4835 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()
Dcode_generator_arm_vixl.h916 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm64.h1063 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm_vixl.cc9388 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()
Dcode_generator_x86_64.cc1205 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()
Dcode_generator_x86.cc5442 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()