Home
last modified time | relevance | path

Searched refs:info2 (Results 1 – 9 of 9) sorted by relevance

/art/libartservice/service/javatests/com/android/server/art/
DDumpHelperTest.java259 var info2 = mock(CheckedSecondaryDexInfo.class); in setUpForFoo() local
260 lenient().when(info2.dexPath()).thenReturn("/data/user_de/0/foo/2.apk"); in setUpForFoo()
261 lenient().when(info2.displayClassLoaderContext()).thenReturn("PCL[]"); in setUpForFoo()
269 .when(info2.loaders()) in setUpForFoo()
271 lenient().when(info2.fileVisibility()).thenReturn(FileVisibility.OTHER_READABLE); in setUpForFoo()
274 .doReturn(List.of(info1, info2)) in setUpForFoo()
/art/profman/
Dprofile_assistant_test.cc437 ProfileCompilationInfo info2; in CheckCompilationMethodPercentChange() local
439 reference_profile, &info2); in CheckCompilationMethodPercentChange()
467 ProfileCompilationInfo info2; in CheckCompilationClassPercentChange() local
468 SetupProfile(dex1_x, dex2_x, 0, classes_in_ref_profile, reference_profile, &info2); in CheckCompilationClassPercentChange()
494 ProfileCompilationInfo info2; in TEST_F() local
495 SetupProfile(dex3, dex4, kNumberOfMethodsToEnableCompilation, 0, profile2, &info2); in TEST_F()
505 ASSERT_TRUE(expected.MergeWith(info2)); in TEST_F()
510 CheckProfileInfo(profile2, info2); in TEST_F()
565 ProfileCompilationInfo info2; in TEST_F() local
566 SetupProfile(dex3, dex4, kNumberOfMethodsToEnableCompilation, 0, profile2, &info2); in TEST_F()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc216 ProfileCompilationInfo info2; in TEST_F() local
217 ASSERT_TRUE(info2.Load(profile.GetFilename(), /*clear_if_invalid=*/false)); in TEST_F()
218 ASSERT_EQ(info2.GetNumberOfMethods(), main_methods.size() + second_methods.size()); in TEST_F()
222 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
227 Hotness h = info2.GetMethodHotness(MethodReference(m->GetDexFile(), m->GetDexMethodIndex())); in TEST_F()
/art/compiler/optimizing/
Dinduction_var_range.h267 HInductionVarAnalysis::InductionInfo* info2,
273 HInductionVarAnalysis::InductionInfo* info2,
279 HInductionVarAnalysis::InductionInfo* info2) const;
283 HInductionVarAnalysis::InductionInfo* info2) const;
Dinduction_var_range.cc848 HInductionVarAnalysis::InductionInfo* info2, in GetMul() argument
854 return MulRangeAndConstant(context, loop, value, info2, trip, is_min); in GetMul()
855 } else if (IsConstant(context, loop, info2, kExact, &value)) { in GetMul()
861 Value v2_min = GetVal(context, loop, info2, trip, /*is_min=*/ true); in GetMul()
862 Value v2_max = GetVal(context, loop, info2, trip, /*is_min=*/ false); in GetMul()
885 HInductionVarAnalysis::InductionInfo* info2, in GetDiv() argument
890 if (IsConstant(context, loop, info2, kExact, &value)) { in GetDiv()
896 Value v2_min = GetVal(context, loop, info2, trip, /*is_min=*/ true); in GetDiv()
897 Value v2_max = GetVal(context, loop, info2, trip, /*is_min=*/ false); in GetDiv()
921 HInductionVarAnalysis::InductionInfo* info2) const { in GetRem()
[all …]
Dinduction_var_analysis.cc1500 InductionInfo* info2) { in InductionEqual() argument
1502 if (info1 != nullptr && info2 != nullptr) { in InductionEqual()
1504 info1->induction_class == info2->induction_class && in InductionEqual()
1505 info1->operation == info2->operation && in InductionEqual()
1506 info1->fetch == info2->fetch && in InductionEqual()
1507 info1->type == info2->type && in InductionEqual()
1508 InductionEqual(info1->op_a, info2->op_a) && in InductionEqual()
1509 InductionEqual(info1->op_b, info2->op_b); in InductionEqual()
1512 return info1 == info2; in InductionEqual()
Dinduction_var_range_test.cc291 HInductionVarAnalysis::InductionInfo* info2, in GetMul() argument
296 return range_.GetMul(context, &loop, info1, info2, nullptr, is_min); in GetMul()
300 HInductionVarAnalysis::InductionInfo* info2, in GetDiv() argument
305 return range_.GetDiv(context, &loop, info1, info2, nullptr, is_min); in GetDiv()
309 HInductionVarAnalysis::InductionInfo* info2) { in GetRem() argument
313 return range_.GetRem(context, &loop, info1, info2); in GetRem()
317 HInductionVarAnalysis::InductionInfo* info2) { in GetXor() argument
321 return range_.GetXor(context, &loop, info1, info2); in GetXor()
Dinduction_var_analysis.h309 static bool InductionEqual(InductionInfo* info1, InductionInfo* info2);
/art/libprofile/profile/
Dprofile_compilation_info_test.cc334 ProfileCompilationInfo info2; in TEST_F() local
335 ASSERT_TRUE(AddMethod(&info2, dex1_checksum_missmatch, /*method_idx=*/ 2)); in TEST_F()
337 ASSERT_FALSE(info1.MergeWith(info2)); in TEST_F()
347 ProfileCompilationInfo info2; in TEST_F() local
348 ASSERT_TRUE(AddMethod(&info2, dex1_checksum_missmatch, /*method_idx=*/ 2)); in TEST_F()
353 ASSERT_FALSE(info2.Load(profile.GetFd())); in TEST_F()
1390 ProfileCompilationInfo info2(/*for_boot_image=*/ true); in TEST_F() local
1395 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1402 AddMethod(&info2, dex1, 1, static_cast<Hotness::Flag>(1 << index)); in TEST_F()
1405 ASSERT_TRUE(info1.MergeWith(info2)); in TEST_F()
[all …]