Lines Matching refs:upper
72 void BuildLoop(int32_t lower, HInstruction* upper, int32_t stride) { in BuildLoop() argument
94 condition_ = new (&allocator_) HLessThan(phi, upper); // i < u in BuildLoop()
96 condition_ = new (&allocator_) HGreaterThan(phi, upper); // i > u in BuildLoop()
647 HInstruction* upper = nullptr; in TEST_F() local
660 increment_, condition_->InputAt(0), graph_, loop_preheader_, &lower, &upper); in TEST_F()
671 ASSERT_TRUE(upper != nullptr); in TEST_F()
672 ASSERT_TRUE(upper->IsAdd()); in TEST_F()
673 ASSERT_TRUE(upper->InputAt(0)->IsSub()); in TEST_F()
674 EXPECT_TRUE(upper->InputAt(0)->InputAt(0)->IsParameterValue()); in TEST_F()
675 ASSERT_TRUE(upper->InputAt(0)->InputAt(1)->IsIntConstant()); in TEST_F()
676 EXPECT_EQ(1, upper->InputAt(0)->InputAt(1)->AsIntConstant()->GetValue()); in TEST_F()
677 ASSERT_TRUE(upper->InputAt(1)->IsIntConstant()); in TEST_F()
678 EXPECT_EQ(0, upper->InputAt(1)->AsIntConstant()->GetValue()); in TEST_F()
717 HInstruction* upper = nullptr; in TEST_F() local
730 increment_, condition_->InputAt(0), graph_, loop_preheader_, &lower, &upper); in TEST_F()
748 ASSERT_TRUE(upper != nullptr); in TEST_F()
749 ASSERT_TRUE(upper->IsSub()); in TEST_F()
750 ASSERT_TRUE(upper->InputAt(0)->IsIntConstant()); in TEST_F()
751 EXPECT_EQ(1000, upper->InputAt(0)->AsIntConstant()->GetValue()); in TEST_F()
752 ASSERT_TRUE(upper->InputAt(1)->IsIntConstant()); in TEST_F()
753 EXPECT_EQ(0, upper->InputAt(1)->AsIntConstant()->GetValue()); in TEST_F()