Lines Matching refs:N2C
1921 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local
1922 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()
1942 if (ConstantFPSDNode *N2C = dyn_cast<ConstantFPSDNode>(N2)) { in FoldSetCC() local
1943 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC()
3464 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local
3470 if (N1C && !N2C) { in getNode()
3471 std::swap(N1C, N2C); in getNode()
3502 if (N2C && N2C->isNullValue()) in getNode()
3504 if (N2C && N2C->isAllOnesValue()) // X & -1 -> X in getNode()
3516 if (N2C && N2C->isNullValue()) in getNode()
3591 if (N2C && N2C->isNullValue()) in getNode()
3614 N2C && "Invalid FP_ROUND!"); in getNode()
3682 if (N2C && N2C->getZExtValue() >= N1.getValueType().getVectorNumElements()) in getNode()
3687 if (N2C && in getNode()
3693 N1.getOperand(N2C->getZExtValue() / Factor), in getNode()
3694 getConstant(N2C->getZExtValue() % Factor, DL, in getNode()
3700 if (N2C && N1.getOpcode() == ISD::BUILD_VECTOR) { in getNode()
3701 SDValue Elt = N1.getOperand(N2C->getZExtValue()); in getNode()
3721 if (N1Op2C && N2C) { in getNode()
3722 if (N1Op2C->getZExtValue() == N2C->getZExtValue()) { in getNode()
3734 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!"); in getNode()
3744 return N1.getOperand(N2C->getZExtValue()); in getNode()
3749 unsigned Shift = ElementSize * N2C->getZExtValue(); in getNode()
3764 if (N2C) { in getNode()
3765 assert((VT.getVectorNumElements() + N2C->getZExtValue() in getNode()