Searched refs:CommonPred (Results 1 – 3 of 3) sorted by relevance
1019 BasicBlock *&CommonPred) { in CanRedirectPredsOfEmptyBBToSucc() argument1038 if (CommonPred) in CanRedirectPredsOfEmptyBBToSucc()1040 CommonPred = SuccPred; in CanRedirectPredsOfEmptyBBToSucc()1085 BasicBlock *CommonPred) { in redirectValuesFromPredecessorsToPhi() argument1114 if (PredBB == CommonPred) in redirectValuesFromPredecessorsToPhi()1125 if (CommonPred) in redirectValuesFromPredecessorsToPhi()1126 PN->addIncoming(OldValPN->getIncomingValueForBlock(CommonPred), BB); in redirectValuesFromPredecessorsToPhi()1132 if (PredBB == CommonPred) in redirectValuesFromPredecessorsToPhi()1142 if (CommonPred) in redirectValuesFromPredecessorsToPhi()1162 BasicBlock *CommonPred = nullptr; in TryToSimplifyUncondBranchFromEmptyBlock() local[all …]
1736 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() local1737 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()1741 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition()
1790 BasicBlock *CommonPred = *KillingBlocks.begin(); in getDomMemoryDef() local1792 if (!CommonPred) in getDomMemoryDef()1794 CommonPred = PDT.findNearestCommonDominator(CommonPred, BB); in getDomMemoryDef()1800 if (!PDT.dominates(CommonPred, MaybeDeadAccess->getBlock())) { in getDomMemoryDef()1806 CommonPred = nullptr; in getDomMemoryDef()1810 if (KillingBlocks.count(CommonPred)) in getDomMemoryDef()1816 if (CommonPred) in getDomMemoryDef()1817 WorkList.insert(CommonPred); in getDomMemoryDef()