Searched refs:CommonPred (Results 1 – 3 of 3) sorted by relevance
1631 BasicBlock *CommonPred = *KillingBlocks.begin(); in getDomMemoryDef() local1633 if (!CommonPred) in getDomMemoryDef()1635 CommonPred = PDT.findNearestCommonDominator(CommonPred, BB); in getDomMemoryDef()1641 if (!PDT.dominates(CommonPred, MaybeDeadAccess->getBlock())) { in getDomMemoryDef()1647 CommonPred = nullptr; in getDomMemoryDef()1651 if (KillingBlocks.count(CommonPred)) in getDomMemoryDef()1657 if (CommonPred) in getDomMemoryDef()1658 WorkList.insert(CommonPred); in getDomMemoryDef()
1021 BasicBlock *&CommonPred) { in CanRedirectPredsOfEmptyBBToSucc() argument1034 if (CommonPred) in CanRedirectPredsOfEmptyBBToSucc()1036 CommonPred = SuccPred; in CanRedirectPredsOfEmptyBBToSucc()1054 BasicBlock *CommonPred) { in redirectValuesFromPredecessorsToPhi() argument1083 if (PredBB == CommonPred) in redirectValuesFromPredecessorsToPhi()1094 if (CommonPred) in redirectValuesFromPredecessorsToPhi()1095 PN->addIncoming(OldValPN->getIncomingValueForBlock(CommonPred), BB); in redirectValuesFromPredecessorsToPhi()1101 if (PredBB == CommonPred) in redirectValuesFromPredecessorsToPhi()1111 if (CommonPred) in redirectValuesFromPredecessorsToPhi()1132 BasicBlock *CommonPred = nullptr; in TryToSimplifyUncondBranchFromEmptyBlock() local[all …]
1875 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() local1876 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()1880 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition()