Lines Matching refs:getCondition
473 Cond = BI->getCondition(); in rewriteFirstIterationLoopExitValues()
475 Cond = SI->getCondition(); in rewriteFirstIterationLoopExitValues()
705 ICmpInst *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in isLoopExitTestBasedOn()
724 if (L->isLoopInvariant(BI->getCondition())) in needsLFTR()
728 ICmpInst *Cond = dyn_cast<ICmpInst>(BI->getCondition()); in needsLFTR()
898 Value *Cond = cast<BranchInst>(ExitingBB->getTerminator())->getCondition(); in FindLoopCounter()
1129 if (auto *Cond = dyn_cast<Instruction>(BI->getCondition())) in linearFunctionTestReplace()
1182 << " was: " << *BI->getCondition() << "\n"); in linearFunctionTestReplace()
1185 Value *OrigCond = BI->getCondition(); in linearFunctionTestReplace()
1293 auto *OldCond = BI->getCondition(); in replaceExitCond()
1303 auto *OldCond = BI->getCondition(); in foldExit()
1358 BI->getCondition()->getName()); in replaceWithInvariantCond()
1448 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in canonicalizeExitCondition()
1494 auto *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in canonicalizeExitCondition()
1585 if (auto *CI = dyn_cast<ConstantInt>(BI->getCondition())) { in optimizeLoopExits()
1760 if (isa<Constant>(BI->getCondition())) in predicateLoopExits()
1874 Value *OldCond = BI->getCondition(); in predicateLoopExits()