Lines Matching defs:Preds
980 void llvm::createPHIsForSplitLoopExit(ArrayRef<BasicBlock *> Preds,
1000 PHINode *NewPN = PHINode::Create(PN.getType(), Preds.size(), "split");
1005 for (BasicBlock *BB : Preds)
1146 ArrayRef<BasicBlock *> Preds,
1164 Updates.reserve(Updates.size() + 2 * Preds.size());
1165 for (auto *Pred : Preds)
1184 MSSAU->wireOldPredecessorsToNewImmediatePredecessor(OldBB, NewBB, Preds);
1199 for (BasicBlock *Pred : Preds) {
1200 // Preds that are not reachable from entry should not be used to identify if
1233 for (BasicBlock *Pred : Preds) {
1260 ArrayRef<BasicBlock *> Preds, BranchInst *BI,
1263 SmallPtrSet<BasicBlock *, 16> PredSet(Preds.begin(), Preds.end());
1271 InVal = PN->getIncomingValueForBlock(Preds[0]);
1304 PHINode::Create(PN->getType(), Preds.size(), PN->getName() + ".ph", BI->getIterator());
1323 BasicBlock *OrigBB, ArrayRef<BasicBlock *> Preds, const char *Suffix1,
1329 SplitBlockPredecessorsImpl(BasicBlock *BB, ArrayRef<BasicBlock *> Preds,
1343 SplitLandingPadPredecessorsImpl(BB, Preds, Suffix, NewName.c_str(), NewBBs,
1372 // Move the edges from Preds to point to NewBB instead of BB.
1373 for (BasicBlock *Pred : Preds) {
1383 // node becomes an incoming value for BB's phi node. However, if the Preds
1386 if (Preds.empty()) {
1394 UpdateAnalysisInformation(BB, NewBB, Preds, DTU, DT, LI, MSSAU, PreserveLCSSA,
1397 if (!Preds.empty()) {
1399 UpdatePHINodes(BB, NewBB, Preds, BI, HasLoopExit);
1419 ArrayRef<BasicBlock *> Preds,
1423 return SplitBlockPredecessorsImpl(BB, Preds, Suffix, /*DTU=*/nullptr, DT, LI,
1427 ArrayRef<BasicBlock *> Preds,
1432 return SplitBlockPredecessorsImpl(BB, Preds, Suffix, DTU,
1437 BasicBlock *OrigBB, ArrayRef<BasicBlock *> Preds, const char *Suffix1,
1443 // Create a new basic block for OrigBB's predecessors listed in Preds. Insert
1454 // Move the edges from Preds to point to NewBB1 instead of OrigBB.
1455 for (BasicBlock *Pred : Preds) {
1465 UpdateAnalysisInformation(OrigBB, NewBB1, Preds, DTU, DT, LI, MSSAU,
1469 UpdatePHINodes(OrigBB, NewBB1, Preds, BI1, HasLoopExit);
1539 ArrayRef<BasicBlock *> Preds,
1545 return SplitLandingPadPredecessorsImpl(OrigBB, Preds, Suffix1, Suffix2,