Lines Matching defs:N2C
1483 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode())) {
1484 const APInt &C2 = N2C->getAPIntValue();
1504 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2.getNode())) {
1509 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF());
2655 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2.getNode());
2683 if (N2C && N2C->isNullValue())
2685 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X
2697 if (N2C && N2C->isNullValue())
2765 if (N2C && N2C->isNullValue())
2833 if (N2C &&
2839 N1.getOperand(N2C->getZExtValue() / Factor),
2840 getConstant(N2C->getZExtValue() % Factor,
2846 if (N2C && N1.getOpcode() == ISD::BUILD_VECTOR) {
2847 SDValue Elt = N1.getOperand(N2C->getZExtValue());
2871 if (N1Op2C && N2C) {
2872 if (N1Op2C->getZExtValue() == N2C->getZExtValue()) {
2884 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!");
2893 return N1.getOperand(N2C->getZExtValue());
2898 unsigned Shift = ElementSize * N2C->getZExtValue();
2929 if (N2C) {
2930 SDValue SV = FoldConstantArithmetic(Opcode, VT, N1C, N2C);
2934 std::swap(N1C, N2C);