Lines Matching refs:N01
1202 SDValue N01 = N0.getOperand(1); in reassociateOpsCommutative() local
1204 if (DAG.isConstantIntBuildVectorOrConstantInt(peekThroughBitcasts(N01))) { in reassociateOpsCommutative()
1212 if (SDValue OpNode = DAG.FoldConstantArithmetic(Opc, DL, VT, {N01, N1})) in reassociateOpsCommutative()
1220 return DAG.getNode(Opc, DL, VT, OpNode, N01, NewFlags); in reassociateOpsCommutative()
1230 if (N1 == N00 || N1 == N01) in reassociateOpsCommutative()
1236 return N01; in reassociateOpsCommutative()
1238 if (N1 == N01) in reassociateOpsCommutative()
1243 if (N1 != N01) { in reassociateOpsCommutative()
1248 if (!DAG.doesNodeExist(Opc, DAG.getVTList(VT), {SDValue(NE, 0), N01})) in reassociateOpsCommutative()
1249 return DAG.getNode(Opc, DL, VT, SDValue(NE, 0), N01); in reassociateOpsCommutative()
1255 if (SDNode *NE = DAG.getNodeIfExists(Opc, DAG.getVTList(VT), {N01, N1})) { in reassociateOpsCommutative()
1272 N01->getOpcode() == ISD::SETCC) { in reassociateOpsCommutative()
1275 ISD::CondCode CC01 = cast<CondCodeSDNode>(N01.getOperand(2))->get(); in reassociateOpsCommutative()
1278 return DAG.getNode(Opc, DL, VT, OpNode, N01, Flags); in reassociateOpsCommutative()
1281 SDValue OpNode = DAG.getNode(Opc, SDLoc(N0), VT, N01, N1, Flags); in reassociateOpsCommutative()
2675 SDValue N01 = N0.getOperand(1); in visitADDLike() local
2678 if (SDValue Sub = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N1, N01})) in visitADDLike()
2707 SDValue N01 = N0.getOperand(1); in visitADDLike() local
2708 if (SDValue Add = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N1, N01})) in visitADDLike()
3900 SDValue N01 = N0.getOperand(1); in visitSUB() local
3901 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N01, N1})) in visitSUB()
3914 SDValue N01 = N0.getOperand(1); in visitSUB() local
3915 if (SDValue NewC = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N01, N1})) in visitSUB()
4459 SDValue N01 = N0.getOperand(1); in visitMUL() local
4460 if (SDValue C3 = DAG.FoldConstantArithmetic(ISD::SHL, DL, VT, {N1, N01})) in visitMUL()
5560 SDValue N00, N01, N02, N03; in isSaturatingMinMax() local
5566 N01 = N03 = N0.getOperand(1); in isSaturatingMinMax()
5571 N01 = N0.getOperand(1); in isSaturatingMinMax()
5581 N01 = N0.getOperand(0).getOperand(1); in isSaturatingMinMax()
5590 unsigned Opcode1 = isSignedMinMax(N00, N01, N02, N03, N0CC); in isSaturatingMinMax()
5594 ConstantSDNode *MinCOp = isConstOrConstSplat(Opcode0 == ISD::SMIN ? N1 : N01); in isSaturatingMinMax()
5595 ConstantSDNode *MaxCOp = isConstOrConstSplat(Opcode0 == ISD::SMIN ? N01 : N1); in isSaturatingMinMax()
7659 SDValue N01 = N0.getOperand(1); in MatchBSwapHWord() local
7660 if (!(isBSwapHWordElement(N01, Parts) && isBSwapHWordPair(N00, Parts)) && in MatchBSwapHWord()
7661 !(isBSwapHWordElement(N00, Parts) && isBSwapHWordPair(N01, Parts))) in MatchBSwapHWord()
7756 SDValue N01 = N0Resized.getOperand(1); in visitORCommutative() local
7759 if (N00 == N1Resized || N01 == N1Resized) in visitORCommutative()
7764 if (SDValue NotOperand = getBitwiseNotOperand(N01, N00, in visitORCommutative()
7772 if (SDValue NotOperand = getBitwiseNotOperand(N00, N01, in visitORCommutative()
7775 return DAG.getNode(ISD::OR, DL, VT, DAG.getZExtOrTrunc(N01, DL, VT), in visitORCommutative()
9502 SDValue N00 = N0.getOperand(0), N01 = N0.getOperand(1); in visitXOR() local
9503 if (isOneUseSetCC(N01) || isOneUseSetCC(N00)) { in visitXOR()
9506 N01 = DAG.getNode(ISD::XOR, SDLoc(N01), VT, N01, N1); // N01 = ~N01 in visitXOR()
9507 AddToWorklist(N00.getNode()); AddToWorklist(N01.getNode()); in visitXOR()
9508 return DAG.getNode(NewOpcode, DL, VT, N00, N01); in visitXOR()
9514 SDValue N00 = N0.getOperand(0), N01 = N0.getOperand(1); in visitXOR() local
9515 if (isa<ConstantSDNode>(N01) || isa<ConstantSDNode>(N00)) { in visitXOR()
9518 N01 = DAG.getNode(ISD::XOR, SDLoc(N01), VT, N01, N1); // N01 = ~N01 in visitXOR()
9519 AddToWorklist(N00.getNode()); AddToWorklist(N01.getNode()); in visitXOR()
9520 return DAG.getNode(NewOpcode, DL, VT, N00, N01); in visitXOR()
9766 SDValue N01 = N->getOperand(0).getOperand(1); in distributeTruncateThroughAnd() local
9767 if (isConstantOrConstantVector(N01, /* NoOpaques */ true)) { in distributeTruncateThroughAnd()
9771 SDValue Trunc01 = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, N01); in distributeTruncateThroughAnd()
9887 SDValue N01 = N0->getOperand(1); in visitSHL() local
9888 BuildVectorSDNode *N01CV = dyn_cast<BuildVectorSDNode>(N01); in visitSHL()
9894 DAG.FoldConstantArithmetic(ISD::SHL, DL, VT, {N01, N1})) in visitSHL()
10025 SDValue N01 = DAG.getZExtOrTrunc(N0.getOperand(1), DL, ShiftVT); in visitSHL() local
10026 SDValue Diff = DAG.getNode(ISD::SUB, DL, ShiftVT, N1, N01); in visitSHL()
10032 SDValue N01 = DAG.getZExtOrTrunc(N0.getOperand(1), DL, ShiftVT); in visitSHL() local
10033 SDValue Diff = DAG.getNode(ISD::SUB, DL, ShiftVT, N01, N1); in visitSHL()
10048 SDValue N01 = DAG.getZExtOrTrunc(N0.getOperand(1), DL, ShiftVT); in visitSHL() local
10049 SDValue Diff = DAG.getNode(ISD::SUB, DL, ShiftVT, N01, N1); in visitSHL()
10051 Mask = DAG.getNode(ISD::SHL, DL, VT, Mask, N01); in visitSHL()
10059 SDValue N01 = DAG.getZExtOrTrunc(N0.getOperand(1), DL, ShiftVT); in visitSHL() local
10060 SDValue Diff = DAG.getNode(ISD::SUB, DL, ShiftVT, N1, N01); in visitSHL()
10083 SDValue N01 = N0.getOperand(1); in visitSHL() local
10085 DAG.FoldConstantArithmetic(ISD::SHL, SDLoc(N1), VT, {N01, N1})) { in visitSHL()
10119 SDValue N01 = N0.getOperand(1); in visitSHL() local
10121 DAG.FoldConstantArithmetic(ISD::SHL, SDLoc(N1), VT, {N01, N1})) in visitSHL()
10624 SDValue N01 = DAG.getZExtOrTrunc(N0.getOperand(1), DL, ShiftVT); in visitSRL() local
10625 SDValue Diff = DAG.getNode(ISD::SUB, DL, ShiftVT, N01, N1); in visitSRL()
10627 Mask = DAG.getNode(ISD::SRL, DL, VT, Mask, N01); in visitSRL()
10635 SDValue N01 = DAG.getZExtOrTrunc(N0.getOperand(1), DL, ShiftVT); in visitSRL() local
10636 SDValue Diff = DAG.getNode(ISD::SUB, DL, ShiftVT, N1, N01); in visitSRL()
13446 SDValue N01 = N0.getOperand(1); in foldSextSetcc() local
13471 return DAG.getSetCC(DL, VT, N00, N01, CC); in foldSextSetcc()
13478 SDValue VsetCC = DAG.getSetCC(DL, MatchingVecType, N00, N01, CC); in foldSextSetcc()
13522 if (IsFreeToExtend(N00) && IsFreeToExtend(N01)) { in foldSextSetcc()
13524 SDValue Ext1 = DAG.getNode(ExtOpcode, DL, VT, N01); in foldSextSetcc()
13546 if (SDValue SCC = SimplifySelectCC(DL, N00, N01, ExtTrueVal, Zero, CC, true)) in foldSextSetcc()
13557 SDValue SetCC = DAG.getSetCC(DL, SetCCVT, N00, N01, CC); in foldSextSetcc()
14588 if (ConstantSDNode *N01 = dyn_cast<ConstantSDNode>(N0.getOperand(1))) { in reduceLoadWidth() local
14589 ShLeftAmt = N01->getZExtValue(); in reduceLoadWidth()
16193 SDValue N01 = N0.getOperand(0).getOperand(1); in visitFSUBForFMACombine() local
16195 matcher.getNode(ISD::FNEG, SL, VT, N00), N01, in visitFSUBForFMACombine()
16978 SDValue N01 = N0.getOperand(1); in visitFMUL() local
16981 if (DAG.isConstantFPBuildVectorOrConstantFP(N01) && in visitFMUL()
16983 SDValue MulConsts = DAG.getNode(ISD::FMUL, DL, VT, N01, N1); in visitFMUL()