Lines Matching refs:CmpInst

277   CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE;  in handleFloatingPointIV()
280 case CmpInst::FCMP_OEQ: in handleFloatingPointIV()
281 case CmpInst::FCMP_UEQ: NewPred = CmpInst::ICMP_EQ; break; in handleFloatingPointIV()
282 case CmpInst::FCMP_ONE: in handleFloatingPointIV()
283 case CmpInst::FCMP_UNE: NewPred = CmpInst::ICMP_NE; break; in handleFloatingPointIV()
284 case CmpInst::FCMP_OGT: in handleFloatingPointIV()
285 case CmpInst::FCMP_UGT: NewPred = CmpInst::ICMP_SGT; break; in handleFloatingPointIV()
286 case CmpInst::FCMP_OGE: in handleFloatingPointIV()
287 case CmpInst::FCMP_UGE: NewPred = CmpInst::ICMP_SGE; break; in handleFloatingPointIV()
288 case CmpInst::FCMP_OLT: in handleFloatingPointIV()
289 case CmpInst::FCMP_ULT: NewPred = CmpInst::ICMP_SLT; break; in handleFloatingPointIV()
290 case CmpInst::FCMP_OLE: in handleFloatingPointIV()
291 case CmpInst::FCMP_ULE: NewPred = CmpInst::ICMP_SLE; break; in handleFloatingPointIV()
318 if (NewPred == CmpInst::ICMP_SLE || NewPred == CmpInst::ICMP_SGT) { in handleFloatingPointIV()
327 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
344 if (NewPred == CmpInst::ICMP_SGE || NewPred == CmpInst::ICMP_SLT) { in handleFloatingPointIV()
353 if ((NewPred == CmpInst::ICMP_EQ || NewPred == CmpInst::ICMP_NE) && in handleFloatingPointIV()
1379 Pred = CmpInst::getInversePredicate(Pred); in optimizeLoopExitWithUnknownExitCount()
1383 Pred = CmpInst::getInversePredicate(Pred); in optimizeLoopExitWithUnknownExitCount()
1694 if (SE->isLoopEntryGuardedByCond(L, CmpInst::ICMP_ULT, in optimizeLoopExits()