Lines Matching defs:ParentLoop
132 static void reconnectChildLoops(LoopInfo &LI, Loop *ParentLoop, Loop *NewLoop,
134 auto &CandidateLoops = ParentLoop ? ParentLoop->getSubLoopsVector()
181 Loop *ParentLoop = LI.getLoopFor(CycleHeader);
182 if (ParentLoop && ParentLoop->getHeader() == CycleHeader)
183 ParentLoop = ParentLoop->getParentLoop();
187 if (ParentLoop) {
188 ParentLoop->addChildLoop(NewLoop);
205 if (LI.getLoopFor(BB) == ParentLoop) {
216 reconnectChildLoops(LI, ParentLoop, NewLoop, C.getHeader());
220 if (ParentLoop) {
221 LLVM_DEBUG(dbgs() << "Verify parent loop.\n"; ParentLoop->print(dbgs()));
222 ParentLoop->verifyLoop();