Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2098 BranchInst *TermBr = dyn_cast<BranchInst>(ExitingBlock->getTerminator()); in OptimizeLoopTermCond() local
2099 if (!TermBr) in OptimizeLoopTermCond()
2102 if (TermBr->isUnconditional() || !isa<ICmpInst>(TermBr->getCondition())) in OptimizeLoopTermCond()
2107 ICmpInst *Cond = cast<ICmpInst>(TermBr->getCondition()); in OptimizeLoopTermCond()
2179 if (&*++BasicBlock::iterator(Cond) != TermBr) { in OptimizeLoopTermCond()
2181 Cond->moveBefore(TermBr); in OptimizeLoopTermCond()
2187 ExitingBlock->getInstList().insert(TermBr->getIterator(), Cond); in OptimizeLoopTermCond()
2191 TermBr->replaceUsesOfWith(OldCond, Cond); in OptimizeLoopTermCond()