Home
last modified time | relevance | path

Searched refs:CommonPred (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1631 BasicBlock *CommonPred = *KillingBlocks.begin(); in getDomMemoryDef() local
1633 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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp1021 BasicBlock *&CommonPred) { in CanRedirectPredsOfEmptyBBToSucc() argument
1034 if (CommonPred) in CanRedirectPredsOfEmptyBBToSucc()
1036 CommonPred = SuccPred; in CanRedirectPredsOfEmptyBBToSucc()
1054 BasicBlock *CommonPred) { in redirectValuesFromPredecessorsToPhi() argument
1083 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 …]
H A DBasicBlockUtils.cpp1875 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() local
1876 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
1880 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition()