Lines Matching refs:N2C
2583 if (ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2)) { in FoldSetCC() local
2584 const APInt &C2 = N2C->getAPIntValue(); in FoldSetCC()
6881 SDNode *N2C = isConstantIntBuildVectorOrConstantInt(N2); in canonicalizeCommutativeBinop() local
6884 if ((N1C && !N2C) || (N1CFP && !N2CFP)) in canonicalizeCommutativeBinop()
6903 auto *N2C = dyn_cast<ConstantSDNode>(N2); in getNode() local
6965 if (N2C && (N1.getOpcode() == ISD::VSCALE) && Flags.hasNoSignedWrap()) { in getNode()
6967 const APInt &N2CImm = N2C->getAPIntValue(); in getNode()
7052 if (N2C && (N1.getOpcode() == ISD::VSCALE) && Flags.hasNoSignedWrap()) { in getNode()
7054 const APInt &ShiftImm = N2C->getAPIntValue(); in getNode()
7091 N2C && (N2C->getZExtValue() == 0 || N2C->getZExtValue() == 1) && in getNode()
7186 if (N2C && N1.getValueType().isFixedLengthVector() && in getNode()
7187 N2C->getAPIntValue().uge(N1.getValueType().getVectorNumElements())) in getNode()
7194 if (N2C && N1.getOpcode() == ISD::CONCAT_VECTORS && in getNode()
7199 N1.getOperand(N2C->getZExtValue() / Factor), in getNode()
7200 getVectorIdxConstant(N2C->getZExtValue() % Factor, DL)); in getNode()
7205 if (N2C && (N1.getOpcode() == ISD::BUILD_VECTOR || in getNode()
7211 N1.getOpcode() == ISD::BUILD_VECTOR ? N2C->getZExtValue() : 0; in getNode()
7232 if (N1Op2C && N2C) { in getNode()
7233 if (N1Op2C->getZExtValue() == N2C->getZExtValue()) { in getNode()
7262 assert(N2C && (unsigned)N2C->getZExtValue() < 2 && "Bad EXTRACT_ELEMENT!"); in getNode()
7272 return N1.getOperand(N2C->getZExtValue()); in getNode()
7277 unsigned Shift = ElementSize * N2C->getZExtValue(); in getNode()
7293 assert(N2C && "Extract subvector index must be a constant"); in getNode()
7295 (VT.getVectorMinNumElements() + N2C->getZExtValue()) <= in getNode()
7298 assert(N2C->getAPIntValue().getBitWidth() == in getNode()
7315 return N1.getOperand(N2C->getZExtValue() / Factor); in getNode()