• Home
  • Raw
  • Download

Lines Matching refs:Indices

2442                                        SmallVector<int, 16> Indices,  in lowerVECTOR_SHUFFLE_SHF()  argument
2446 if (Indices.size() < 4) in lowerVECTOR_SHUFFLE_SHF()
2450 for (unsigned j = i; j < Indices.size(); j += 4) { in lowerVECTOR_SHUFFLE_SHF()
2451 int Idx = Indices[j]; in lowerVECTOR_SHUFFLE_SHF()
2522 SmallVector<int, 16> Indices, in isVECTOR_SHUFFLE_SPLATI() argument
2524 assert((Indices.size() % 2) == 0); in isVECTOR_SHUFFLE_SPLATI()
2527 for (const auto &V : Indices) { in isVECTOR_SHUFFLE_SPLATI()
2534 return fitsRegularPattern<int>(Indices.begin(), 1, Indices.end(), SplatIndex, in isVECTOR_SHUFFLE_SPLATI()
2554 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVEV() argument
2556 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVEV()
2560 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVEV()
2561 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVEV()
2567 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_ILVEV()
2576 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_ILVEV()
2600 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVOD() argument
2602 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVOD()
2606 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVOD()
2607 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVOD()
2613 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_ILVOD()
2622 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_ILVOD()
2647 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVR() argument
2649 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVR()
2653 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVR()
2654 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVR()
2660 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size(), 1)) in lowerVECTOR_SHUFFLE_ILVR()
2669 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size(), 1)) in lowerVECTOR_SHUFFLE_ILVR()
2694 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_ILVL() argument
2696 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_ILVL()
2698 unsigned HalfSize = Indices.size() / 2; in lowerVECTOR_SHUFFLE_ILVL()
2701 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_ILVL()
2702 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_ILVL()
2708 else if (fitsRegularPattern<int>(Begin, 2, End, Indices.size() + HalfSize, 1)) in lowerVECTOR_SHUFFLE_ILVL()
2717 else if (fitsRegularPattern<int>(Begin + 1, 2, End, Indices.size() + HalfSize, in lowerVECTOR_SHUFFLE_ILVL()
2742 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_PCKEV() argument
2744 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_PCKEV()
2748 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_PCKEV()
2749 const auto &Mid = Indices.begin() + Indices.size() / 2; in lowerVECTOR_SHUFFLE_PCKEV()
2750 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_PCKEV()
2754 else if (fitsRegularPattern<int>(Begin, 1, Mid, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_PCKEV()
2761 else if (fitsRegularPattern<int>(Mid, 1, End, Indices.size(), 2)) in lowerVECTOR_SHUFFLE_PCKEV()
2785 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_PCKOD() argument
2787 assert((Indices.size() % 2) == 0); in lowerVECTOR_SHUFFLE_PCKOD()
2791 const auto &Begin = Indices.begin(); in lowerVECTOR_SHUFFLE_PCKOD()
2792 const auto &Mid = Indices.begin() + Indices.size() / 2; in lowerVECTOR_SHUFFLE_PCKOD()
2793 const auto &End = Indices.end(); in lowerVECTOR_SHUFFLE_PCKOD()
2797 else if (fitsRegularPattern<int>(Begin, 1, Mid, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_PCKOD()
2804 else if (fitsRegularPattern<int>(Mid, 1, End, Indices.size() + 1, 2)) in lowerVECTOR_SHUFFLE_PCKOD()
2821 SmallVector<int, 16> Indices, in lowerVECTOR_SHUFFLE_VSHF() argument
2835 int Idx = Indices[i]; in lowerVECTOR_SHUFFLE_VSHF()
2843 for (SmallVector<int, 16>::iterator I = Indices.begin(); I != Indices.end(); in lowerVECTOR_SHUFFLE_VSHF()
2880 SmallVector<int, 16> Indices; in lowerVECTOR_SHUFFLE() local
2883 Indices.push_back(Node->getMaskElt(i)); in lowerVECTOR_SHUFFLE()
2887 if (isVECTOR_SHUFFLE_SPLATI(Op, ResTy, Indices, DAG)) in lowerVECTOR_SHUFFLE()
2888 return lowerVECTOR_SHUFFLE_VSHF(Op, ResTy, Indices, DAG); in lowerVECTOR_SHUFFLE()
2890 if ((Result = lowerVECTOR_SHUFFLE_ILVEV(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2892 if ((Result = lowerVECTOR_SHUFFLE_ILVOD(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2894 if ((Result = lowerVECTOR_SHUFFLE_ILVL(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2896 if ((Result = lowerVECTOR_SHUFFLE_ILVR(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2898 if ((Result = lowerVECTOR_SHUFFLE_PCKEV(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2900 if ((Result = lowerVECTOR_SHUFFLE_PCKOD(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2902 if ((Result = lowerVECTOR_SHUFFLE_SHF(Op, ResTy, Indices, DAG))) in lowerVECTOR_SHUFFLE()
2904 return lowerVECTOR_SHUFFLE_VSHF(Op, ResTy, Indices, DAG); in lowerVECTOR_SHUFFLE()