Lines Matching refs:N2C
23915 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local
23916 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue() - 1)) == 0)) { in foldSelectCCToShiftAnd()
23917 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()
24115 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local
24168 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC()
24178 std::swap(N2C, N3C); in SimplifySelectCC()
24183 if (NotExtCompare && N2C->isOne()) in SimplifySelectCC()
24202 if (N2C->isOne()) in SimplifySelectCC()
24205 unsigned ShCt = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()
24252 if (!NotExtCompare && N1C && N2C && N3C && in SimplifySelectCC()
24253 N2C->getAPIntValue() == ~N3C->getAPIntValue() && in SimplifySelectCC()