Lines Matching refs:N2C
27074 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in foldSelectCCToShiftAnd() local
27075 if (N2C && ((N2C->getAPIntValue() & (N2C->getAPIntValue() - 1)) == 0)) { in foldSelectCCToShiftAnd()
27076 unsigned ShCt = XType.getSizeInBits() - N2C->getAPIntValue().logBase2() - 1; in foldSelectCCToShiftAnd()
27277 auto *N2C = dyn_cast<ConstantSDNode>(N2.getNode()); in SimplifySelectCC() local
27330 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2(); in SimplifySelectCC()
27340 std::swap(N2C, N3C); in SimplifySelectCC()
27345 if (NotExtCompare && N2C->isOne()) in SimplifySelectCC()
27361 if (N2C->isOne()) in SimplifySelectCC()
27364 unsigned ShCt = N2C->getAPIntValue().logBase2(); in SimplifySelectCC()
27411 if (!NotExtCompare && N1C && N2C && N3C && in SimplifySelectCC()
27412 N2C->getAPIntValue() == ~N3C->getAPIntValue() && in SimplifySelectCC()