Lines Matching refs:Indices
2542 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_SHF() argument
2546 if (Indices.size() < 4) in lowerVECTOR_SHUFFLE_SHF()
2550 for (unsigned j = i; j < Indices.size(); j += 4) { in lowerVECTOR_SHUFFLE_SHF()
2551 int Idx = Indices[j]; in lowerVECTOR_SHUFFLE_SHF()
2623 SmallVector<int, 16> Indices, in isVECTOR_SHUFFLE_SPLATI() argument
2625 assert((Indices.size() % 2) == 0); in isVECTOR_SHUFFLE_SPLATI()
2628 for (const auto &V : Indices) { in isVECTOR_SHUFFLE_SPLATI()
2635 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI()
2655 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVEV() argument
2657 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVEV()
2661 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVEV()
2662 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVEV()
2668 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_ILVEV()
2677 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_ILVEV()
2701 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVOD() argument
2703 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVOD()
2707 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVOD()
2708 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVOD()
2714 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_ILVOD()
2723 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_ILVOD()
2748 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVR() argument
2750 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVR()
2754 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVR()
2755 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVR()
2761 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size(), 1)) in lowerVECTOR_SHUFFLE_ILVR()
2770 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size(), 1)) in lowerVECTOR_SHUFFLE_ILVR()
2795 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVL() argument
2797 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVL()
2799 unsigned HalfSize = Indices.size() / 2; in lowerVECTOR_SHUFFLE_ILVL()
2802 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVL()
2803 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVL()
2809 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL()
2818 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + HalfSize, in lowerVECTOR_SHUFFLE_ILVL()
2843 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_PCKEV() argument
2845 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_PCKEV()
2849 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_PCKEV()
2850 const auto &Mid = Indices.begin() + Indices.size() / 2; in lowerVECTOR_SHUFFLE_PCKEV()
2851 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_PCKEV()
2855 else if (fitsRegularPattern<int>(Begin, 1, Mid, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_PCKEV()
2862 else if (fitsRegularPattern<int>(Mid, 1, End, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_PCKEV()
2886 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_PCKOD() argument
2888 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_PCKOD()
2892 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_PCKOD()
2893 const auto &Mid = Indices.begin() + Indices.size() / 2; in lowerVECTOR_SHUFFLE_PCKOD()
2894 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_PCKOD()
2898 else if (fitsRegularPattern<int>(Begin, 1, Mid, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_PCKOD()
2905 else if (fitsRegularPattern<int>(Mid, 1, End, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_PCKOD()
2922 const SmallVector<int, 16> &Indices, in lowerVECTOR_SHUFFLE_VSHF() argument
2936 int Idx = Indices[i]; in lowerVECTOR_SHUFFLE_VSHF()
2944 for (int Idx : Indices) in lowerVECTOR_SHUFFLE_VSHF()
2980 SmallVector<int, 16> Indices; in lowerVECTOR_SHUFFLE() local
2983 Indices.push_back(Node->getMaskElt(i)); in lowerVECTOR_SHUFFLE()
2987 if (isVECTOR_SHUFFLE_SPLATI(Op, ResTy, Indices, DAG)) in lowerVECTOR_SHUFFLE()
2988 return lowerVECTOR_SHUFFLE_VSHF(Op, ResTy, Indices, DAG); in lowerVECTOR_SHUFFLE()
2990 if ((Result = lowerVECTOR_SHUFFLE_ILVEV(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2992 if ((Result = lowerVECTOR_SHUFFLE_ILVOD(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2994 if ((Result = lowerVECTOR_SHUFFLE_ILVL(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2996 if ((Result = lowerVECTOR_SHUFFLE_ILVR(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2998 if ((Result = lowerVECTOR_SHUFFLE_PCKEV(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
3000 if ((Result = lowerVECTOR_SHUFFLE_PCKOD(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
3002 if ((Result = lowerVECTOR_SHUFFLE_SHF(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
3004 return lowerVECTOR_SHUFFLE_VSHF(Op, ResTy, Indices, DAG); in lowerVECTOR_SHUFFLE()