Lines Matching defs:CmpC
5038 auto *CmpC = ConstantInt::get(XTy, ValToCheck.countTrailingZeros());
5040 return new ICmpInst(NewPred, X, CmpC);
5044 auto *CmpC = ConstantInt::get(XTy, ValToCheck.countTrailingZeros());
5047 return new ICmpInst(NewPred, X, CmpC);
5072 const APInt *CmpC;
5073 if (match(Op1, m_APInt(CmpC))) {
5075 if (*CmpC == Op0Min + 1)
5077 ConstantInt::get(Op1->getType(), *CmpC - 1));
5080 if (Op0Known.countMinTrailingZeros() >= CmpC->ceilLogBase2())
5094 const APInt *CmpC;
5095 if (match(Op1, m_APInt(CmpC))) {
5097 if (*CmpC == Op0Max - 1)
5099 ConstantInt::get(Op1->getType(), *CmpC + 1));
5102 if (Op0Known.countMinTrailingZeros() >= CmpC->getActiveBits())
5115 const APInt *CmpC;
5116 if (match(Op1, m_APInt(CmpC))) {
5117 if (*CmpC == Op0Min + 1) // A <s C -> A == C-1 if min(A)+1 == C
5119 ConstantInt::get(Op1->getType(), *CmpC - 1));
5130 const APInt *CmpC;
5131 if (match(Op1, m_APInt(CmpC))) {
5132 if (*CmpC == Op0Max - 1) // A >s C -> A == C+1 if max(A)-1 == C
5134 ConstantInt::get(Op1->getType(), *CmpC + 1));