Refine Kind using Mask, updating Index and SubTy when needed.
Declared in <llvm/CodeGen/BasicTTIImpl.h>
TTI::ShuffleKind
improveShuffleKindFromMask(
TTI::ShuffleKind Kind,
ArrayRef<int> Mask,
VectorType* SrcTy,
int& Index,
VectorType*& SubTy) const;
The refined shuffle kind.
| Name | Description |
|---|---|
| Kind | Initial shuffle kind classification. |
| Mask | Shuffle mask to inspect. |
| SrcTy | Source vector type of the shuffle. |
| Index | Set to a subvector index when Kind is refined to insert or extract subvector. |
| SubTy | Set to the subvector type when Kind is refined to insert or extract subvector. |