Lines Matching refs:ReorderIndices

2205                      OrdersType &ReorderIndices) const;
2233 if (!ReorderIndices.empty()) { in isSame()
2238 inversePermutation(ReorderIndices, Mask); in isSame()
2297 SmallVector<unsigned, 4> ReorderIndices; member
2428 if (!ReorderIndices.empty()) in findLaneForValue()
2429 FoundLane = ReorderIndices[FoundLane]; in findLaneForValue()
2485 for (unsigned ReorderIdx : ReorderIndices) in dump()
2515 ArrayRef<unsigned> ReorderIndices = None) { in newTreeEntry() argument
2519 ReuseShuffleIndices, ReorderIndices); in newTreeEntry()
2528 ArrayRef<unsigned> ReorderIndices = None) { in newTreeEntry() argument
2538 if (ReorderIndices.empty()) { in newTreeEntry()
2544 transform(ReorderIndices, Last->Scalars.begin(), in newTreeEntry()
2552 Last->ReorderIndices.append(ReorderIndices.begin(), ReorderIndices.end()); in newTreeEntry()
3669 return TE.ReorderIndices; in getReorderingData()
3821 return OpTE->ReorderIndices; in reorderTopToBottom()
3898 reorderOrder(TE->ReorderIndices, Mask); in reorderTopToBottom()
3904 assert(TE->ReorderIndices.empty() && in reorderTopToBottom()
4065 return OpTE->ReorderIndices; in reorderBottomToTop()
4090 if (!TE->ReorderIndices.empty() || !TE->ReuseShuffleIndices.empty() || in reorderBottomToTop()
4176 assert((BestOrder.size() == TE->ReorderIndices.size() || in reorderBottomToTop()
4177 TE->ReorderIndices.empty()) && in reorderBottomToTop()
4179 reorderOrder(TE->ReorderIndices, Mask); in reorderBottomToTop()
4185 assert(Gather->ReorderIndices.empty() && in reorderBottomToTop()
4205 reorderOrder(Data.first->ReorderIndices, MaskOrder); in reorderBottomToTop()
4207 !Data.first->ReorderIndices.empty() && in reorderBottomToTop()
4214 reorderOrder(Data.first->ReorderIndices, Mask); in reorderBottomToTop()
4219 if (IgnoreReorder && !VectorizableTree.front()->ReorderIndices.empty() && in reorderBottomToTop()
4221 VectorizableTree.front()->ReorderIndices.clear(); in reorderBottomToTop()
4326 OrdersType &ReorderIndices) const { in CanFormVector()
4365 ReorderIndices.reserve(StoresVec.size()); in CanFormVector()
4372 ReorderIndices.push_back(Idx); in CanFormVector()
4383 if (IsIdentityOrder(ReorderIndices)) in CanFormVector()
4384 ReorderIndices.clear(); in CanFormVector()
4418 OrdersType ReorderIndices; in findExternalStoreUsersReorderIndices() local
4419 if (!CanFormVector(StoresVec, ReorderIndices)) in findExternalStoreUsersReorderIndices()
4424 ExternalReorderIndices.push_back(ReorderIndices); in findExternalStoreUsersReorderIndices()
5753 buildShuffleEntryMask(ArrayRef<Value *> VL, ArrayRef<unsigned> ReorderIndices, in buildShuffleEntryMask() argument
5762 if (!ReorderIndices.empty()) in buildShuffleEntryMask()
5763 inversePermutation(ReorderIndices, OrderMask); in buildShuffleEntryMask()
5766 if (!ReorderIndices.empty()) in buildShuffleEntryMask()
6077 if (!E->ReorderIndices.empty()) { in getEntryCost()
6081 NewMask.resize(E->ReorderIndices.size()); in getEntryCost()
6082 copy(E->ReorderIndices, NewMask.begin()); in getEntryCost()
6084 inversePermutation(E->ReorderIndices, NewMask); in getEntryCost()
6211 if (!E->ReorderIndices.empty()) { in getEntryCost()
6212 inversePermutation(E->ReorderIndices, Mask); in getEntryCost()
6477 bool IsReorder = !E->ReorderIndices.empty(); in getEntryCost()
6479 cast<StoreInst>(IsReorder ? VL[E->ReorderIndices.front()] : VL0); in getEntryCost()
6591 E->Scalars, E->ReorderIndices, E->ReuseShuffleIndices, in getEntryCost()
7880 assert((E->ReorderIndices.empty() || in vectorizeTree()
7894 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
7927 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
7940 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
7964 if (!E->ReorderIndices.empty()) { in vectorizeTree()
7965 inversePermutation(E->ReorderIndices, Mask); in vectorizeTree()
8035 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8058 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8079 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8103 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8147 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8190 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8204 ShuffleBuilder.addMask(E->ReorderIndices); in vectorizeTree()
8252 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8327 ShuffleBuilder.addInversedMask(E->ReorderIndices); in vectorizeTree()
8391 E->Scalars, E->ReorderIndices, E->ReuseShuffleIndices, in vectorizeTree()