Searched refs:OnlyPred (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp68 BasicBlock *OnlyPred = BB->getSinglePredecessor(); local
69 if (!OnlyPred) return 0;
71 if (OnlyPred->getTerminator()->getNumSuccessors() != 1)
74 DEBUG(dbgs() << "Merging: " << *BB << "into: " << *OnlyPred); local
80 // OnlyPred to OnlySucc.
84 OnlyPred->getInstList().pop_back();
88 BB->replaceAllUsesWith(OnlyPred);
91 OnlyPred->getInstList().splice(OnlyPred->end(), BB->getInstList());
108 if (!OldName.empty() && !OnlyPred
[all...]
H A DSimplifyCFG.cpp3823 if (BasicBlock *OnlyPred = BB->getSinglePredecessor())
3824 if (SimplifyEqualityComparisonWithOnlyPredecessor(SI, OnlyPred, Builder))
3938 if (BasicBlock *OnlyPred = BB->getSinglePredecessor())
3939 if (SimplifyEqualityComparisonWithOnlyPredecessor(BI, OnlyPred, Builder))

Completed in 143 milliseconds