Lines Matching defs:CommonPred
1026 BasicBlock *&CommonPred) {
1045 if (CommonPred)
1047 CommonPred = SuccPred;
1088 /// \param CommonPred The common predecessor of BB and PN's BasicBlock
1092 BasicBlock *CommonPred) {
1121 if (PredBB == CommonPred)
1132 if (CommonPred)
1133 PN->addIncoming(OldValPN->getIncomingValueForBlock(CommonPred), BB);
1139 if (PredBB == CommonPred)
1149 if (CommonPred)
1169 BasicBlock *CommonPred = nullptr;
1176 BB, Succ, BBPreds, CommonPred);
1211 if (BBPhisMergeable && CommonPred)
1214 << CommonPred->getName() << "\n");
1313 // CommonPred.
1314 if (SeenPreds.insert(PredOfBB).second && PredOfBB != CommonPred)
1330 redirectValuesFromPredecessorsToPhi(BB, BBPreds, PN, CommonPred);
1373 // Everything except CommonPred that jumped to BB now goes to Succ.
1374 BB->replaceUsesWithIf(Succ, [BBPreds, CommonPred](Use &U) -> bool {
1376 return UseInst->getParent() != CommonPred &&