Lines Matching refs:N2C
1580 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode())) {
1581 const APInt &C2 = N2C->getAPIntValue();
1601 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2.getNode())) {
1602 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF());
2800 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode());
2833 if (N2C && N2C->isNullValue())
2835 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X
2847 if (N2C && N2C->isNullValue())
2935 if (N2C && N2C->isNullValue())
3004 if (N2C &&
3010 N1.getOperand(N2C->getZExtValue() / Factor),
3011 getConstant(N2C->getZExtValue() % Factor,
3017 if (N2C && N1.getOpcode() == ISD::BUILD_VECTOR) {
3018 SDValue Elt = N1.getOperand(N2C->getZExtValue());
3038 if (N1Op2C && N2C) {
3039 if (N1Op2C->getZExtValue() == N2C->getZExtValue()) {
3051 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!");
3061 return N1.getOperand(N2C->getZExtValue());
3066 unsigned Shift = ElementSize * N2C->getZExtValue();
3101 if (N1C && !N2C && isCommutativeBinOp(Opcode)) {
3102 std::swap(N1C, N2C);