Lines Matching refs:DL
428 SDLoc DL(ADDENode); in selectMADD() local
431 SDValue ACCIn = CurDAG->getNode(MipsISD::MTLOHI, DL, MVT::Untyped, in selectMADD()
438 SDValue MAdd = CurDAG->getNode(MultOpc, DL, MVT::Untyped, in selectMADD()
445 SDValue LoOut = CurDAG->getNode(MipsISD::MFLO, DL, MVT::i32, MAdd); in selectMADD()
449 SDValue HiOut = CurDAG->getNode(MipsISD::MFHI, DL, MVT::i32, MAdd); in selectMADD()
500 SDLoc DL(SUBENode); in selectMSUB() local
503 SDValue ACCIn = CurDAG->getNode(MipsISD::MTLOHI, DL, MVT::Untyped, in selectMSUB()
510 SDValue MSub = CurDAG->getNode(MultOpc, DL, MVT::Glue, in selectMSUB()
517 SDValue LoOut = CurDAG->getNode(MipsISD::MFLO, DL, MVT::i32, MSub); in selectMSUB()
521 SDValue HiOut = CurDAG->getNode(MipsISD::MFHI, DL, MVT::i32, MSub); in selectMSUB()
796 static SDValue genConstMult(SDValue X, uint64_t C, const SDLoc &DL, EVT VT, in genConstMult() argument
803 return DAG.getConstant(0, DL, VT); in genConstMult()
811 return DAG.getNode(ISD::SHL, DL, VT, X, in genConstMult()
812 DAG.getConstant(Log2_64(C), DL, ShiftTy)); in genConstMult()
822 SDValue Op0 = genConstMult(X, Floor, DL, VT, ShiftTy, DAG); in genConstMult()
823 SDValue Op1 = genConstMult(X, C - Floor, DL, VT, ShiftTy, DAG); in genConstMult()
824 return DAG.getNode(ISD::ADD, DL, VT, Op0, Op1); in genConstMult()
829 SDValue Op0 = genConstMult(X, Ceil, DL, VT, ShiftTy, DAG); in genConstMult()
830 SDValue Op1 = genConstMult(X, Ceil - C, DL, VT, ShiftTy, DAG); in genConstMult()
831 return DAG.getNode(ISD::SUB, DL, VT, Op0, Op1); in genConstMult()
868 SDLoc DL(N); in performDSPShiftCombine() local
869 return DAG.getNode(Opc, DL, Ty, N->getOperand(0), in performDSPShiftCombine()
870 DAG.getConstant(SplatValue.getZExtValue(), DL, MVT::i32)); in performDSPShiftCombine()
1216 SDLoc DL(Op); in lowerLOAD() local
1221 SDValue Lo = DAG.getLoad(MVT::i32, DL, Chain, Ptr, in lowerLOAD()
1227 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, DL, PtrVT)); in lowerLOAD()
1228 SDValue Hi = DAG.getLoad(MVT::i32, DL, Lo.getValue(1), Ptr, in lowerLOAD()
1236 SDValue BP = DAG.getNode(MipsISD::BuildPairF64, DL, MVT::f64, Lo, Hi); in lowerLOAD()
1238 return DAG.getMergeValues(Ops, DL); in lowerLOAD()
1248 SDLoc DL(Op); in lowerSTORE() local
1251 SDValue Lo = DAG.getNode(MipsISD::ExtractElementF64, DL, MVT::i32, in lowerSTORE()
1252 Val, DAG.getConstant(0, DL, MVT::i32)); in lowerSTORE()
1253 SDValue Hi = DAG.getNode(MipsISD::ExtractElementF64, DL, MVT::i32, in lowerSTORE()
1254 Val, DAG.getConstant(1, DL, MVT::i32)); in lowerSTORE()
1260 Chain = DAG.getStore(Chain, DL, Lo, Ptr, MachinePointerInfo(), in lowerSTORE()
1265 Ptr = DAG.getNode(ISD::ADD, DL, PtrVT, Ptr, DAG.getConstant(4, DL, PtrVT)); in lowerSTORE()
1266 return DAG.getStore(Chain, DL, Hi, Ptr, MachinePointerInfo(), in lowerSTORE()
1278 SDLoc DL(Op); in lowerMulDiv() local
1279 SDValue Mult = DAG.getNode(NewOpc, DL, MVT::Untyped, in lowerMulDiv()
1284 Lo = DAG.getNode(MipsISD::MFLO, DL, Ty, Mult); in lowerMulDiv()
1286 Hi = DAG.getNode(MipsISD::MFHI, DL, Ty, Mult); in lowerMulDiv()
1292 return DAG.getMergeValues(Vals, DL); in lowerMulDiv()
1295 static SDValue initAccumulator(SDValue In, const SDLoc &DL, SelectionDAG &DAG) { in initAccumulator() argument
1296 SDValue InLo = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, MVT::i32, In, in initAccumulator()
1297 DAG.getConstant(0, DL, MVT::i32)); in initAccumulator()
1298 SDValue InHi = DAG.getNode(ISD::EXTRACT_ELEMENT, DL, MVT::i32, In, in initAccumulator()
1299 DAG.getConstant(1, DL, MVT::i32)); in initAccumulator()
1300 return DAG.getNode(MipsISD::MTLOHI, DL, MVT::Untyped, InLo, InHi); in initAccumulator()
1303 static SDValue extractLOHI(SDValue Op, const SDLoc &DL, SelectionDAG &DAG) { in extractLOHI() argument
1304 SDValue Lo = DAG.getNode(MipsISD::MFLO, DL, MVT::i32, Op); in extractLOHI()
1305 SDValue Hi = DAG.getNode(MipsISD::MFHI, DL, MVT::i32, Op); in extractLOHI()
1306 return DAG.getNode(ISD::BUILD_PAIR, DL, MVT::i64, Lo, Hi); in extractLOHI()
1322 SDLoc DL(Op); in lowerDSPIntr() local
1338 In64 = initAccumulator(Opnd, DL, DAG); in lowerDSPIntr()
1358 SDValue Val = DAG.getNode(Opc, DL, ResTys, Ops); in lowerDSPIntr()
1359 SDValue Out = (ResTys[0] == MVT::Untyped) ? extractLOHI(Val, DL, DAG) : Val; in lowerDSPIntr()
1366 return DAG.getMergeValues(Vals, DL); in lowerDSPIntr()
1371 SDLoc DL(Op); in lowerMSACopyIntr() local
1377 SDValue Result = DAG.getNode(Opc, DL, ResTy, Vec, Idx, in lowerMSACopyIntr()
1386 SDLoc DL(Op); in lowerMSASplatZExt() local
1395 LaneA = DAG.getConstant(0, DL, MVT::i32); in lowerMSASplatZExt()
1404 ViaVecTy, DL, makeArrayRef(Ops, ViaVecTy.getVectorNumElements())); in lowerMSASplatZExt()
1407 Result = DAG.getNode(ISD::BITCAST, DL, ResVecTy, Result); in lowerMSASplatZExt()
1422 SDLoc DL(SplatValue); in getBuildVectorSplat() local
1428 SplatValueA = DAG.getNode(ISD::TRUNCATE, DL, MVT::i32, SplatValue); in getBuildVectorSplat()
1429 SplatValueB = DAG.getNode(ISD::SRL, DL, MVT::i64, SplatValue, in getBuildVectorSplat()
1430 DAG.getConstant(32, DL, MVT::i32)); in getBuildVectorSplat()
1431 SplatValueB = DAG.getNode(ISD::TRUNCATE, DL, MVT::i32, SplatValueB); in getBuildVectorSplat()
1445 ViaVecTy, DL, makeArrayRef(Ops, ViaVecTy.getVectorNumElements())); in getBuildVectorSplat()
1448 Result = DAG.getNode(ISD::BITCAST, DL, VecTy, Result); in getBuildVectorSplat()
1458 SDLoc DL(Op); in lowerMSABinaryBitImmIntr() local
1466 SDValue BitImmHiOp = DAG.getConstant(BitImm.lshr(32).trunc(32), DL, in lowerMSABinaryBitImmIntr()
1468 SDValue BitImmLoOp = DAG.getConstant(BitImm.trunc(32), DL, MVT::i32); in lowerMSABinaryBitImmIntr()
1474 ISD::BITCAST, DL, MVT::v2i64, in lowerMSABinaryBitImmIntr()
1475 DAG.getBuildVector(MVT::v4i32, DL, in lowerMSABinaryBitImmIntr()
1486 Imm = DAG.getNode(ISD::ZERO_EXTEND, DL, MVT::i64, Imm); in lowerMSABinaryBitImmIntr()
1490 Exp2Imm = DAG.getNode(ISD::SHL, DL, VecTy, DAG.getConstant(1, DL, VecTy), in lowerMSABinaryBitImmIntr()
1494 return DAG.getNode(Opc, DL, VecTy, Op->getOperand(1), Exp2Imm); in lowerMSABinaryBitImmIntr()
1499 SDLoc DL(Op); in lowerMSABitClear() local
1500 SDValue One = DAG.getConstant(1, DL, ResTy); in lowerMSABitClear()
1501 SDValue Bit = DAG.getNode(ISD::SHL, DL, ResTy, One, Op->getOperand(2)); in lowerMSABitClear()
1503 return DAG.getNode(ISD::AND, DL, ResTy, Op->getOperand(1), in lowerMSABitClear()
1504 DAG.getNOT(DL, Bit, ResTy)); in lowerMSABitClear()
1508 SDLoc DL(Op); in lowerMSABitClearImm() local
1512 SDValue BitMask = DAG.getConstant(~BitImm, DL, ResTy); in lowerMSABitClearImm()
1514 return DAG.getNode(ISD::AND, DL, ResTy, Op->getOperand(1), BitMask); in lowerMSABitClearImm()
1519 SDLoc DL(Op); in lowerINTRINSIC_WO_CHAIN() local
1560 return DAG.getNode(ISD::ADD, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1566 return DAG.getNode(ISD::ADD, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1569 return DAG.getNode(ISD::AND, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1572 return DAG.getNode(ISD::AND, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1593 return DAG.getNode(ISD::VSELECT, DL, VecTy, in lowerINTRINSIC_WO_CHAIN()
1594 DAG.getConstant(Mask, DL, VecTy, true), in lowerINTRINSIC_WO_CHAIN()
1606 return DAG.getNode(ISD::VSELECT, DL, VecTy, in lowerINTRINSIC_WO_CHAIN()
1607 DAG.getConstant(Mask, DL, VecTy, true), in lowerINTRINSIC_WO_CHAIN()
1611 return DAG.getNode(ISD::VSELECT, DL, Op->getValueType(0), Op->getOperand(3), in lowerINTRINSIC_WO_CHAIN()
1614 return DAG.getNode(ISD::VSELECT, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1618 return DAG.getNode(ISD::VSELECT, DL, Op->getValueType(0), Op->getOperand(3), in lowerINTRINSIC_WO_CHAIN()
1621 return DAG.getNode(ISD::VSELECT, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1629 SDValue One = DAG.getConstant(1, DL, VecTy); in lowerINTRINSIC_WO_CHAIN()
1631 return DAG.getNode(ISD::XOR, DL, VecTy, Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1632 DAG.getNode(ISD::SHL, DL, VecTy, One, in lowerINTRINSIC_WO_CHAIN()
1645 return DAG.getNode(MipsISD::VALL_NONZERO, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1648 return DAG.getNode(MipsISD::VANY_NONZERO, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1652 return DAG.getNode(ISD::VSELECT, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1657 return DAG.getNode(ISD::VSELECT, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1665 SDValue One = DAG.getConstant(1, DL, VecTy); in lowerINTRINSIC_WO_CHAIN()
1667 return DAG.getNode(ISD::OR, DL, VecTy, Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1668 DAG.getNode(ISD::SHL, DL, VecTy, One, in lowerINTRINSIC_WO_CHAIN()
1681 return DAG.getNode(MipsISD::VALL_ZERO, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1684 return DAG.getNode(MipsISD::VANY_ZERO, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1690 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1696 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1702 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1708 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1714 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1720 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1726 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1732 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1738 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1744 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1783 return DAG.getNode(ISD::SDIV, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1789 return DAG.getNode(ISD::UDIV, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1794 return DAG.getNode(ISD::FADD, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1800 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1804 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1808 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1812 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1816 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1820 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1824 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1828 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1832 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1836 return DAG.getSetCC(DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1841 return DAG.getNode(ISD::FDIV, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1846 return DAG.getNode(ISD::UINT_TO_FP, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1850 return DAG.getNode(ISD::SINT_TO_FP, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1862 return DAG.getBuildVector(ResTy, DL, Ops); in lowerINTRINSIC_WO_CHAIN()
1874 return DAG.getNode(ISD::FLOG2, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
1882 return DAG.getNode(ISD::FMUL, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1895 return DAG.getNode(ISD::FRINT, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
1898 return DAG.getNode(ISD::FSQRT, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
1902 return DAG.getNode(ISD::FSUB, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
1907 return DAG.getNode(ISD::FP_TO_UINT, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1911 return DAG.getNode(ISD::FP_TO_SINT, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1917 return DAG.getNode(MipsISD::ILVEV, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1923 return DAG.getNode(MipsISD::ILVL, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1929 return DAG.getNode(MipsISD::ILVOD, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1935 return DAG.getNode(MipsISD::ILVR, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1947 return DAG.getNode(MipsISD::INSVE, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1949 DAG.getConstant(0, DL, MVT::i32)); in lowerINTRINSIC_WO_CHAIN()
1975 return DAG.getNode(MipsISD::VSMAX, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1981 return DAG.getNode(MipsISD::VUMAX, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1987 return DAG.getNode(MipsISD::VSMAX, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1993 return DAG.getNode(MipsISD::VUMAX, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
1999 return DAG.getNode(MipsISD::VSMIN, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2005 return DAG.getNode(MipsISD::VUMIN, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2011 return DAG.getNode(MipsISD::VSMIN, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2017 return DAG.getNode(MipsISD::VUMIN, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2023 return DAG.getNode(ISD::SREM, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2029 return DAG.getNode(ISD::UREM, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2035 return DAG.getNode(ISD::MUL, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2050 return DAG.getNode(ISD::CTLZ, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
2052 SDValue Res = DAG.getNode(ISD::OR, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2054 return DAG.getNOT(DL, Res, Res->getValueType(0)); in lowerINTRINSIC_WO_CHAIN()
2057 SDValue Res = DAG.getNode(ISD::OR, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2060 return DAG.getNOT(DL, Res, Res->getValueType(0)); in lowerINTRINSIC_WO_CHAIN()
2063 return DAG.getNode(ISD::OR, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2066 return DAG.getNode(ISD::OR, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2072 return DAG.getNode(MipsISD::PCKEV, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2078 return DAG.getNode(MipsISD::PCKOD, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2084 return DAG.getNode(ISD::CTPOP, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
2088 return DAG.getNode(MipsISD::SHF, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2094 return DAG.getNode(ISD::SHL, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2100 return DAG.getNode(ISD::SHL, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2110 return DAG.getNode(MipsISD::VSHF, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2117 return DAG.getNode(MipsISD::VSHF, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2124 return DAG.getNode(ISD::SRA, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2130 return DAG.getNode(ISD::SRA, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2136 return DAG.getNode(ISD::SRL, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2142 return DAG.getNode(ISD::SRL, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2148 return DAG.getNode(ISD::SUB, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2154 return DAG.getNode(ISD::SUB, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2160 return DAG.getNode(MipsISD::VSHF, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2163 return DAG.getNode(ISD::XOR, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
2166 return DAG.getNode(ISD::XOR, DL, Op->getValueType(0), in lowerINTRINSIC_WO_CHAIN()
2170 return DAG.getNode(MipsISD::ThreadPointer, DL, PtrVT); in lowerINTRINSIC_WO_CHAIN()
2176 SDLoc DL(Op); in lowerMSALoadIntr() local
2183 Address = DAG.getNode(ISD::ADD, DL, PtrTy, Address, Offset); in lowerMSALoadIntr()
2185 return DAG.getLoad(ResTy, DL, ChainIn, Address, MachinePointerInfo(), false, in lowerMSALoadIntr()
2244 SDLoc DL(Op); in lowerMSAStoreIntr() local
2251 Address = DAG.getNode(ISD::ADD, DL, PtrTy, Address, Offset); in lowerMSAStoreIntr()
2253 return DAG.getStore(ChainIn, DL, Value, Address, MachinePointerInfo(), false, in lowerMSAStoreIntr()
2298 SDLoc DL(Op); in lowerEXTRACT_VECTOR_ELT() local
2309 return DAG.getNode(MipsISD::VEXTRACT_SEXT_ELT, DL, ResTy, Op0, Op1, in lowerEXTRACT_VECTOR_ELT()
2350 SDLoc DL(Op); in lowerBUILD_VECTOR() local
2393 SDValue Result = DAG.getConstant(SplatValue, DL, ViaVecTy); in lowerBUILD_VECTOR()
2413 Vector = DAG.getNode(ISD::INSERT_VECTOR_ELT, DL, ResTy, Vector, in lowerBUILD_VECTOR()
2415 DAG.getConstant(i, DL, MVT::i32)); in lowerBUILD_VECTOR()
2485 SDLoc DL(Op); in lowerVECTOR_SHUFFLE_SHF() local
2486 return DAG.getNode(MipsISD::SHF, DL, ResTy, in lowerVECTOR_SHUFFLE_SHF()
2487 DAG.getConstant(Imm, DL, MVT::i32), Op->getOperand(0)); in lowerVECTOR_SHUFFLE_SHF()
2830 SDLoc DL(Op); in lowerVECTOR_SHUFFLE_VSHF() local
2845 Ops.push_back(DAG.getTargetConstant(*I, DL, MaskEltTy)); in lowerVECTOR_SHUFFLE_VSHF()
2847 SDValue MaskVec = DAG.getBuildVector(MaskVecTy, DL, Ops); in lowerVECTOR_SHUFFLE_VSHF()
2866 return DAG.getNode(MipsISD::VSHF, DL, ResTy, MaskVec, Op1, Op0); in lowerVECTOR_SHUFFLE_VSHF()
2926 DebugLoc DL = MI.getDebugLoc(); in emitBPOSGE32() local
2949 BuildMI(BB, DL, TII->get(Mips::BPOSGE32)).addMBB(TBB); in emitBPOSGE32()
2951 BuildMI(BB, DL, TII->get(Mips::BPOSGE32C_MMR3)).addMBB(TBB); in emitBPOSGE32()
2955 BuildMI(*FBB, FBB->end(), DL, TII->get(Mips::ADDiu), VR2) in emitBPOSGE32()
2957 BuildMI(*FBB, FBB->end(), DL, TII->get(Mips::B)).addMBB(Sink); in emitBPOSGE32()
2961 BuildMI(*TBB, TBB->end(), DL, TII->get(Mips::ADDiu), VR1) in emitBPOSGE32()
2965 BuildMI(*Sink, Sink->begin(), DL, TII->get(Mips::PHI), in emitBPOSGE32()
2995 DebugLoc DL = MI.getDebugLoc(); in emitMSACBranchPseudo() local
3018 BuildMI(BB, DL, TII->get(BranchOp)) in emitMSACBranchPseudo()
3024 BuildMI(*FBB, FBB->end(), DL, TII->get(Mips::ADDiu), RD1) in emitMSACBranchPseudo()
3026 BuildMI(*FBB, FBB->end(), DL, TII->get(Mips::B)).addMBB(Sink); in emitMSACBranchPseudo()
3030 BuildMI(*TBB, TBB->end(), DL, TII->get(Mips::ADDiu), RD2) in emitMSACBranchPseudo()
3034 BuildMI(*Sink, Sink->begin(), DL, TII->get(Mips::PHI), in emitMSACBranchPseudo()
3060 DebugLoc DL = MI.getDebugLoc(); in emitCOPY_FW() local
3072 BuildMI(*BB, MI, DL, TII->get(Mips::COPY), Wt).addReg(Ws); in emitCOPY_FW()
3075 BuildMI(*BB, MI, DL, TII->get(Mips::COPY), Fd).addReg(Wt, 0, Mips::sub_lo); in emitCOPY_FW()
3081 BuildMI(*BB, MI, DL, TII->get(Mips::SPLATI_W), Wt).addReg(Ws).addImm(Lane); in emitCOPY_FW()
3082 BuildMI(*BB, MI, DL, TII->get(Mips::COPY), Fd).addReg(Wt, 0, Mips::sub_lo); in emitCOPY_FW()
3109 DebugLoc DL = MI.getDebugLoc(); in emitCOPY_FD() local
3112 BuildMI(*BB, MI, DL, TII->get(Mips::COPY), Fd).addReg(Ws, 0, Mips::sub_64); in emitCOPY_FD()
3116 BuildMI(*BB, MI, DL, TII->get(Mips::SPLATI_D), Wt).addReg(Ws).addImm(1); in emitCOPY_FD()
3117 BuildMI(*BB, MI, DL, TII->get(Mips::COPY), Fd).addReg(Wt, 0, Mips::sub_64); in emitCOPY_FD()
3135 DebugLoc DL = MI.getDebugLoc(); in emitINSERT_FW() local
3144 BuildMI(*BB, MI, DL, TII->get(Mips::SUBREG_TO_REG), Wt) in emitINSERT_FW()
3148 BuildMI(*BB, MI, DL, TII->get(Mips::INSVE_W), Wd) in emitINSERT_FW()
3171 DebugLoc DL = MI.getDebugLoc(); in emitINSERT_FD() local
3178 BuildMI(*BB, MI, DL, TII->get(Mips::SUBREG_TO_REG), Wt) in emitINSERT_FD()
3182 BuildMI(*BB, MI, DL, TII->get(Mips::INSVE_D), Wd) in emitINSERT_FD()
3217 DebugLoc DL = MI.getDebugLoc(); in emitINSERT_DF_VIDX() local
3263 BuildMI(*BB, MI, DL, TII->get(Mips::SUBREG_TO_REG), Wt) in emitINSERT_DF_VIDX()
3273 BuildMI(*BB, MI, DL, TII->get(ShiftOp), LaneTmp1) in emitINSERT_DF_VIDX()
3281 BuildMI(*BB, MI, DL, TII->get(Mips::SLD_B), WdTmp1) in emitINSERT_DF_VIDX()
3289 BuildMI(*BB, MI, DL, TII->get(InsveOp), WdTmp2) in emitINSERT_DF_VIDX()
3296 BuildMI(*BB, MI, DL, TII->get(InsertOp), WdTmp2) in emitINSERT_DF_VIDX()
3306 BuildMI(*BB, MI, DL, TII->get(Subtarget.isABI_N64() ? Mips::DSUB : Mips::SUB), in emitINSERT_DF_VIDX()
3310 BuildMI(*BB, MI, DL, TII->get(Mips::SLD_B), Wd) in emitINSERT_DF_VIDX()
3331 DebugLoc DL = MI.getDebugLoc(); in emitFILL_FW() local
3337 BuildMI(*BB, MI, DL, TII->get(Mips::IMPLICIT_DEF), Wt1); in emitFILL_FW()
3338 BuildMI(*BB, MI, DL, TII->get(Mips::INSERT_SUBREG), Wt2) in emitFILL_FW()
3342 BuildMI(*BB, MI, DL, TII->get(Mips::SPLATI_W), Wd).addReg(Wt2).addImm(0); in emitFILL_FW()
3362 DebugLoc DL = MI.getDebugLoc(); in emitFILL_FD() local
3368 BuildMI(*BB, MI, DL, TII->get(Mips::IMPLICIT_DEF), Wt1); in emitFILL_FD()
3369 BuildMI(*BB, MI, DL, TII->get(Mips::INSERT_SUBREG), Wt2) in emitFILL_FD()
3373 BuildMI(*BB, MI, DL, TII->get(Mips::SPLATI_D), Wd).addReg(Wt2).addImm(0); in emitFILL_FD()
3393 DebugLoc DL = MI.getDebugLoc(); in emitFEXP2_W_1() local
3396 BuildMI(*BB, MI, DL, TII->get(Mips::LDI_W), Ws1).addImm(1); in emitFEXP2_W_1()
3397 BuildMI(*BB, MI, DL, TII->get(Mips::FFINT_U_W), Ws2).addReg(Ws1); in emitFEXP2_W_1()
3400 BuildMI(*BB, MI, DL, TII->get(Mips::FEXP2_W), MI.getOperand(0).getReg()) in emitFEXP2_W_1()
3422 DebugLoc DL = MI.getDebugLoc(); in emitFEXP2_D_1() local
3425 BuildMI(*BB, MI, DL, TII->get(Mips::LDI_D), Ws1).addImm(1); in emitFEXP2_D_1()
3426 BuildMI(*BB, MI, DL, TII->get(Mips::FFINT_U_D), Ws2).addReg(Ws1); in emitFEXP2_D_1()
3429 BuildMI(*BB, MI, DL, TII->get(Mips::FEXP2_D), MI.getOperand(0).getReg()) in emitFEXP2_D_1()