Lines Matching refs:N2C
1938 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) {
1939 const APInt &C2 = N2C->getAPIntValue();
1959 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2)) {
1960 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF());
3432 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2);
3438 if (N1C && !N2C) {
3439 std::swap(N1C, N2C);
3470 if (N2C && N2C->isNullValue())
3472 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X
3484 if (N2C && N2C->isNullValue())
3559 if (N2C && N2C->isNullValue())
3582 N2C && "Invalid FP_ROUND!");
3650 if (N2C && N2C->getZExtValue() >= N1.getValueType().getVectorNumElements())
3655 if (N2C &&
3661 N1.getOperand(N2C->getZExtValue() / Factor),
3662 getConstant(N2C->getZExtValue() % Factor, DL,
3668 if (N2C && N1.getOpcode() == ISD::BUILD_VECTOR) {
3669 SDValue Elt = N1.getOperand(N2C->getZExtValue());
3689 if (N1Op2C && N2C) {
3690 if (N1Op2C->getZExtValue() == N2C->getZExtValue()) {
3702 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!");
3712 return N1.getOperand(N2C->getZExtValue());
3717 unsigned Shift = ElementSize * N2C->getZExtValue();
3732 if (N2C) {
3733 assert((VT.getVectorNumElements() + N2C->getZExtValue()