reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2249 if (Cond->getPredicate() != CmpInst::ICMP_EQ && 2250 Cond->getPredicate() != CmpInst::ICMP_NE) 2251 return Cond; 2253 SelectInst *Sel = dyn_cast<SelectInst>(Cond->getOperand(1)); 2254 if (!Sel || !Sel->hasOneUse()) return Cond; 2258 return Cond; 2263 if (IterationCount != SE.getSCEV(Sel)) return Cond; 2281 return Cond; 2287 return Cond; 2296 return Cond; 2300 const SCEV *IV = SE.getSCEV(Cond->getOperand(0)); 2305 return Cond; 2324 return Cond; 2333 return Cond; 2337 if (Cond->getPredicate() == CmpInst::ICMP_EQ) 2343 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp"); 2343 new ICmpInst(Cond, Pred, Cond->getOperand(0), NewRHS, "scmp"); 2346 Cond->replaceAllUsesWith(NewCond); 2349 Cond->eraseFromParent();