Home
last modified time | relevance | path

Searched refs:BBPreds (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLocal.cpp635 SmallPtrSet<BasicBlock*, 16> BBPreds(pred_begin(BB), pred_end(BB)); in CanPropagatePredecessorsForPHIs() local
649 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()
666 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()
759 const PredBlockVector &BBPreds, in redirectValuesFromPredecessorsToPhi() argument
797 for (unsigned i = 0, e = BBPreds.size(); i != e; ++i) { in redirectValuesFromPredecessorsToPhi()
800 BasicBlock *PredBB = BBPreds[i]; in redirectValuesFromPredecessorsToPhi()
863 const PredBlockVector BBPreds(pred_begin(BB), pred_end(BB)); in TryToSimplifyUncondBranchFromEmptyBlock() local
869 redirectValuesFromPredecessorsToPhi(BB, BBPreds, PN); in TryToSimplifyUncondBranchFromEmptyBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLocal.cpp762 SmallPtrSet<BasicBlock*, 16> BBPreds(pred_begin(BB), pred_end(BB)); in CanPropagatePredecessorsForPHIs() local
776 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()
794 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()
888 const PredBlockVector &BBPreds, in redirectValuesFromPredecessorsToPhi() argument
926 for (unsigned i = 0, e = BBPreds.size(); i != e; ++i) { in redirectValuesFromPredecessorsToPhi()
929 BasicBlock *PredBB = BBPreds[i]; in redirectValuesFromPredecessorsToPhi()
1006 const PredBlockVector BBPreds(pred_begin(BB), pred_end(BB)); in TryToSimplifyUncondBranchFromEmptyBlock() local
1012 redirectValuesFromPredecessorsToPhi(BB, BBPreds, PN); in TryToSimplifyUncondBranchFromEmptyBlock()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp463 SmallPtrSet<const BasicBlock*, 16> BBPreds; in canMergeBlocks() local
467 BBPreds.insert(BBPN->getIncomingBlock(i)); in canMergeBlocks()
469 BBPreds.insert(pred_begin(BB), pred_end(BB)); in canMergeBlocks()
475 if (BBPreds.count(Pred)) { // Common predecessor? in canMergeBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp741 SmallPtrSet<const BasicBlock*, 16> BBPreds; in canMergeBlocks() local
745 BBPreds.insert(BBPN->getIncomingBlock(i)); in canMergeBlocks()
747 BBPreds.insert(pred_begin(BB), pred_end(BB)); in canMergeBlocks()
753 if (BBPreds.count(Pred)) { // Common predecessor? in canMergeBlocks()