Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1522 BasicBlock *CommonPred = *KillingBlocks.begin(); in getDomMemoryDef() local
1524 if (!CommonPred) in getDomMemoryDef()
1526 CommonPred = PDT.findNearestCommonDominator(CommonPred, BB); in getDomMemoryDef()
1532 if (!PDT.dominates(CommonPred, MaybeDeadAccess->getBlock())) { in getDomMemoryDef()
1538 CommonPred = nullptr; in getDomMemoryDef()
1542 if (KillingBlocks.count(CommonPred)) in getDomMemoryDef()
1548 if (CommonPred) in getDomMemoryDef()
1549 WorkList.insert(CommonPred); in getDomMemoryDef()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1558 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() local
1559 if (CommonPred == nullptr || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
1563 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator()); in GetIfCondition()