reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1597 if (LoopHeaders.count(BB)) 1601 if (!ComputeValueKnownInPredecessors(Cond, BB, PredValues, Preference, CxtI)) 1607 LLVM_DEBUG(dbgs() << "IN BB: " << *BB; 1609 dbgs() << " BB '" << BB->getName() 1636 else if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) { 1639 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) { 1643 assert(isa<IndirectBrInst>(BB->getTerminator()) 1679 if (BB->hasNPredecessors(PredToDestList.size())) { 1682 Updates.reserve(BB->getTerminator()->getNumSuccessors() - 1); 1683 for (BasicBlock *SuccBB : successors(BB)) { 1687 SuccBB->removePredecessor(BB, true); // This is unreachable successor. 1688 Updates.push_back({DominatorTree::Delete, BB, SuccBB}); 1693 Instruction *Term = BB->getTerminator(); 1711 CondInst->getParent() == BB) 1736 MostPopularDest = FindMostPopularDest(BB, PredToDestList); 1750 if (Succ == BB) 1757 MostPopularDest = BB->getTerminator()-> 1758 getSuccessor(GetBestDestForJumpOnUndef(BB)); 1761 return ThreadEdge(BB, PredsToFactor, MostPopularDest);