Searched refs:BBPreds (Results 1 – 2 of 2) sorted by relevance
865 const SmallPtrSetImpl<BasicBlock *> &BBPreds) { in CanPropagatePredecessorsForPHIs() argument887 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()905 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()1018 const SmallPtrSetImpl<BasicBlock *> &BBPreds, in CanRedirectPredsOfEmptyBBToSucc() argument1029 if (any_of(BBPreds, [](const BasicBlock *Pred) { in CanRedirectPredsOfEmptyBBToSucc()1037 if (BBPreds.count(SuccPred)) { in CanRedirectPredsOfEmptyBBToSucc()1083 const PredBlockVector &BBPreds, in redirectValuesFromPredecessorsToPhi() argument1129 for (BasicBlock *PredBB : BBPreds) { in redirectValuesFromPredecessorsToPhi()1159 SmallPtrSet<BasicBlock *, 16> BBPreds(llvm::from_range, predecessors(BB)); in TryToSimplifyUncondBranchFromEmptyBlock() local1164 bool BBKillable = CanPropagatePredecessorsForPHIs(BB, Succ, BBPreds); in TryToSimplifyUncondBranchFromEmptyBlock()[all …]
1075 SmallPtrSet<const BasicBlock *, 16> BBPreds; in canMergeBlocks() local1079 BBPreds.insert(BBPN->getIncomingBlock(i)); in canMergeBlocks()1081 BBPreds.insert_range(predecessors(BB)); in canMergeBlocks()1087 if (BBPreds.count(Pred)) { // Common predecessor? in canMergeBlocks()