Lines Matching refs:loop1

545   HLoopInformation* loop1 = loop1_header->GetLoopInformation();  in TEST_F()  local
550 EXPECT_TRUE(loop1->Contains(*loop2_header)); in TEST_F()
551 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
552 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
557 EXPECT_TRUE(loop1->IsIn(*loop1)); in TEST_F()
558 EXPECT_TRUE(loop2->IsIn(*loop1)); in TEST_F()
559 EXPECT_TRUE(loop3->IsIn(*loop1)); in TEST_F()
561 EXPECT_TRUE(!loop4->IsIn(*loop1)); in TEST_F()
612 HLoopInformation* loop1 = loop1_header->GetLoopInformation(); in TEST_F() local
616 EXPECT_TRUE(loop1->Contains(*loop3_long_exit)); in TEST_F()
618 EXPECT_EQ(helper.GetRegionToBeAdjusted(), loop1); in TEST_F()
620 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
621 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
674 static HLoopInformation* FindCommonLoopCheck(HLoopInformation* loop1, HLoopInformation* loop2) { in FindCommonLoopCheck() argument
675 HLoopInformation* common_loop12 = FindCommonLoop(loop1, loop2); in FindCommonLoopCheck()
676 HLoopInformation* common_loop21 = FindCommonLoop(loop2, loop1); in FindCommonLoopCheck()
714 HLoopInformation* loop1 = loop1_header->GetLoopInformation(); in TEST_F() local
720 EXPECT_TRUE(loop1->IsIn(*loop1)); in TEST_F()
721 EXPECT_TRUE(loop2->IsIn(*loop1)); in TEST_F()
722 EXPECT_TRUE(loop3->IsIn(*loop1)); in TEST_F()
724 EXPECT_TRUE(loop4->IsIn(*loop1)); in TEST_F()
726 EXPECT_FALSE(loop5->IsIn(*loop1)); in TEST_F()
730 EXPECT_EQ(loop1->GetPreHeader()->GetLoopInformation(), nullptr); in TEST_F()
731 EXPECT_EQ(loop4->GetPreHeader()->GetLoopInformation(), loop1); in TEST_F()
736 EXPECT_EQ(FindCommonLoopCheck(loop1, loop1), loop1); in TEST_F()
737 EXPECT_EQ(FindCommonLoopCheck(loop1, loop2), loop1); in TEST_F()
738 EXPECT_EQ(FindCommonLoopCheck(loop1, loop3), loop1); in TEST_F()
739 EXPECT_EQ(FindCommonLoopCheck(loop1, loop4), loop1); in TEST_F()
740 EXPECT_EQ(FindCommonLoopCheck(loop1, loop5), nullptr); in TEST_F()
743 EXPECT_EQ(FindCommonLoopCheck(loop2, loop4), loop1); in TEST_F()
746 EXPECT_EQ(FindCommonLoopCheck(loop3, loop4), loop1); in TEST_F()