Lines Matching refs:NegC
6313 if (ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(1))) {
6316 if (NegC->getAPIntValue().getActiveBits() <= Bits &&
6317 ((NegC->getAPIntValue() | Known.Zero).countTrailingOnes() >= Bits)) {
6324 // Check whether Neg has the form (sub NegC, NegOp1) for some NegC and NegOp1.
6327 ConstantSDNode *NegC = isConstOrConstSplat(Neg.getOperand(0));
6328 if (!NegC)
6346 // (NegC - NegOp1) & Mask == (EltSize - Pos) & Mask
6350 // EltSize & Mask == NegC & Mask
6359 Width = NegC->getAPIntValue();
6364 // (NegC - NegOp1) & Mask == (EltSize - (NegOp1 + PosC)) & Mask
6368 // NegC & Mask == (EltSize - PosC) & Mask
6369 // EltSize & Mask == (NegC + PosC) & Mask
6372 Width = PosC->getAPIntValue() + NegC->getAPIntValue();