Lines Matching refs:OVT

319   EVT OVT = Op.getValueType();  in LowerSDIV()  local
321 if (OVT.getScalarType() == MVT::i64) { in LowerSDIV()
323 } else if (OVT.getScalarType() == MVT::i32) { in LowerSDIV()
325 } else if (OVT.getScalarType() == MVT::i16 in LowerSDIV()
326 || OVT.getScalarType() == MVT::i8) { in LowerSDIV()
337 EVT OVT = Op.getValueType(); in LowerSREM() local
339 if (OVT.getScalarType() == MVT::i64) { in LowerSREM()
341 } else if (OVT.getScalarType() == MVT::i32) { in LowerSREM()
343 } else if (OVT.getScalarType() == MVT::i16) { in LowerSREM()
345 } else if (OVT.getScalarType() == MVT::i8) { in LowerSREM()
492 EVT OVT = Op.getValueType(); in LowerSDIV24() local
497 if (!OVT.isVector()) { in LowerSDIV24()
500 } else if (OVT.getVectorNumElements() == 2) { in LowerSDIV24()
503 } else if (OVT.getVectorNumElements() == 4) { in LowerSDIV24()
507 unsigned bitsize = OVT.getScalarType().getSizeInBits(); in LowerSDIV24()
509 SDValue jq = DAG.getNode(ISD::XOR, DL, OVT, LHS, RHS); in LowerSDIV24()
512 jq = DAG.getNode(ISD::SRA, DL, OVT, jq, DAG.getConstant(bitsize - 2, OVT)); in LowerSDIV24()
515 jq = DAG.getNode(ISD::OR, DL, OVT, jq, DAG.getConstant(1, OVT)); in LowerSDIV24()
561 jq = DAG.getNode(ISD::SELECT, DL, OVT, cv, jq, in LowerSDIV24()
562 DAG.getConstant(0, OVT)); in LowerSDIV24()
564 iq = DAG.getSExtOrTrunc(iq, DL, OVT); in LowerSDIV24()
565 iq = DAG.getNode(ISD::ADD, DL, OVT, iq, jq); in LowerSDIV24()
573 EVT OVT = Op.getValueType(); in LowerSDIV32() local
598 r0, DAG.getConstant(0, OVT), in LowerSDIV32()
605 r1, DAG.getConstant(0, OVT), in LowerSDIV32()
611 r0 = DAG.getNode(ISD::ADD, DL, OVT, r0, r10); in LowerSDIV32()
614 r1 = DAG.getNode(ISD::ADD, DL, OVT, r1, r11); in LowerSDIV32()
617 r0 = DAG.getNode(ISD::XOR, DL, OVT, r0, r10); in LowerSDIV32()
620 r1 = DAG.getNode(ISD::XOR, DL, OVT, r1, r11); in LowerSDIV32()
623 r0 = DAG.getNode(ISD::UDIV, DL, OVT, r0, r1); in LowerSDIV32()
626 r10 = DAG.getNode(ISD::XOR, DL, OVT, r10, r11); in LowerSDIV32()
629 r0 = DAG.getNode(ISD::ADD, DL, OVT, r0, r10); in LowerSDIV32()
632 SDValue DST = DAG.getNode(ISD::XOR, DL, OVT, r0, r10); in LowerSDIV32()
646 EVT OVT = Op.getValueType(); in LowerSREM8() local
648 if (OVT == MVT::v2i8) { in LowerSREM8()
650 } else if (OVT == MVT::v4i8) { in LowerSREM8()
656 LHS = DAG.getSExtOrTrunc(LHS, DL, OVT); in LowerSREM8()
664 EVT OVT = Op.getValueType(); in LowerSREM16() local
666 if (OVT == MVT::v2i16) { in LowerSREM16()
668 } else if (OVT == MVT::v4i16) { in LowerSREM16()
674 LHS = DAG.getSExtOrTrunc(LHS, DL, OVT); in LowerSREM16()
682 EVT OVT = Op.getValueType(); in LowerSREM32() local
707 SDValue r10 = DAG.getSetCC(DL, OVT, r0, DAG.getConstant(0, OVT), ISD::SETLT); in LowerSREM32()
710 SDValue r11 = DAG.getSetCC(DL, OVT, r1, DAG.getConstant(0, OVT), ISD::SETLT); in LowerSREM32()
713 r0 = DAG.getNode(ISD::ADD, DL, OVT, r0, r10); in LowerSREM32()
716 r1 = DAG.getNode(ISD::ADD, DL, OVT, r1, r11); in LowerSREM32()
719 r0 = DAG.getNode(ISD::XOR, DL, OVT, r0, r10); in LowerSREM32()
722 r1 = DAG.getNode(ISD::XOR, DL, OVT, r1, r11); in LowerSREM32()
725 SDValue r20 = DAG.getNode(ISD::UREM, DL, OVT, r0, r1); in LowerSREM32()
728 r20 = DAG.getNode(AMDGPUISD::UMUL, DL, OVT, r20, r1); in LowerSREM32()
731 r0 = DAG.getNode(ISD::SUB, DL, OVT, r0, r20); in LowerSREM32()
734 r0 = DAG.getNode(ISD::ADD, DL, OVT, r0, r10); in LowerSREM32()
737 SDValue DST = DAG.getNode(ISD::XOR, DL, OVT, r0, r10); in LowerSREM32()