Lines Matching refs:getTerminator
803 WorkList.emplace_back(Pred->getTerminator()); in peelFusionCandidate()
918 *FC0->Preheader->getTerminator(), DT, &PDT, in fuseCandidates()
942 *FC0->GuardBranch->getParent()->getTerminator(), DT, &PDT, in fuseCandidates()
1274 BranchInst *FCLatchBranch = dyn_cast<BranchInst>(FC.Latch->getTerminator()); in simplifyLatchBranch()
1385 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC1.Preheader, in performFusion()
1396 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock, in performFusion()
1400 FC0.ExitBlock->getTerminator()->eraseFromParent(); in performFusion()
1408 FC1.Preheader->getTerminator()->eraseFromParent(); in performFusion()
1445 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header); in performFusion()
1446 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header); in performFusion()
1602 BBToUpdate->getTerminator()->replaceUsesOfWith(FC1GuardBlock, FC1.Header); in fuseGuardedLoops()
1621 FC0ExitBlockSuccessor->getTerminator()->eraseFromParent(); in fuseGuardedLoops()
1667 FC0.ExitingBlock->getTerminator()->replaceUsesOfWith(FC0.ExitBlock, in fuseGuardedLoops()
1683 FC0.ExitBlock->getTerminator()->eraseFromParent(); in fuseGuardedLoops()
1689 FC1.Preheader->getTerminator()->eraseFromParent(); in fuseGuardedLoops()
1728 FC0.Latch->getTerminator()->replaceUsesOfWith(FC0.Header, FC1.Header); in fuseGuardedLoops()
1729 FC1.Latch->getTerminator()->replaceUsesOfWith(FC1.Header, FC0.Header); in fuseGuardedLoops()