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