Lines Matching defs:Preds
981 void llvm::createPHIsForSplitLoopExit(ArrayRef<BasicBlock *> Preds,
1001 PHINode *NewPN = PHINode::Create(PN.getType(), Preds.size(), "split");
1006 for (BasicBlock *BB : Preds)
1147 ArrayRef<BasicBlock *> Preds,
1165 Updates.reserve(Updates.size() + 2 * Preds.size());
1166 for (auto *Pred : Preds)
1185 MSSAU->wireOldPredecessorsToNewImmediatePredecessor(OldBB, NewBB, Preds);
1200 for (BasicBlock *Pred : Preds) {
1201 // Preds that are not reachable from entry should not be used to identify if
1234 for (BasicBlock *Pred : Preds) {
1261 ArrayRef<BasicBlock *> Preds, BranchInst *BI,
1264 SmallPtrSet<BasicBlock *, 16> PredSet(Preds.begin(), Preds.end());
1272 InVal = PN->getIncomingValueForBlock(Preds[0]);
1305 PHINode::Create(PN->getType(), Preds.size(), PN->getName() + ".ph", BI->getIterator());
1324 BasicBlock *OrigBB, ArrayRef<BasicBlock *> Preds, const char *Suffix1,
1330 SplitBlockPredecessorsImpl(BasicBlock *BB, ArrayRef<BasicBlock *> Preds,
1344 SplitLandingPadPredecessorsImpl(BB, Preds, Suffix, NewName.c_str(), NewBBs,
1373 // Move the edges from Preds to point to NewBB instead of BB.
1374 for (BasicBlock *Pred : Preds) {
1384 // node becomes an incoming value for BB's phi node. However, if the Preds
1387 if (Preds.empty()) {
1395 UpdateAnalysisInformation(BB, NewBB, Preds, DTU, DT, LI, MSSAU, PreserveLCSSA,
1398 if (!Preds.empty()) {
1400 UpdatePHINodes(BB, NewBB, Preds, BI, HasLoopExit);
1420 ArrayRef<BasicBlock *> Preds,
1424 return SplitBlockPredecessorsImpl(BB, Preds, Suffix, /*DTU=*/nullptr, DT, LI,
1428 ArrayRef<BasicBlock *> Preds,
1433 return SplitBlockPredecessorsImpl(BB, Preds, Suffix, DTU,
1438 BasicBlock *OrigBB, ArrayRef<BasicBlock *> Preds, const char *Suffix1,
1444 // Create a new basic block for OrigBB's predecessors listed in Preds. Insert
1455 // Move the edges from Preds to point to NewBB1 instead of OrigBB.
1456 for (BasicBlock *Pred : Preds) {
1466 UpdateAnalysisInformation(OrigBB, NewBB1, Preds, DTU, DT, LI, MSSAU,
1470 UpdatePHINodes(OrigBB, NewBB1, Preds, BI1, HasLoopExit);
1540 ArrayRef<BasicBlock *> Preds,
1546 return SplitLandingPadPredecessorsImpl(OrigBB, Preds, Suffix1, Suffix2,