Lines Matching defs:ICmp
1505 // Negate the predicate if an ICmp if it's used only by branches or selects by
1507 static bool negateICmpIfUsedByBranchOrSelectOnly(ICmpInst *ICmp,
1510 for (User *U : ICmp->users()) {
1515 if (isa<SelectInst>(U) && cast<SelectInst>(U)->getCondition() == ICmp)
1519 for (User *U : ICmp->users()) {
1549 ICmp->setPredicate(CmpInst::getInversePredicate(ICmp->getPredicate()));
1963 auto *ICmp = dyn_cast<ICmpInst>(Cond);
1964 if (!ICmp ||
1965 !negateICmpIfUsedByBranchOrSelectOnly(ICmp, BranchOrSelect, Scope))