Lines Matching refs:CreateTripCount
162 HInductionVarAnalysis::InductionInfo* CreateTripCount(int32_t tc, bool in_loop, bool safe) { in CreateTripCount() function in art::InductionVarRangeTest
172 return iva_->CreateTripCount(op, in CreateTripCount()
361 EXPECT_FALSE(IsBodyTripCount(CreateTripCount(100, true, true))); in TEST_F()
362 EXPECT_FALSE(IsBodyTripCount(CreateTripCount(100, true, false))); in TEST_F()
363 EXPECT_TRUE(IsBodyTripCount(CreateTripCount(100, false, true))); in TEST_F()
364 EXPECT_TRUE(IsBodyTripCount(CreateTripCount(100, false, false))); in TEST_F()
367 EXPECT_FALSE(IsUnsafeTripCount(CreateTripCount(100, true, true))); in TEST_F()
368 EXPECT_TRUE(IsUnsafeTripCount(CreateTripCount(100, true, false))); in TEST_F()
369 EXPECT_FALSE(IsUnsafeTripCount(CreateTripCount(100, false, true))); in TEST_F()
370 EXPECT_TRUE(IsUnsafeTripCount(CreateTripCount(100, false, false))); in TEST_F()
450 ExpectEqual(Value(20), GetMin(CreateLinear(10, 20), CreateTripCount(100, true, true))); in TEST_F()
451 ExpectEqual(Value(1010), GetMax(CreateLinear(10, 20), CreateTripCount(100, true, true))); in TEST_F()
452 ExpectEqual(Value(-970), GetMin(CreateLinear(-10, 20), CreateTripCount(100, true, true))); in TEST_F()
453 ExpectEqual(Value(20), GetMax(CreateLinear(-10, 20), CreateTripCount(100, true, true))); in TEST_F()
468 ExpectEqual(Value(7), GetMin(CreatePolynomial(3, 5, 7), CreateTripCount(5, true, true))); in TEST_F()
469 ExpectEqual(Value(45), GetMax(CreatePolynomial(3, 5, 7), CreateTripCount(5, true, true))); in TEST_F()
470 ExpectEqual(Value(7), GetMin(CreatePolynomial(3, 5, 7), CreateTripCount(10, true, true))); in TEST_F()
471 ExpectEqual(Value(160), GetMax(CreatePolynomial(3, 5, 7), CreateTripCount(10, true, true))); in TEST_F()
473 CreateTripCount(5, true, true))); in TEST_F()
475 CreateTripCount(5, true, true))); in TEST_F()
477 CreateTripCount(10, true, true))); in TEST_F()
479 CreateTripCount(10, true, true))); in TEST_F()
480 ExpectEqual(Value(), GetMin(CreatePolynomial(-3, 5, 7), CreateTripCount(10, true, true))); in TEST_F()
481 ExpectEqual(Value(), GetMax(CreatePolynomial(-3, 5, 7), CreateTripCount(10, true, true))); in TEST_F()
482 ExpectEqual(Value(), GetMin(CreatePolynomial(3, -5, 7), CreateTripCount(10, true, true))); in TEST_F()
483 ExpectEqual(Value(), GetMax(CreatePolynomial(3, -5, 7), CreateTripCount(10, true, true))); in TEST_F()