Lines Matching refs:getCondition
470 Cond = BI->getCondition(); in rewriteFirstIterationLoopExitValues()
472 Cond = SI->getCondition(); in rewriteFirstIterationLoopExitValues()
701 ICmpInst *ICmp = dyn_cast<ICmpInst>(BI->getCondition()); in isLoopExitTestBasedOn()
720 if (L->isLoopInvariant(BI->getCondition())) in needsLFTR()
724 ICmpInst *Cond = dyn_cast<ICmpInst>(BI->getCondition()); in needsLFTR()
894 Value *Cond = cast<BranchInst>(ExitingBB->getTerminator())->getCondition(); in FindLoopCounter()
1132 if (auto *Cond = dyn_cast<Instruction>(BI->getCondition())) in linearFunctionTestReplace()
1185 << " was: " << *BI->getCondition() << "\n"); in linearFunctionTestReplace()
1188 Value *OrigCond = BI->getCondition(); in linearFunctionTestReplace()
1296 auto *OldCond = BI->getCondition(); in replaceExitCond()
1306 auto *OldCond = BI->getCondition(); in foldExit()
1325 BI->getCondition()->getName()); in replaceWithInvariantCond()
1416 if (isa<Constant>(BI->getCondition())) in optimizeLoopExits()
1594 if (isa<Constant>(BI->getCondition())) in predicateLoopExits()
1710 Value *OldCond = BI->getCondition(); in predicateLoopExits()