Home
last modified time | relevance | path

Searched refs:VPLI (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/unittests/Transforms/Vectorize/
DVPlanLoopInfoTest.cpp48 VPLoopInfo VPLI; in TEST_F() local
49 VPLI.analyze(VPDT); in TEST_F()
61 EXPECT_EQ(1, std::distance(VPLI.begin(), VPLI.end())); in TEST_F()
62 VPLoop *VPLp = *VPLI.begin(); in TEST_F()
66 EXPECT_EQ(nullptr, VPLI.getLoopFor(PH)); in TEST_F()
68 EXPECT_EQ(VPLp, VPLI.getLoopFor(H)); in TEST_F()
70 EXPECT_EQ(VPLp, VPLI.getLoopFor(IfThen)); in TEST_F()
72 EXPECT_EQ(VPLp, VPLI.getLoopFor(IfElse)); in TEST_F()
74 EXPECT_EQ(VPLp, VPLI.getLoopFor(Latch)); in TEST_F()
76 EXPECT_EQ(nullptr, VPLI.getLoopFor(Exit)); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanPredicator.cpp156 if (VPBlockUtils::isBackEdge(PredBlock, CurrBlock, VPLI)) in createOrPropagatePredicates()
161 VPBlockUtils::countSuccessorsNoBE(PredBlock, VPLI); in createOrPropagatePredicates()
218 if (PrevBlock && !VPLI->isLoopHeader(CurrBlock) && in linearizeRegionRec()
219 !VPBlockUtils::blockIsLoopLatch(PrevBlock, VPLI)) { in linearizeRegionRec()
243 : Plan(Plan), VPLI(&(Plan.getVPLoopInfo())) { in VPlanPredicator()
DVPlanPredicator.h35 VPLoopInfo *VPLI; variable
DVPlan.h1603 const VPBlockBase *ToBlock, const VPLoopInfo *VPLI) {
1606 const VPLoop *FromLoop = VPLI->getLoopFor(FromBlock);
1607 const VPLoop *ToLoop = VPLI->getLoopFor(ToBlock);
1627 VPLoopInfo *VPLI) {
1630 if (!VPBlockUtils::isBackEdge(PredBlock, SuccBlock, VPLI))
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlanPredicator.cpp156 if (VPBlockUtils::isBackEdge(PredBlock, CurrBlock, VPLI)) in createOrPropagatePredicates()
161 VPBlockUtils::countSuccessorsNoBE(PredBlock, VPLI); in createOrPropagatePredicates()
218 if (PrevBlock && !VPLI->isLoopHeader(CurrBlock) && in linearizeRegionRec()
219 !VPBlockUtils::blockIsLoopLatch(PrevBlock, VPLI)) { in linearizeRegionRec()
243 : Plan(Plan), VPLI(&(Plan.getVPLoopInfo())) { in VPlanPredicator()
DVPlanPredicator.h35 VPLoopInfo *VPLI; variable
DVPlan.h1951 const VPBlockBase *ToBlock, const VPLoopInfo *VPLI) {
1954 const VPLoop *FromLoop = VPLI->getLoopFor(FromBlock);
1955 const VPLoop *ToLoop = VPLI->getLoopFor(ToBlock);
1975 VPLoopInfo *VPLI) {
1978 if (!VPBlockUtils::isBackEdge(PredBlock, SuccBlock, VPLI))