Lines Matching refs:N1

2080 static void commuteShuffle(SDValue &N1, SDValue &N2, MutableArrayRef<int> M) {  in commuteShuffle()  argument
2081 std::swap(N1, N2); in commuteShuffle()
2085 SDValue SelectionDAG::getVectorShuffle(EVT VT, const SDLoc &dl, SDValue N1, in getVectorShuffle() argument
2089 assert(VT == N1.getValueType() && VT == N2.getValueType() && in getVectorShuffle()
2093 if (N1.isUndef() && N2.isUndef()) in getVectorShuffle()
2107 if (N1 == N2) { in getVectorShuffle()
2114 if (N1.isUndef()) in getVectorShuffle()
2115 commuteShuffle(N1, N2, MaskVec); in getVectorShuffle()
2141 if (auto *N1BV = dyn_cast<BuildVectorSDNode>(N1)) in getVectorShuffle()
2166 N1 = getUNDEF(VT); in getVectorShuffle()
2167 commuteShuffle(N1, N2, MaskVec); in getVectorShuffle()
2172 if (N1.isUndef() && N2Undef) in getVectorShuffle()
2182 return N1; in getVectorShuffle()
2186 SDValue V = N1; in getVectorShuffle()
2210 return N1; in getVectorShuffle()
2230 SDValue Ops[2] = { N1, N2 }; in getVectorShuffle()
2527 SDValue SelectionDAG::FoldSetCC(EVT VT, SDValue N1, SDValue N2, in FoldSetCC() argument
2529 EVT OpVT = N1.getValueType(); in FoldSetCC()
2568 if ((N1.isUndef() || N2.isUndef()) && in FoldSetCC()
2574 if (N1.isUndef() && N2.isUndef()) in FoldSetCC()
2579 if (N1.isUndef() || N2.isUndef() || N1 == N2) in FoldSetCC()
2585 if (ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1)) { in FoldSetCC()
2593 auto *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in FoldSetCC()
2657 return getSetCC(dl, VT, N2, N1, SwappedCond); in FoldSetCC()
2659 (OpVT.isFloatingPoint() && (N1.isUndef() || N2.isUndef()))) { in FoldSetCC()
4235 SelectionDAG::computeOverflowForSignedAdd(SDValue N0, SDValue N1) const { in computeOverflowForSignedAdd()
4237 if (isNullConstant(N1)) in computeOverflowForSignedAdd()
4242 if (ComputeNumSignBits(N0) > 1 && ComputeNumSignBits(N1) > 1) in computeOverflowForSignedAdd()
4250 SelectionDAG::computeOverflowForUnsignedAdd(SDValue N0, SDValue N1) const { in computeOverflowForUnsignedAdd()
4252 if (isNullConstant(N1)) in computeOverflowForUnsignedAdd()
4256 KnownBits N1Known = computeKnownBits(N1); in computeOverflowForUnsignedAdd()
4262 if (N1.getOpcode() == ISD::UMUL_LOHI && N1.getResNo() == 1 && in computeOverflowForUnsignedAdd()
4273 SelectionDAG::computeOverflowForSignedSub(SDValue N0, SDValue N1) const { in computeOverflowForSignedSub()
4275 if (isNullConstant(N1)) in computeOverflowForSignedSub()
4280 if (ComputeNumSignBits(N0) > 1 && ComputeNumSignBits(N1) > 1) in computeOverflowForSignedSub()
4284 KnownBits N1Known = computeKnownBits(N1); in computeOverflowForSignedSub()
4291 SelectionDAG::computeOverflowForUnsignedSub(SDValue N0, SDValue N1) const { in computeOverflowForUnsignedSub()
4293 if (isNullConstant(N1)) in computeOverflowForUnsignedSub()
4297 KnownBits N1Known = computeKnownBits(N1); in computeOverflowForUnsignedSub()
4304 SelectionDAG::computeOverflowForUnsignedMul(SDValue N0, SDValue N1) const { in computeOverflowForUnsignedMul()
4306 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForUnsignedMul()
4310 KnownBits N1Known = computeKnownBits(N1); in computeOverflowForUnsignedMul()
4317 SelectionDAG::computeOverflowForSignedMul(SDValue N0, SDValue N1) const { in computeOverflowForSignedMul()
4319 if (isNullConstant(N1) || isOneConstant(N1)) in computeOverflowForSignedMul()
4326 unsigned SignBits = ComputeNumSignBits(N0) + ComputeNumSignBits(N1); in computeOverflowForSignedMul()
4336 KnownBits N1Known = computeKnownBits(N1); in computeOverflowForSignedMul()
5899 SDValue N1) { in getNode() argument
5903 return getNode(Opcode, DL, VT, N1, Flags); in getNode()
5907 SDValue N1, const SDNodeFlags Flags) { in getNode() argument
5908 assert(N1.getOpcode() != ISD::DELETED_NODE && "Operand is DELETED_NODE!"); in getNode()
5944 SDValue Ops = {N1}; in getNode()
5950 unsigned OpOpcode = N1.getNode()->getOpcode(); in getNode()
5956 VT.getVectorElementType() == N1.getValueType() && in getNode()
5960 assert(VT == N1.getValueType() && "Unexpected VT!"); in getNode()
5961 if (isGuaranteedNotToBeUndefOrPoison(N1, /*PoisonOnly*/ false, in getNode()
5963 return N1; in getNode()
5968 return N1; // Factor, merge or concat of one node? No need. in getNode()
5971 SDValue Ops[] = {N1}; in getNode()
5978 assert(VT.isFloatingPoint() && N1.getValueType().isFloatingPoint() && in getNode()
5980 if (N1.getValueType() == VT) return N1; // noop conversion. in getNode()
5982 N1.getValueType().getVectorElementCount()) && in getNode()
5984 assert(N1.getValueType().bitsLT(VT) && "Invalid fpext node, dst < src!"); in getNode()
5985 if (N1.isUndef()) in getNode()
5990 if (N1.isUndef()) in getNode()
5996 if (N1.isUndef()) in getNode()
6000 assert(VT.isInteger() && N1.getValueType().isInteger() && in getNode()
6002 assert(VT.isVector() == N1.getValueType().isVector() && in getNode()
6005 if (N1.getValueType() == VT) return N1; // noop extension in getNode()
6007 N1.getValueType().getVectorElementCount()) && in getNode()
6009 assert(N1.getValueType().bitsLT(VT) && "Invalid sext node, dst < src!"); in getNode()
6013 Flags.setNonNeg(N1->getFlags().hasNonNeg()); in getNode()
6014 return getNode(OpOpcode, DL, VT, N1.getOperand(0), Flags); in getNode()
6021 assert(VT.isInteger() && N1.getValueType().isInteger() && in getNode()
6023 assert(VT.isVector() == N1.getValueType().isVector() && in getNode()
6026 if (N1.getValueType() == VT) return N1; // noop extension in getNode()
6028 N1.getValueType().getVectorElementCount()) && in getNode()
6030 assert(N1.getValueType().bitsLT(VT) && "Invalid zext node, dst < src!"); in getNode()
6033 Flags.setNonNeg(N1->getFlags().hasNonNeg()); in getNode()
6034 return getNode(ISD::ZERO_EXTEND, DL, VT, N1.getOperand(0), Flags); in getNode()
6045 SDValue OpOp = N1.getOperand(0); in getNode()
6049 N1.getScalarValueSizeInBits()); in getNode()
6051 transferDbgValues(N1, OpOp); in getNode()
6059 assert(VT.isInteger() && N1.getValueType().isInteger() && in getNode()
6061 assert(VT.isVector() == N1.getValueType().isVector() && in getNode()
6064 if (N1.getValueType() == VT) return N1; // noop extension in getNode()
6066 N1.getValueType().getVectorElementCount()) && in getNode()
6068 assert(N1.getValueType().bitsLT(VT) && "Invalid anyext node, dst < src!"); in getNode()
6074 Flags.setNonNeg(N1->getFlags().hasNonNeg()); in getNode()
6076 return getNode(OpOpcode, DL, VT, N1.getOperand(0), Flags); in getNode()
6083 SDValue OpOp = N1.getOperand(0); in getNode()
6085 transferDbgValues(N1, OpOp); in getNode()
6091 assert(VT.isInteger() && N1.getValueType().isInteger() && in getNode()
6093 assert(VT.isVector() == N1.getValueType().isVector() && in getNode()
6096 if (N1.getValueType() == VT) return N1; // noop truncate in getNode()
6098 N1.getValueType().getVectorElementCount()) && in getNode()
6100 assert(N1.getValueType().bitsGT(VT) && "Invalid truncate node, src < dst!"); in getNode()
6102 return getNode(ISD::TRUNCATE, DL, VT, N1.getOperand(0)); in getNode()
6106 if (N1.getOperand(0).getValueType().getScalarType().bitsLT( in getNode()
6108 return getNode(OpOpcode, DL, VT, N1.getOperand(0)); in getNode()
6109 if (N1.getOperand(0).getValueType().bitsGT(VT)) in getNode()
6110 return getNode(ISD::TRUNCATE, DL, VT, N1.getOperand(0)); in getNode()
6111 return N1.getOperand(0); in getNode()
6117 N1.getConstantOperandAPInt(0).trunc(VT.getSizeInBits())); in getNode()
6123 assert(N1.getValueType().bitsLE(VT) && in getNode()
6126 N1.getValueType().getVectorMinNumElements() && in getNode()
6130 assert(VT.isInteger() && VT == N1.getValueType() && "Invalid ABS!"); in getNode()
6135 assert(VT.isInteger() && VT == N1.getValueType() && "Invalid BSWAP!"); in getNode()
6142 return N1.getOperand(0); in getNode()
6145 assert(VT.isInteger() && VT == N1.getValueType() && "Invalid BITREVERSE!"); in getNode()
6150 assert(VT.getSizeInBits() == N1.getValueSizeInBits() && in getNode()
6152 if (VT == N1.getValueType()) return N1; // noop conversion. in getNode()
6154 return getNode(ISD::BITCAST, DL, VT, N1.getOperand(0)); in getNode()
6159 assert(VT.isVector() && !N1.getValueType().isVector() && in getNode()
6160 (VT.getVectorElementType() == N1.getValueType() || in getNode()
6162 N1.getValueType().isInteger() && in getNode()
6163 VT.getVectorElementType().bitsLE(N1.getValueType()))) && in getNode()
6169 isa<ConstantSDNode>(N1.getOperand(1)) && in getNode()
6170 N1.getConstantOperandVal(1) == 0 && in getNode()
6171 N1.getOperand(0).getValueType() == VT) in getNode()
6172 return N1.getOperand(0); in getNode()
6180 return N1.getOperand(0); in getNode()
6184 return getNode(ISD::FABS, DL, VT, N1.getOperand(0)); in getNode()
6187 assert(VT == N1.getValueType() && "Unexpected VT!"); in getNode()
6190 if (N1.getValueType().getScalarType() == MVT::i1) in getNode()
6191 return N1; in getNode()
6195 if (N1.getValueType().getScalarType() == MVT::i1) in getNode()
6196 return getNOT(DL, N1, N1.getValueType()); in getNode()
6199 if (N1.getValueType().getScalarType() == MVT::i1) in getNode()
6200 return getNode(ISD::VECREDUCE_XOR, DL, VT, N1); in getNode()
6204 if (N1.getValueType().getScalarType() == MVT::i1) in getNode()
6205 return getNode(ISD::VECREDUCE_OR, DL, VT, N1); in getNode()
6209 if (N1.getValueType().getScalarType() == MVT::i1) in getNode()
6210 return getNode(ISD::VECREDUCE_AND, DL, VT, N1); in getNode()
6216 assert((VT.getVectorElementType() == N1.getValueType() || in getNode()
6217 (VT.isFloatingPoint() && N1.getValueType() == MVT::i32) || in getNode()
6219 N1.getValueType().isInteger() && in getNode()
6220 VT.getVectorElementType().bitsLE(N1.getValueType()))) && in getNode()
6227 SDValue Ops[] = {N1}; in getNode()
6393 SDValue N1 = Ops[0]; in FoldConstantArithmetic() local
6400 if (auto *C = dyn_cast<ConstantSDNode>(N1)) { in FoldConstantArithmetic()
6415 if (TLI->isSExtCheaperThanZExt(N1.getValueType(), VT)) in FoldConstantArithmetic()
6462 if (SDValue V = FoldSTEP_VECTOR(DL, VT, N1, *this)) in FoldConstantArithmetic()
6479 if (auto *C = dyn_cast<ConstantFPSDNode>(N1)) { in FoldConstantArithmetic()
6597 SDValue N1 = peekThroughBitcasts(Ops[0]); in FoldConstantArithmetic() local
6599 auto *BV1 = dyn_cast<BuildVectorSDNode>(N1); in FoldConstantArithmetic()
6601 if (BV1 && BV2 && N1.getValueType().isInteger() && in FoldConstantArithmetic()
6621 if (N1.getValueType() == VT) { in FoldConstantArithmetic()
6622 BVVT = N1.getValueType(); in FoldConstantArithmetic()
6767 SDValue N1 = Ops[0]; in foldConstantFPMath() local
6769 ConstantFPSDNode *N1CFP = isConstOrConstSplatFP(N1, /*AllowUndefs*/ false); in foldConstantFPMath()
6817 if (ConstantFPSDNode *N1C = isConstOrConstSplatFP(N1, /*AllowUndefs*/ true)) in foldConstantFPMath()
6828 if (N1.isUndef() && N2.isUndef()) in foldConstantFPMath()
6830 if (N1.isUndef() || N2.isUndef()) in foldConstantFPMath()
6866 SDValue N1, SDValue N2) { in getNode() argument
6870 return getNode(Opcode, DL, VT, N1, N2, Flags); in getNode()
6873 void SelectionDAG::canonicalizeCommutativeBinop(unsigned Opcode, SDValue &N1, in canonicalizeCommutativeBinop() argument
6880 SDNode *N1C = isConstantIntBuildVectorOrConstantInt(N1); in canonicalizeCommutativeBinop()
6882 SDNode *N1CFP = isConstantFPBuildVectorOrConstantFP(N1); in canonicalizeCommutativeBinop()
6885 std::swap(N1, N2); in canonicalizeCommutativeBinop()
6889 else if (N1.getOpcode() == ISD::SPLAT_VECTOR && in canonicalizeCommutativeBinop()
6891 std::swap(N1, N2); in canonicalizeCommutativeBinop()
6895 SDValue N1, SDValue N2, const SDNodeFlags Flags) { in getNode() argument
6896 assert(N1.getOpcode() != ISD::DELETED_NODE && in getNode()
6900 canonicalizeCommutativeBinop(Opcode, N1, N2); in getNode()
6902 auto *N1C = dyn_cast<ConstantSDNode>(N1); in getNode()
6913 assert(VT == MVT::Other && N1.getValueType() == MVT::Other && in getNode()
6916 if (N1.getOpcode() == ISD::EntryToken) return N2; in getNode()
6917 if (N2.getOpcode() == ISD::EntryToken) return N1; in getNode()
6918 if (N1 == N2) return N1; in getNode()
6922 SDValue Ops[] = {N1, N2}; in getNode()
6928 SDValue Ops[] = {N1, N2}; in getNode()
6935 assert(N1.getValueType() == N2.getValueType() && in getNode()
6936 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
6942 return N1; in getNode()
6949 assert(N1.getValueType() == N2.getValueType() && in getNode()
6950 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
6954 return N1; in getNode()
6957 return getNode(ISD::XOR, DL, VT, N1, N2); in getNode()
6961 assert(N1.getValueType() == N2.getValueType() && in getNode()
6962 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
6964 return getNode(ISD::AND, DL, VT, N1, N2); in getNode()
6965 if (N2C && (N1.getOpcode() == ISD::VSCALE) && Flags.hasNoSignedWrap()) { in getNode()
6966 const APInt &MulImm = N1->getConstantOperandAPInt(0); in getNode()
6982 assert(N1.getValueType() == N2.getValueType() && in getNode()
6983 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
6987 return getNode(ISD::OR, DL, VT, N1, N2); in getNode()
6990 return getNode(ISD::AND, DL, VT, N1, getNOT(DL, N2, VT)); in getNode()
6995 assert(N1.getValueType() == N2.getValueType() && in getNode()
6997 assert(N1.getValueType().isVector() == VT.isVector() && in getNode()
7001 N1.getValueType().getVectorElementCount() && in getNode()
7009 assert(N1.getValueType() == N2.getValueType() && in getNode()
7010 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
7015 assert(N1.getValueType() == N2.getValueType() && in getNode()
7016 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
7021 assert(N1.getValueType() == N2.getValueType() && in getNode()
7022 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
7024 return getNode(ISD::OR, DL, VT, N1, N2); in getNode()
7029 assert(N1.getValueType() == N2.getValueType() && in getNode()
7030 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
7032 return getNode(ISD::AND, DL, VT, N1, N2); in getNode()
7040 assert(N1.getValueType() == N2.getValueType() && in getNode()
7041 N1.getValueType() == VT && "Binary operator types must match!"); in getNode()
7042 if (SDValue V = simplifyFPBinop(Opcode, N1, N2, Flags)) in getNode()
7046 assert(N1.getValueType() == VT && in getNode()
7047 N1.getValueType().isFloatingPoint() && in getNode()
7052 if (N2C && (N1.getOpcode() == ISD::VSCALE) && Flags.hasNoSignedWrap()) { in getNode()
7053 const APInt &MulImm = N1->getConstantOperandAPInt(0); in getNode()
7060 if (SDValue V = simplifyShift(N1, N2)) in getNode()
7065 assert(VT == N1.getValueType() && in getNode()
7083 return N1; in getNode()
7085 return N1; in getNode()
7089 N1.getValueType().isFloatingPoint() && in getNode()
7090 VT.bitsLE(N1.getValueType()) && in getNode()
7093 if (N1.getValueType() == VT) return N1; // noop conversion. in getNode()
7098 assert(VT == N1.getValueType() && "Not an inreg extend!"); in getNode()
7105 if (VT.getScalarType() == EVT) return N1; // noop assertion. in getNode()
7110 assert(VT == N1.getValueType() && "Not an inreg extend!"); in getNode()
7120 if (EVT == VT) return N1; // Not actually extending in getNode()
7134 if (ISD::isBuildVectorOfConstantSDNodes(N1.getNode())) { in getNode()
7136 llvm::EVT OpVT = N1.getOperand(0).getValueType(); in getNode()
7138 SDValue Op = N1.getOperand(i); in getNode()
7150 if (N1.getOpcode() == ISD::SPLAT_VECTOR && in getNode()
7151 isa<ConstantSDNode>(N1.getOperand(0))) in getNode()
7154 SignExtendInReg(N1.getConstantOperandAPInt(0), in getNode()
7155 N1.getOperand(0).getValueType())); in getNode()
7161 N1.getValueType().isFloatingPoint() && "Invalid FP_TO_*INT_SAT"); in getNode()
7162 assert(N1.getValueType().isVector() == VT.isVector() && in getNode()
7166 N1.getValueType().getVectorElementCount()) && in getNode()
7175 assert(VT.getSizeInBits() >= N1.getValueType().getScalarSizeInBits() && in getNode()
7180 if (N1.isUndef() || N2.isUndef()) 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()
7195 N1.getOperand(0).getValueType().isFixedLengthVector()) { in getNode()
7197 N1.getOperand(0).getValueType().getVectorNumElements(); in getNode()
7199 N1.getOperand(N2C->getZExtValue() / Factor), in getNode()
7205 if (N2C && (N1.getOpcode() == ISD::BUILD_VECTOR || in getNode()
7206 N1.getOpcode() == ISD::SPLAT_VECTOR)) { in getNode()
7207 assert((N1.getOpcode() != ISD::BUILD_VECTOR || in getNode()
7208 N1.getValueType().isFixedLengthVector()) && in getNode()
7211 N1.getOpcode() == ISD::BUILD_VECTOR ? N2C->getZExtValue() : 0; in getNode()
7212 SDValue Elt = N1.getOperand(Index); in getNode()
7225 if (N1.getOpcode() == ISD::INSERT_VECTOR_ELT) { in getNode()
7229 SDValue N1Op2 = N1.getOperand(2); in getNode()
7234 if (VT == N1.getOperand(1).getValueType()) in getNode()
7235 return N1.getOperand(1); in getNode()
7237 assert(VT.getSizeInBits() > N1.getOperand(1).getValueType().getSizeInBits()); in getNode()
7238 return getFPExtendOrRound(N1.getOperand(1), DL, VT); in getNode()
7240 return getSExtOrTrunc(N1.getOperand(1), DL, VT); in getNode()
7242 return getNode(ISD::EXTRACT_VECTOR_ELT, DL, VT, N1.getOperand(0), N2); in getNode()
7254 if (N1.getOpcode() == ISD::EXTRACT_SUBVECTOR && in getNode()
7255 N1.getValueType().isFixedLengthVector() && in getNode()
7256 N1.getValueType().getVectorNumElements() == 1) { in getNode()
7257 return getNode(ISD::EXTRACT_VECTOR_ELT, DL, VT, N1.getOperand(0), in getNode()
7258 N1.getOperand(1)); in getNode()
7263 assert(!N1.getValueType().isVector() && !VT.isVector() && in getNode()
7264 (N1.getValueType().isInteger() == VT.isInteger()) && in getNode()
7265 N1.getValueType() != VT && in getNode()
7271 if (N1.getOpcode() == ISD::BUILD_PAIR) in getNode()
7272 return N1.getOperand(N2C->getZExtValue()); in getNode()
7283 EVT N1VT = N1.getValueType(); in getNode()
7304 return N1; in getNode()
7307 if (N1.isUndef()) in getNode()
7312 if (N1.getOpcode() == ISD::CONCAT_VECTORS && in getNode()
7313 VT == N1.getOperand(0).getValueType()) { in getNode()
7315 return N1.getOperand(N2C->getZExtValue() / Factor); in getNode()
7320 if (N1.getOpcode() == ISD::INSERT_SUBVECTOR && N2 == N1.getOperand(2) && in getNode()
7321 VT == N1.getOperand(1).getValueType()) in getNode()
7322 return N1.getOperand(1); in getNode()
7328 if (SDValue SV = FoldConstantArithmetic(Opcode, DL, VT, {N1, N2}, Flags)) in getNode()
7332 if (N1.isUndef()) { in getNode()
7334 std::swap(N1, N2); in getNode()
7355 if (N1.isUndef()) in getNode()
7382 SDValue Ops[] = {N1, N2}; in getNode()
7408 SDValue N1, SDValue N2, SDValue N3) { in getNode() argument
7412 return getNode(Opcode, DL, VT, N1, N2, N3, Flags); in getNode()
7416 SDValue N1, SDValue N2, SDValue N3, in getNode() argument
7418 assert(N1.getOpcode() != ISD::DELETED_NODE && in getNode()
7427 assert(N1.getValueType() == VT && N2.getValueType() == VT && in getNode()
7429 ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1); in getNode()
7447 SDValue Ops[] = {N1, N2, N3}; in getNode()
7453 SDValue Ops[] = {N1, N2, N3}; in getNode()
7460 assert(N1.getValueType() == N2.getValueType() && in getNode()
7462 assert(VT.isVector() == N1.getValueType().isVector() && in getNode()
7465 N1.getValueType().getVectorElementCount()) && in getNode()
7468 if (SDValue V = FoldSetCC(VT, N1, N2, cast<CondCodeSDNode>(N3)->get(), DL)) in getNode()
7471 SDValue Ops[] = {N1, N2, N3}; in getNode()
7480 if (SDValue V = simplifySelect(N1, N2, N3)) in getNode()
7487 return N1; in getNode()
7495 if (N3C && N1.getValueType().isFixedLengthVector() && in getNode()
7496 N3C->getZExtValue() >= N1.getValueType().getVectorNumElements()) in getNode()
7505 return N1; in getNode()
7511 if (N1.isUndef() && N2.isUndef()) in getNode()
7515 assert(VT == N1.getValueType() && in getNode()
7542 if (N1.isUndef() && N2.getOpcode() == ISD::EXTRACT_SUBVECTOR && in getNode()
7549 if (N1.getValueType() == VT) in getNode()
7550 return N1; in getNode()
7556 if (N1.getValueType() == VT) in getNode()
7557 return N1; in getNode()
7560 [[maybe_unused]] EVT VecVT = N1.getValueType(); in getNode()
7570 if (N1.isUndef() || N2.isUndef()) in getNode()
7580 SDValue Ops[] = {N1, N2, N3}; in getNode()
7606 SDValue N1, SDValue N2, SDValue N3, SDValue N4) { in getNode() argument
7607 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode()
7612 SDValue N1, SDValue N2, SDValue N3, SDValue N4, in getNode() argument
7614 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode()
10184 SDValue N1 = Ops[0], N2 = Ops[1]; in getNode() local
10185 canonicalizeCommutativeBinop(Opcode, N1, N2); in getNode()
10192 return getNode(ISD::MERGE_VALUES, DL, VTList, {N1, ZeroOverFlow}, Flags); in getNode()
10198 SDValue F1 = getFreeze(N1); in getNode()
10317 return getNode(Opcode, DL, VT, N1, N2, N3.getOperand(0)); in getNode()
10324 return getNode(Opcode, DL, VT, N1, N2, N3.getOperand(0)); in getNode()
10360 SDValue N1) { in getNode() argument
10361 SDValue Ops[] = { N1 }; in getNode()
10366 SDValue N1, SDValue N2) { in getNode() argument
10367 SDValue Ops[] = { N1, N2 }; in getNode()
10372 SDValue N1, SDValue N2, SDValue N3) { in getNode() argument
10373 SDValue Ops[] = { N1, N2, N3 }; in getNode()
10378 SDValue N1, SDValue N2, SDValue N3, SDValue N4) { in getNode() argument
10379 SDValue Ops[] = { N1, N2, N3, N4 }; in getNode()
10384 SDValue N1, SDValue N2, SDValue N3, SDValue N4, in getNode() argument
10386 SDValue Ops[] = { N1, N2, N3, N4, N5 }; in getNode()
11174 SDValue N1 = N.getOperand(1); in salvageDebugInfo() local
11176 bool RHSConstant = isa<ConstantSDNode>(N1); in salvageDebugInfo()
11216 SDDbgOperand::fromNode(N1.getNode(), N1.getResNo()); in salvageDebugInfo()