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

References

lib/Transforms/Scalar/LoopFuse.cpp
 1351     assert(FC0.GuardBranch && FC1.GuardBranch && "Expecting guarded loops");
 1353     BasicBlock *FC0GuardBlock = FC0.GuardBranch->getParent();
 1355     BasicBlock *FC0NonLoopBlock = FC0.getNonLoopBlock();
 1370     FC0.GuardBranch->replaceUsesOfWith(FC0NonLoopBlock, FC1NonLoopBlock);
 1371     FC0.ExitBlock->getTerminator()->replaceUsesOfWith(FC1GuardBlock,
 1405     if (FC0.ExitingBlock != FC0.Latch)
 1405     if (FC0.ExitingBlock != FC0.Latch)
 1406       for (PHINode &PHI : FC0.Header->phis())
 1412     FC1.Preheader->replaceSuccessorsPhiUsesWith(FC0.Preheader);
 1413     FC0.Latch->replaceSuccessorsPhiUsesWith(FC1.Latch);
 1428     FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock,
 1428     FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock,
 1432         DominatorTree::Delete, FC0.ExitingBlock, FC0.ExitBlock));
 1432         DominatorTree::Delete, FC0.ExitingBlock, FC0.ExitBlock));
 1434         DominatorTree::Insert, FC0.ExitingBlock, FC1.Header));
 1443     assert(pred_begin(FC0.ExitBlock) == pred_end(FC0.ExitBlock) &&
 1443     assert(pred_begin(FC0.ExitBlock) == pred_end(FC0.ExitBlock) &&
 1445     FC0.ExitBlock->getTerminator()->eraseFromParent();
 1446     new UnreachableInst(FC0.ExitBlock->getContext(), FC0.ExitBlock);
 1446     new UnreachableInst(FC0.ExitBlock->getContext(), FC0.ExitBlock);
 1461         PHI->moveBefore(&*FC0.Header->getFirstInsertionPt());
 1480       L1HeaderPHI->addIncoming(LCV, FC0.Latch);
 1482                                FC0.ExitingBlock);
 1490     FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header);
 1490     FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header);
 1491     FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header);
 1495     if (FC0.Latch != FC0.ExitingBlock)
 1495     if (FC0.Latch != FC0.ExitingBlock)
 1497           DominatorTree::Insert, FC0.Latch, FC1.Header));
 1500                                                        FC0.Latch, FC0.Header));
 1500                                                        FC0.Latch, FC0.Header));
 1502                                                        FC1.Latch, FC0.Header));
 1519     DTU.deleteBB(FC0.ExitBlock);
 1525     SE.forgetLoop(FC0.L);
 1531       FC0.L->addBlockEntry(BB);
 1535       LI.changeLoopFor(BB, FC0.L);
 1541       FC0.L->addChildLoop(ChildLoop);
 1548     assert(!verifyFunction(*FC0.Header->getParent(), &errs()));
 1557     return FC0.L;