Lines Matching refs:ICmpInst
125 static RangeCheckKind parseRangeCheckICmp(Loop *L, ICmpInst *ICI,
259 InductiveRangeCheck::parseRangeCheckICmp(Loop *L, ICmpInst *ICI, in parseRangeCheckICmp()
274 ICmpInst::Predicate Pred = ICI->getPredicate(); in parseRangeCheckICmp()
282 case ICmpInst::ICMP_SLE: in parseRangeCheckICmp()
285 case ICmpInst::ICMP_SGE: in parseRangeCheckICmp()
292 case ICmpInst::ICMP_SLT: in parseRangeCheckICmp()
295 case ICmpInst::ICMP_SGT: in parseRangeCheckICmp()
308 case ICmpInst::ICMP_ULT: in parseRangeCheckICmp()
311 case ICmpInst::ICMP_UGT: in parseRangeCheckICmp()
337 ICmpInst *ICmpA = dyn_cast<ICmpInst>(A), *ICmpB = dyn_cast<ICmpInst>(B); in parseRangeCheck()
364 if (ICmpInst *ICI = dyn_cast<ICmpInst>(Condition)) { in parseRangeCheck()
678 ICmpInst *ICI = dyn_cast<ICmpInst>(LatchBr->getCondition()); in parseLoopStructure()
690 ICmpInst::Predicate Pred = ICI->getPredicate(); in parseLoopStructure()
703 Pred = ICmpInst::getSwappedPredicate(Pred); in parseLoopStructure()
772 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 1) || in parseLoopStructure()
773 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 0); in parseLoopStructure()
794 (Pred == ICmpInst::ICMP_SGT && LatchBrExitIdx == 1) || in parseLoopStructure()
795 (Pred == ICmpInst::ICMP_SLT && LatchBrExitIdx == 0); in parseLoopStructure()
904 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Range.getBegin(), Smallest); in calculateSubRanges()
909 SE.isKnownPredicate(ICmpInst::ICMP_SLE, Greatest, Range.getEnd()); in calculateSubRanges()