Lines Matching refs:Op1
45 : Op0(Op0In), Op1(Op1In), Opcode(0), ICmpType(0), CCValid(0), CCMask(0) {} in Comparison()
48 SDValue Op0, Op1; member
1545 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1.getNode()); in adjustZeroCmp()
1555 C.Op1 = DAG.getConstant(0, DL, C.Op1.getValueType()); in adjustZeroCmp()
1566 C.Op1.getOpcode() != ISD::Constant) in adjustSubwordCmp()
1577 auto *ConstOp1 = cast<ConstantSDNode>(C.Op1); in adjustSubwordCmp()
1624 if (C.Op1.getValueType() != MVT::i32 || in adjustSubwordCmp()
1626 C.Op1 = DAG.getConstant(Value, DL, MVT::i32); in adjustSubwordCmp()
1661 if (isa<ConstantFPSDNode>(C.Op1)) in shouldSwapCmpOperands()
1666 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in shouldSwapCmpOperands()
1672 if (isNaturalMemoryOperand(C.Op1, C.ICmpType) && C.Op1.hasOneUse()) in shouldSwapCmpOperands()
1728 ((N->getOperand(0) == C.Op0 && N->getOperand(1) == C.Op1) || in adjustForSubtraction()
1729 (N->getOperand(0) == C.Op1 && N->getOperand(1) == C.Op0))) { in adjustForSubtraction()
1731 C.Op1 = DAG.getConstant(0, DL, N->getValueType(0)); in adjustForSubtraction()
1743 auto *C1 = dyn_cast<ConstantFPSDNode>(C.Op1); in adjustForFNeg()
1766 C.Op1.getOpcode() == ISD::Constant && in adjustForLTGFR()
1767 cast<ConstantSDNode>(C.Op1)->getZExtValue() == 0) { in adjustForLTGFR()
1790 C.Op1.getOpcode() == ISD::Constant && in adjustICmpTruncate()
1791 cast<ConstantSDNode>(C.Op1)->getZExtValue() == 0) { in adjustICmpTruncate()
1799 C.Op1 = DAG.getConstant(0, DL, C.Op0.getValueType()); in adjustICmpTruncate()
1920 auto *ConstOp1 = dyn_cast<ConstantSDNode>(C.Op1); in adjustForTestUnderMask()
1931 NewC.Op1 = C.Op0.getOperand(1); in adjustForTestUnderMask()
1932 Mask = dyn_cast<ConstantSDNode>(NewC.Op1); in adjustForTestUnderMask()
1994 C.Op1 = SDValue(Mask, 0); in adjustForTestUnderMask()
1996 C.Op1 = DAG.getConstant(MaskVal, DL, C.Op0.getValueType()); in adjustForTestUnderMask()
2068 (DAG.SignBitIsZero(C.Op0) && DAG.SignBitIsZero(C.Op1))) in getCmp()
2083 std::swap(C.Op0, C.Op1); in getCmp()
2093 if (!C.Op1.getNode()) { in emitCmp()
2108 return DAG.getNode(SystemZISD::ICMP, DL, MVT::Glue, C.Op0, C.Op1, in emitCmp()
2113 return DAG.getNode(SystemZISD::TM, DL, MVT::Glue, C.Op0, C.Op1, in emitCmp()
2116 return DAG.getNode(C.Opcode, DL, MVT::Glue, C.Op0, C.Op1); in emitCmp()
2123 unsigned Extend, SDValue Op0, SDValue Op1, in lowerMUL_LOHI32() argument
2126 Op1 = DAG.getNode(Extend, DL, MVT::i64, Op1); in lowerMUL_LOHI32()
2127 SDValue Mul = DAG.getNode(ISD::MUL, DL, MVT::i64, Op0, Op1); in lowerMUL_LOHI32()
2141 SDValue Op0, SDValue Op1, in lowerGR128Binary() argument
2145 SDValue(In128, 0), Op1); in lowerGR128Binary()
2371 C.Op1.getOpcode() == ISD::Constant && in lowerSELECT_CC()
2372 cast<ConstantSDNode>(C.Op1)->getZExtValue() == 0) { in lowerSELECT_CC()
2861 SDValue Op1 = Op.getOperand(1); in lowerSDIVREM() local
2870 } else if (DAG.ComputeNumSignBits(Op1) > 32) { in lowerSDIVREM()
2871 Op1 = DAG.getNode(ISD::TRUNCATE, DL, MVT::i32, Op1); in lowerSDIVREM()
2881 Op0, Op1, Ops[1], Ops[0]); in lowerSDIVREM()
3557 const Permute &P, SDValue Op0, SDValue Op1) { in getPermuteNode() argument
3567 Op1 = DAG.getNode(ISD::BITCAST, DL, InVT, Op1); in getPermuteNode()
3571 Op = DAG.getNode(SystemZISD::PERMUTE_DWORDS, DL, InVT, Op0, Op1, Op2); in getPermuteNode()
3575 Op = DAG.getNode(SystemZISD::PACK, DL, OutVT, Op0, Op1); in getPermuteNode()
3577 Op = DAG.getNode(P.Opcode, DL, InVT, Op0, Op1); in getPermuteNode()
3797 SDValue Op0, SDValue Op1) { in buildMergeScalars() argument
3799 if (Op1.getOpcode() == ISD::UNDEF) in buildMergeScalars()
3801 return DAG.getNode(SystemZISD::REPLICATE, DL, VT, Op1); in buildMergeScalars()
3803 if (Op1.getOpcode() == ISD::UNDEF) in buildMergeScalars()
3807 buildScalarToVector(DAG, DL, VT, Op1)); in buildMergeScalars()
3813 SDValue Op1) { in joinDwords() argument
3814 if (Op0.getOpcode() == ISD::UNDEF && Op1.getOpcode() == ISD::UNDEF) in joinDwords()
3819 Op0 = Op1 = DAG.getNode(ISD::ANY_EXTEND, DL, MVT::i64, Op1); in joinDwords()
3820 else if (Op1.getOpcode() == ISD::UNDEF) in joinDwords()
3821 Op0 = Op1 = DAG.getNode(ISD::ANY_EXTEND, DL, MVT::i64, Op0); in joinDwords()
3824 Op1 = DAG.getNode(ISD::ANY_EXTEND, DL, MVT::i64, Op1); in joinDwords()
3826 return DAG.getNode(SystemZISD::JOIN_DWORDS, DL, MVT::v2i64, Op0, Op1); in joinDwords()
4186 SDValue Op1 = Op.getOperand(1); in lowerINSERT_VECTOR_ELT() local
4194 Op1.getOpcode() != ISD::BITCAST && in lowerINSERT_VECTOR_ELT()
4195 Op1.getOpcode() != ISD::ConstantFP && in lowerINSERT_VECTOR_ELT()
4208 DAG.getNode(ISD::BITCAST, DL, IntVT, Op1), Op2); in lowerINSERT_VECTOR_ELT()
4218 SDValue Op1 = Op.getOperand(1); in lowerEXTRACT_VECTOR_ELT() local
4223 if (auto *CIndexN = dyn_cast<ConstantSDNode>(Op1)) { in lowerEXTRACT_VECTOR_ELT()
4234 DAG.getNode(ISD::BITCAST, DL, IntVecVT, Op0), Op1); in lowerEXTRACT_VECTOR_ELT()
4259 SDValue Op1 = Op.getOperand(1); in lowerShift() local
4265 if (auto *BVN = dyn_cast<BuildVectorSDNode>(Op1)) { in lowerShift()
4291 if (auto *VSN = dyn_cast<ShuffleVectorSDNode>(Op1)) { in lowerShift()
4712 SDValue Op1 = N->getOperand(1); in PerformDAGCombine() local
4719 if (Op1 == N->getOperand(0)) in PerformDAGCombine()
4720 return Op1; in PerformDAGCombine()
4722 EVT VT = Op1.getValueType(); in PerformDAGCombine()
4731 Op1 = DAG.getNode(ISD::BITCAST, SDLoc(N), InVT, Op1); in PerformDAGCombine()
4732 DCI.AddToWorklist(Op1.getNode()); in PerformDAGCombine()
4734 SDValue Op = DAG.getNode(Opcode, SDLoc(N), OutVT, Op1); in PerformDAGCombine()