• Home
  • Raw
  • Download

Lines Matching refs:BranchInst

217       BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());  in runImpl()
739 if (BranchInst *BI = dyn_cast<BranchInst>(Terminator)) { in ProcessBlock()
780 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in ProcessBlock()
812 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in ProcessBlock()
822 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in ProcessBlock()
870 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in ProcessBlock()
876 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) in ProcessBlock()
888 auto *BI = dyn_cast<BranchInst>(BB->getTerminator()); in ProcessImpliedCondition()
900 auto *PBI = dyn_cast<BranchInst>(CurrentPred->getTerminator()); in ProcessImpliedCondition()
911 BranchInst::Create(BI->getSuccessor(*Implication ? 0 : 1), BI); in ProcessImpliedCondition()
1219 else if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) in ProcessThreadableEdges()
1294 if (BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator())) in ProcessBranchOnPHI()
1522 BranchInst *NewBI = BranchInst::Create(SuccBB, NewBB); in ThreadEdge()
1719 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()
1723 OldPredBranch = cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()
1768 BranchInst *BBBranch = cast<BranchInst>(BB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()
1836 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in TryToUnfoldSelect()
1853 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator()); in TryToUnfoldSelect()
1884 BranchInst::Create(NewBB, BB, SI->getCondition(), Pred); in TryToUnfoldSelect()