Lines Matching refs:DL

361   DebugLoc DL = Op.getDebugLoc();  in LowerBUILD_VECTOR()  local
363 DL, in LowerBUILD_VECTOR()
386 DL, in LowerBUILD_VECTOR()
397 DL, in LowerBUILD_VECTOR()
408 DL, in LowerBUILD_VECTOR()
424 DebugLoc DL = Op.getDebugLoc(); in LowerSIGN_EXTEND_INREG() local
434 Data = DAG.getNode(ISD::ZERO_EXTEND, DL, IVT, Data); in LowerSIGN_EXTEND_INREG()
440 Data = DAG.getNode(ISD::SHL, DL, DVT, Data, Shift); in LowerSIGN_EXTEND_INREG()
442 Data = DAG.getNode(ISD::SRA, DL, DVT, Data, Shift); in LowerSIGN_EXTEND_INREG()
446 Data = DAG.getSExtOrTrunc(Data, DL, Op.getOperand(0).getValueType()); in LowerSIGN_EXTEND_INREG()
491 DebugLoc DL = Op.getDebugLoc(); in LowerSDIV24() local
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()
518 jq = DAG.getSExtOrTrunc(jq, DL, INTTY); in LowerSDIV24()
521 SDValue ia = DAG.getSExtOrTrunc(LHS, DL, INTTY); in LowerSDIV24()
524 SDValue ib = DAG.getSExtOrTrunc(RHS, DL, INTTY); in LowerSDIV24()
527 SDValue fa = DAG.getNode(ISD::SINT_TO_FP, DL, FLTTY, ia); in LowerSDIV24()
530 SDValue fb = DAG.getNode(ISD::SINT_TO_FP, DL, FLTTY, ib); in LowerSDIV24()
533 SDValue fq = DAG.getNode(AMDGPUISD::DIV_INF, DL, FLTTY, fa, fb); in LowerSDIV24()
536 fq = DAG.getNode(ISD::FTRUNC, DL, FLTTY, fq); in LowerSDIV24()
539 SDValue fqneg = DAG.getNode(ISD::FNEG, DL, FLTTY, fq); in LowerSDIV24()
542 SDValue fr = DAG.getNode(AMDGPUISD::MAD, DL, FLTTY, fqneg, fb, fa); in LowerSDIV24()
545 SDValue iq = DAG.getNode(ISD::FP_TO_SINT, DL, INTTY, fq); in LowerSDIV24()
548 fr = DAG.getNode(ISD::FABS, DL, FLTTY, fr); in LowerSDIV24()
551 fb = DAG.getNode(ISD::FABS, DL, FLTTY, fb); in LowerSDIV24()
556 cv = DAG.getSetCC(DL, INTTY, fr, fb, ISD::SETOGE); in LowerSDIV24()
558 cv = DAG.getSetCC(DL, INTTY, fr, fb, ISD::SETOGE); in LowerSDIV24()
561 jq = DAG.getNode(ISD::SELECT, DL, OVT, cv, jq, in LowerSDIV24()
564 iq = DAG.getSExtOrTrunc(iq, DL, OVT); in LowerSDIV24()
565 iq = DAG.getNode(ISD::ADD, DL, OVT, iq, jq); in LowerSDIV24()
572 DebugLoc DL = Op.getDebugLoc(); in LowerSDIV32() local
597 SDValue r10 = DAG.getSelectCC(DL, in LowerSDIV32()
604 SDValue r11 = DAG.getSelectCC(DL, 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()
645 DebugLoc DL = Op.getDebugLoc(); in LowerSREM8() local
653 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY); in LowerSREM8()
654 SDValue RHS = DAG.getSExtOrTrunc(Op.getOperand(1), DL, INTTY); in LowerSREM8()
655 LHS = DAG.getNode(ISD::SREM, DL, INTTY, LHS, RHS); in LowerSREM8()
656 LHS = DAG.getSExtOrTrunc(LHS, DL, OVT); in LowerSREM8()
663 DebugLoc DL = Op.getDebugLoc(); in LowerSREM16() local
671 SDValue LHS = DAG.getSExtOrTrunc(Op.getOperand(0), DL, INTTY); in LowerSREM16()
672 SDValue RHS = DAG.getSExtOrTrunc(Op.getOperand(1), DL, INTTY); in LowerSREM16()
673 LHS = DAG.getNode(ISD::SREM, DL, INTTY, LHS, RHS); in LowerSREM16()
674 LHS = DAG.getSExtOrTrunc(LHS, DL, OVT); in LowerSREM16()
681 DebugLoc DL = Op.getDebugLoc(); 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()