Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLocal.cpp620 SmallPtrSet<BasicBlock*, 16> BBPreds(pred_begin(BB), pred_end(BB)); in CanPropagatePredecessorsForPHIs() local
634 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()
651 if (BBPreds.count(IBB) && in CanPropagatePredecessorsForPHIs()
744 const PredBlockVector &BBPreds, in redirectValuesFromPredecessorsToPhi() argument
782 for (unsigned i = 0, e = BBPreds.size(); i != e; ++i) { in redirectValuesFromPredecessorsToPhi()
785 BasicBlock *PredBB = BBPreds[i]; in redirectValuesFromPredecessorsToPhi()
848 const PredBlockVector BBPreds(pred_begin(BB), pred_end(BB)); in TryToSimplifyUncondBranchFromEmptyBlock() local
854 redirectValuesFromPredecessorsToPhi(BB, BBPreds, PN); in TryToSimplifyUncondBranchFromEmptyBlock()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp430 SmallPtrSet<const BasicBlock*, 16> BBPreds; in canMergeBlocks() local
434 BBPreds.insert(BBPN->getIncomingBlock(i)); in canMergeBlocks()
436 BBPreds.insert(pred_begin(BB), pred_end(BB)); in canMergeBlocks()
442 if (BBPreds.count(Pred)) { // Common predecessor? in canMergeBlocks()