Lines Matching refs:LN
93 LoopNest LN(*L, SE); in TEST() local
94 EXPECT_TRUE(LN.areAllLoopsSimplifyForm()); in TEST()
97 const Loop &OL = LN.getOutermostLoop(); in TEST()
101 const Loop *IL = LN.getInnermostLoop(); in TEST()
106 const ArrayRef<Loop*> Loops = LN.getLoops(); in TEST()
110 LoopVectorTy LoopsAtDepth1 = LN.getLoopsAtDepth(1); in TEST()
113 LoopVectorTy LoopsAtDepth2 = LN.getLoopsAtDepth(2); in TEST()
119 EXPECT_EQ(LN.getLoop(LN.getLoopIndex(OL)), &OL); in TEST()
120 EXPECT_EQ(LN.getLoop(LN.getLoopIndex(*IL)), IL); in TEST()
123 const SmallVector<LoopVectorTy, 4> &PLV = LN.getPerfectLoops(SE); in TEST()
128 EXPECT_EQ(LN.getNestDepth(), 2u); in TEST()
129 EXPECT_EQ(LN.getMaxPerfectDepth(), 2u); in TEST()
131 EXPECT_TRUE(LN.getInterveningInstructions(OL, *IL, SE).empty()); in TEST()
189 LoopNest LN(*L, SE); in TEST() local
190 EXPECT_TRUE(LN.areAllLoopsSimplifyForm()); in TEST()
192 dbgs() << "LN: " << LN << "\n"; in TEST()
195 const Loop &OL = LN.getOutermostLoop(); in TEST()
199 const Loop *IL = LN.getInnermostLoop(); in TEST()
204 const ArrayRef<Loop*> Loops = LN.getLoops(); in TEST()
208 const SmallVector<LoopVectorTy, 4> &PLV = LN.getPerfectLoops(SE); in TEST()
214 EXPECT_EQ(LN.getNestDepth(), 3u); in TEST()
215 EXPECT_EQ(LN.getMaxPerfectDepth(), 2u); in TEST()
217 EXPECT_TRUE(LN.getInterveningInstructions(OL, *IL, SE).empty()); in TEST()
275 LoopNest LN(*L, SE); in TEST() local
276 EXPECT_TRUE(LN.areAllLoopsSimplifyForm()); in TEST()
279 const Loop &OL = LN.getOutermostLoop(); in TEST()
283 const Loop *IL = LN.getInnermostLoop(); in TEST()
288 const ArrayRef<Loop *> Loops = LN.getLoops(); in TEST()
292 const SmallVector<LoopVectorTy, 4> &PLV = LN.getPerfectLoops(SE); in TEST()
298 EXPECT_EQ(LN.getNestDepth(), 2u); in TEST()
299 EXPECT_EQ(LN.getMaxPerfectDepth(), 1u); in TEST()
303 LN.getInterveningInstructions(OL, *IL, SE); in TEST()