• Home
  • Raw
  • Download

Lines Matching refs:CondBr

220   BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());  in updatePredecessorProfileMetadata()  local
221 if (!CondBr) in updatePredecessorProfileMetadata()
225 if (!CondBr->extractProfMetadata(TrueWeight, FalseWeight)) in updatePredecessorProfileMetadata()
1134 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in processBlock() local
1136 if (CondBr && CondConst) { in processBlock()
1140 assert(CondBr->isConditional() && "Threading on unconditional terminator"); in processBlock()
1144 CondConst, CondBr); in processBlock()
1148 BasicBlock *ToRemoveSucc = CondBr->getSuccessor(ToRemove); in processBlock()
1151 BranchInst::Create(CondBr->getSuccessor(ToKeep), CondBr); in processBlock()
1152 UncondBr->setDebugLoc(CondBr->getDebugLoc()); in processBlock()
1153 CondBr->eraseFromParent(); in processBlock()
2110 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in maybethreadThroughTwoBasicBlocks() local
2111 if (!CondBr) in maybethreadThroughTwoBasicBlocks()
2181 BasicBlock *SuccBB = CondBr->getSuccessor(PredPredBB == ZeroPred); in maybethreadThroughTwoBasicBlocks()
2235 BranchInst *CondBr = cast<BranchInst>(BB->getTerminator()); in threadThroughTwoBasicBlocks() local
2276 {{DominatorTree::Insert, NewBB, CondBr->getSuccessor(0)}, in threadThroughTwoBasicBlocks()
2277 {DominatorTree::Insert, NewBB, CondBr->getSuccessor(1)}, in threadThroughTwoBasicBlocks()
2775 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); in tryToUnfoldSelect() local
2779 if (!CondBr || !CondBr->isConditional() || !CondLHS || in tryToUnfoldSelect()