Lines Matching refs:loop1
537 HLoopInformation* loop1 = loop1_header->GetLoopInformation(); in TEST_F() local
542 EXPECT_TRUE(loop1->Contains(*loop2_header)); in TEST_F()
543 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
544 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
549 EXPECT_TRUE(loop1->IsIn(*loop1)); in TEST_F()
550 EXPECT_TRUE(loop2->IsIn(*loop1)); in TEST_F()
551 EXPECT_TRUE(loop3->IsIn(*loop1)); in TEST_F()
553 EXPECT_TRUE(!loop4->IsIn(*loop1)); in TEST_F()
604 HLoopInformation* loop1 = loop1_header->GetLoopInformation(); in TEST_F() local
608 EXPECT_TRUE(loop1->Contains(*loop3_long_exit)); in TEST_F()
610 EXPECT_EQ(helper.GetRegionToBeAdjusted(), loop1); in TEST_F()
612 EXPECT_TRUE(loop1->Contains(*loop3_header)); in TEST_F()
613 EXPECT_TRUE(loop1->Contains(*loop3_header->GetLoopInformation()->GetPreHeader())); in TEST_F()
666 static HLoopInformation* FindCommonLoopCheck(HLoopInformation* loop1, HLoopInformation* loop2) { in FindCommonLoopCheck() argument
667 HLoopInformation* common_loop12 = FindCommonLoop(loop1, loop2); in FindCommonLoopCheck()
668 HLoopInformation* common_loop21 = FindCommonLoop(loop2, loop1); in FindCommonLoopCheck()
706 HLoopInformation* loop1 = loop1_header->GetLoopInformation(); in TEST_F() local
712 EXPECT_TRUE(loop1->IsIn(*loop1)); in TEST_F()
713 EXPECT_TRUE(loop2->IsIn(*loop1)); in TEST_F()
714 EXPECT_TRUE(loop3->IsIn(*loop1)); in TEST_F()
716 EXPECT_TRUE(loop4->IsIn(*loop1)); in TEST_F()
718 EXPECT_FALSE(loop5->IsIn(*loop1)); in TEST_F()
722 EXPECT_EQ(loop1->GetPreHeader()->GetLoopInformation(), nullptr); in TEST_F()
723 EXPECT_EQ(loop4->GetPreHeader()->GetLoopInformation(), loop1); in TEST_F()
728 EXPECT_EQ(FindCommonLoopCheck(loop1, loop1), loop1); in TEST_F()
729 EXPECT_EQ(FindCommonLoopCheck(loop1, loop2), loop1); in TEST_F()
730 EXPECT_EQ(FindCommonLoopCheck(loop1, loop3), loop1); in TEST_F()
731 EXPECT_EQ(FindCommonLoopCheck(loop1, loop4), loop1); in TEST_F()
732 EXPECT_EQ(FindCommonLoopCheck(loop1, loop5), nullptr); in TEST_F()
735 EXPECT_EQ(FindCommonLoopCheck(loop2, loop4), loop1); in TEST_F()
738 EXPECT_EQ(FindCommonLoopCheck(loop3, loop4), loop1); in TEST_F()