reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
997 if (DTU->isBBPendingDeletion(BB) || 998 (pred_empty(BB) && BB != &BB->getParent()->getEntryBlock())) 998 (pred_empty(BB) && BB != &BB->getParent()->getEntryBlock())) 998 (pred_empty(BB) && BB != &BB->getParent()->getEntryBlock())) 1005 if (BasicBlock *SinglePred = BB->getSinglePredecessor()) { 1008 SinglePred != BB && !hasAddressTakenAndUsed(BB)) { 1008 SinglePred != BB && !hasAddressTakenAndUsed(BB)) { 1011 LoopHeaders.insert(BB); 1014 MergeBasicBlockIntoOnlyPred(BB, DTU); 1043 if (!isGuaranteedToTransferExecutionToSuccessor(BB)) 1044 LVI->eraseBlock(BB); 1049 if (TryToUnfoldSelectInCurrBB(BB)) 1053 if (HasGuards && ProcessGuards(BB)) 1062 Instruction *Terminator = BB->getTerminator(); 1082 ConstantFoldInstruction(I, BB->getModule()->getDataLayout(), TLI); 1094 unsigned BestSucc = GetBestDestForJumpOnUndef(BB); 1098 Instruction *BBTerm = BB->getTerminator(); 1103 Succ->removePredecessor(BB, true); 1104 Updates.push_back({DominatorTree::Delete, BB, Succ}); 1107 LLVM_DEBUG(dbgs() << " In block '" << BB->getName() 1119 LLVM_DEBUG(dbgs() << " In block '" << BB->getName() 1120 << "' folding terminator: " << *BB->getTerminator() 1123 ConstantFoldTerminator(BB, true, nullptr, DTU); 1132 if (ProcessThreadableEdges(Condition, BB, Preference, Terminator)) 1142 BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator()); 1161 ToRemoveSucc->removePredecessor(BB, true); 1175 else if (CondCmp->getParent() == BB) { 1182 {{DominatorTree::Delete, BB, ToRemoveSucc}}); 1188 if (TryToUnfoldSelect(CondCmp, BB)) 1193 if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) 1194 if (TryToUnfoldSelect(SI, BB)) 1214 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator())) 1214 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator())) 1215 updatePredecessorProfileMetadata(PN, BB); 1220 if (ProcessThreadableEdges(CondInst, BB, Preference, Terminator)) 1226 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator())) 1226 if (PN->getParent() == BB && isa<BranchInst>(BB->getTerminator())) 1231 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) 1231 CondInst->getParent() == BB && isa<BranchInst>(BB->getTerminator())) 1236 if (ProcessImpliedCondition(BB))