Lines Matching refs:CmpC
842 const APInt *C, *CmpC; in canonicalizeSaturatedAdd() local
845 match(FVal, m_AllOnes()) && match(Cmp1, m_APInt(CmpC)) && *CmpC == ~*C) { in canonicalizeSaturatedAdd()
1009 const APInt *CmpC; in adjustMinMax() local
1010 if (!Cmp.hasOneUse() || !match(CmpRHS, m_APInt(CmpC))) in adjustMinMax()
1022 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC + 1); in adjustMinMax()
1024 AdjustedRHS = ConstantInt::get(CmpRHS->getType(), *CmpC - 1); in adjustMinMax()
1520 const APInt *CmpC; in foldSelectZeroOrOnes() local
1521 if (!match(Cmp->getOperand(1), m_APIntAllowUndef(CmpC))) in foldSelectZeroOrOnes()
1526 if (Cmp->getPredicate() == ICmpInst::ICMP_ULT && *CmpC == 2 && in foldSelectZeroOrOnes()
1531 if (Cmp->getPredicate() == ICmpInst::ICMP_UGT && *CmpC == 1 && in foldSelectZeroOrOnes()
1539 const APInt *CmpC; in foldSelectInstWithICmpConst() local
1542 if (!match(ICI, m_ICmp(Pred, m_Value(V), m_APInt(CmpC)))) in foldSelectInstWithICmpConst()
1559 ConstantRange R = ConstantRange::makeExactICmpRegion(CPred, *CmpC) in foldSelectInstWithICmpConst()