Home
last modified time | relevance | path

Searched refs:BBPreds (Results 1 – 4 of 4) 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/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()