Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLocal.cpp490 BlockSet BBPreds(pred_begin(BB), pred_end(BB)); in CanPropagatePredecessorsForPHIs() local
497 if (BBPreds.count(P)) in CanPropagatePredecessorsForPHIs()
597 const SmallVector<BasicBlock*, 16> BBPreds(pred_begin(BB), pred_end(BB)); in TryToSimplifyUncondBranchFromEmptyBlock() local
619 for (unsigned i = 0, e = BBPreds.size(); i != e; ++i) in TryToSimplifyUncondBranchFromEmptyBlock()
620 PN->addIncoming(OldVal, BBPreds[i]); in TryToSimplifyUncondBranchFromEmptyBlock()
/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/lib/Transforms/Scalar/
DCodeGenPrepare.cpp251 SmallPtrSet<const BasicBlock*, 16> BBPreds; in CanMergeBlocks() local
255 BBPreds.insert(BBPN->getIncomingBlock(i)); in CanMergeBlocks()
257 BBPreds.insert(pred_begin(BB), pred_end(BB)); in CanMergeBlocks()
263 if (BBPreds.count(Pred)) { // Common predecessor? in CanMergeBlocks()
/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()