Lines Matching refs:LI
236 LoopInfo *LI = P->getAnalysisIfAvailable<LoopInfo>();
240 if (DT == 0 && LI == 0 && PI == 0)
299 if (LI) {
300 if (Loop *TIL = LI->getLoopFor(TIBB)) {
302 // either, and thus LI doesn't need to be updated.
303 if (Loop *DestLoop = LI->getLoopFor(DestBB)) {
306 DestLoop->addBasicBlockToLoop(NewBB, LI->getBase());
309 TIL->addBasicBlockToLoop(NewBB, LI->getBase());
312 DestLoop->addBasicBlockToLoop(NewBB, LI->getBase());
321 P->addBasicBlockToLoop(NewBB, LI->getBase());