Lines Matching refs:Op0
45 : Op0(Op0In), Op1(Op1In), Opcode(0), ICmpType(0), CCValid(0), CCMask(0) {} in Comparison()
48 SDValue Op0, Op1; member
1205 if (!C.Op0.hasOneUse() || in adjustSubwordCmp()
1206 C.Op0.getOpcode() != ISD::LOAD || in adjustSubwordCmp()
1211 auto *Load = cast<LoadSDNode>(C.Op0); in adjustSubwordCmp()
1256 if (C.Op0.getValueType() != MVT::i32 || in adjustSubwordCmp()
1258 C.Op0 = DAG.getExtLoad(ExtType, SDLoc(Load), MVT::i32, in adjustSubwordCmp()
1296 if (C.Op0.getValueType() == MVT::f128) in shouldSwapCmpOperands()
1318 if (isNaturalMemoryOperand(C.Op0, C.ICmpType) && C.Op0.hasOneUse()) { in shouldSwapCmpOperands()
1337 unsigned Opcode0 = C.Op0.getOpcode(); in shouldSwapCmpOperands()
1344 C.Op0.getOperand(1).getOpcode() == ISD::Constant && in shouldSwapCmpOperands()
1345 cast<ConstantSDNode>(C.Op0.getOperand(1))->getZExtValue() == 0xffffffff) in shouldSwapCmpOperands()
1366 for (auto I = C.Op0->use_begin(), E = C.Op0->use_end(); I != E; ++I) { in adjustForSubtraction()
1369 ((N->getOperand(0) == C.Op0 && N->getOperand(1) == C.Op1) || in adjustForSubtraction()
1370 (N->getOperand(0) == C.Op1 && N->getOperand(1) == C.Op0))) { in adjustForSubtraction()
1371 C.Op0 = SDValue(N, 0); in adjustForSubtraction()
1386 for (auto I = C.Op0->use_begin(), E = C.Op0->use_end(); I != E; ++I) { in adjustForFNeg()
1389 C.Op0 = SDValue(N, 0); in adjustForFNeg()
1405 if (C.Op0.getOpcode() == ISD::SHL && in adjustForLTGFR()
1406 C.Op0.getValueType() == MVT::i64 && in adjustForLTGFR()
1409 auto *C1 = dyn_cast<ConstantSDNode>(C.Op0.getOperand(1)); in adjustForLTGFR()
1411 SDValue ShlOp0 = C.Op0.getOperand(0); in adjustForLTGFR()
1417 C.Op0 = SDValue(N, 0); in adjustForLTGFR()
1429 if (C.Op0.getOpcode() == ISD::TRUNCATE && in adjustICmpTruncate()
1430 C.Op0.getOperand(0).getOpcode() == ISD::LOAD && in adjustICmpTruncate()
1433 auto *L = cast<LoadSDNode>(C.Op0.getOperand(0)); in adjustICmpTruncate()
1435 <= C.Op0.getValueType().getSizeInBits()) { in adjustICmpTruncate()
1439 C.Op0 = C.Op0.getOperand(0); in adjustICmpTruncate()
1440 C.Op1 = DAG.getConstant(0, C.Op0.getValueType()); in adjustICmpTruncate()
1570 if (C.Op0.getOpcode() == ISD::AND) { in adjustForTestUnderMask()
1571 NewC.Op0 = C.Op0.getOperand(0); in adjustForTestUnderMask()
1572 NewC.Op1 = C.Op0.getOperand(1); in adjustForTestUnderMask()
1581 if (NewC.Op0.getValueType() != MVT::i64 || in adjustForTestUnderMask()
1604 unsigned BitSize = NewC.Op0.getValueType().getSizeInBits(); in adjustForTestUnderMask()
1607 NewC.Op0.getOpcode() == ISD::SHL && in adjustForTestUnderMask()
1608 isSimpleShift(NewC.Op0, ShiftVal) && in adjustForTestUnderMask()
1613 NewC.Op0 = NewC.Op0.getOperand(0); in adjustForTestUnderMask()
1616 NewC.Op0.getOpcode() == ISD::SRL && in adjustForTestUnderMask()
1617 isSimpleShift(NewC.Op0, ShiftVal) && in adjustForTestUnderMask()
1622 NewC.Op0 = NewC.Op0.getOperand(0); in adjustForTestUnderMask()
1633 C.Op0 = NewC.Op0; in adjustForTestUnderMask()
1637 C.Op1 = DAG.getConstant(MaskVal, C.Op0.getValueType()); in adjustForTestUnderMask()
1691 if (C.Op0.getValueType().isFloatingPoint()) { in getCmp()
1705 (DAG.SignBitIsZero(C.Op0) && DAG.SignBitIsZero(C.Op1))) in getCmp()
1720 std::swap(C.Op0, C.Op1); in getCmp()
1732 switch (C.Op0.getOpcode()) { in emitCmp()
1734 Op = emitIntrinsicWithChainAndGlue(DAG, C.Op0, C.Opcode); in emitCmp()
1742 return DAG.getNode(SystemZISD::ICMP, DL, MVT::Glue, C.Op0, C.Op1, in emitCmp()
1747 return DAG.getNode(SystemZISD::TM, DL, MVT::Glue, C.Op0, C.Op1, in emitCmp()
1750 return DAG.getNode(C.Opcode, DL, MVT::Glue, C.Op0, C.Op1); in emitCmp()
1757 unsigned Extend, SDValue Op0, SDValue Op1, in lowerMUL_LOHI32() argument
1759 Op0 = DAG.getNode(Extend, DL, MVT::i64, Op0); in lowerMUL_LOHI32()
1761 SDValue Mul = DAG.getNode(ISD::MUL, DL, MVT::i64, Op0, Op1); in lowerMUL_LOHI32()
1774 SDValue Op0, SDValue Op1, in lowerGR128Binary() argument
1776 SDNode *In128 = DAG.getMachineNode(Extend, DL, MVT::Untyped, Op0); in lowerGR128Binary()
1876 if (isAbsolute(C.Op0, TrueOp, FalseOp)) in lowerSELECT_CC()
1878 if (isAbsolute(C.Op0, FalseOp, TrueOp)) in lowerSELECT_CC()
2319 SDValue Op0 = Op.getOperand(0); in lowerSDIVREM() local
2327 Op0 = DAG.getNode(ISD::SIGN_EXTEND, DL, MVT::i64, Op0); in lowerSDIVREM()
2340 Op0, Op1, Ops[1], Ops[0]); in lowerSDIVREM()