reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Scalar/LoopFuse.cpp
  216     return Preheader && Header && ExitingBlock && ExitBlock && Latch && L &&
  229     assert(Latch == L->getLoopLatch() && "Latch is out of sync");
  262     assert(Latch && "Expecting latch to be valid.");
  263     return L->isLoopExiting(Latch);
  277            << "\tLatch: " << (Latch ? Latch->getName() : "nullptr") << "\n"
  277            << "\tLatch: " << (Latch ? Latch->getName() : "nullptr") << "\n"
  298       if (!Latch)
 1172     if (FC0.ExitingBlock != FC0.Latch)
 1178     FC0.Latch->replaceSuccessorsPhiUsesWith(FC1.Latch);
 1178     FC0.Latch->replaceSuccessorsPhiUsesWith(FC1.Latch);
 1230       int L1LatchBBIdx = LCPHI->getBasicBlockIndex(FC1.Latch);
 1238       L1HeaderPHI->addIncoming(LCV, FC0.Latch);
 1246     FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header);
 1247     FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header);
 1251     if (FC0.Latch != FC0.ExitingBlock)
 1253           DominatorTree::Insert, FC0.Latch, FC1.Header));
 1256                                                        FC0.Latch, FC0.Header));
 1258                                                        FC1.Latch, FC0.Header));
 1260                                                        FC1.Latch, FC1.Header));
 1405     if (FC0.ExitingBlock != FC0.Latch)
 1413     FC0.Latch->replaceSuccessorsPhiUsesWith(FC1.Latch);
 1413     FC0.Latch->replaceSuccessorsPhiUsesWith(FC1.Latch);
 1472       int L1LatchBBIdx = LCPHI->getBasicBlockIndex(FC1.Latch);
 1480       L1HeaderPHI->addIncoming(LCV, FC0.Latch);
 1490     FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header);
 1491     FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header);
 1495     if (FC0.Latch != FC0.ExitingBlock)
 1497           DominatorTree::Insert, FC0.Latch, FC1.Header));
 1500                                                        FC0.Latch, FC0.Header));
 1502                                                        FC1.Latch, FC0.Header));
 1504                                                        FC1.Latch, FC1.Header));