Lines Matching refs:CondBr
150 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in updatePredecessorProfileMetadata() local
151 if (!CondBr) in updatePredecessorProfileMetadata()
155 if (!extractBranchWeights(*CondBr, TrueWeight, FalseWeight)) in updatePredecessorProfileMetadata()
2138 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in maybethreadThroughTwoBasicBlocks() local
2139 if (!CondBr) in maybethreadThroughTwoBasicBlocks()
2213 BasicBlock *SuccBB = CondBr->getSuccessor(PredPredBB == ZeroPred); in maybethreadThroughTwoBasicBlocks()
2272 BranchInst *CondBr = cast<BranchInst>(BB->getTerminator()); in threadThroughTwoBasicBlocks() local
2315 {{DominatorTree::Insert, NewBB, CondBr->getSuccessor(0)}, in threadThroughTwoBasicBlocks()
2316 {DominatorTree::Insert, NewBB, CondBr->getSuccessor(1)}, in threadThroughTwoBasicBlocks()
2855 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in tryToUnfoldSelect() local
2859 if (!CondBr || !CondBr->isConditional() || !CondLHS || in tryToUnfoldSelect()