Lines Matching refs:getSuccessor
212 BasicBlock *Succ = BI->getSuccessor(0); in runOnFunction()
633 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc); in GetBestDestForJumpOnUndef()
637 TestBB = BBTerm->getSuccessor(i); in GetBestDestForJumpOnUndef()
728 BBTerm->getSuccessor(i)->removePredecessor(BB, true); in ProcessBlock()
733 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in ProcessBlock()
791 CondBr->getSuccessor(ToRemove)->removePredecessor(BB, true); in ProcessBlock()
792 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in ProcessBlock()
808 CondBr->getSuccessor(ToRemove)->removePredecessor(BB, true); in ProcessBlock()
809 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in ProcessBlock()
1107 TI->getSuccessor(i)) == SamePopularity.end()) in FindMostPopularDest()
1110 MostPopularDest = TI->getSuccessor(i); in FindMostPopularDest()
1167 DestBB = BI->getSuccessor(cast<ConstantInt>(Val)->isZero()); in ProcessThreadableEdges()
1210 if (PredTI->getSuccessor(i) == BB) in ProcessThreadableEdges()
1218 getSuccessor(GetBestDestForJumpOnUndef(BB)); in ProcessThreadableEdges()
1515 if (PredTerm->getSuccessor(i) == BB) { in ThreadEdge()
1619 AddPHINodeEntriesForMappedBlock(BBBranch->getSuccessor(0), BB, PredBB, in DuplicateCondBranchOnPHIIntoPred()
1621 AddPHINodeEntriesForMappedBlock(BBBranch->getSuccessor(1), BB, PredBB, in DuplicateCondBranchOnPHIIntoPred()