enum TargetTransformInfo::ShuffleKind
Description
The various kinds of shuffle patterns for vector queries.
Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:892
Enumerators
| Name | Value | Comment |
|---|---|---|
| SK_Broadcast | 0 | Broadcast element 0 to all other elements. |
| SK_Reverse | 1 | Reverse the order of the vector. |
| SK_Select | 2 | Selects elements from the corresponding lane of either source operand. This is equivalent to a vector select with a constant condition operand. |
| SK_Transpose | 3 | Transpose two vectors. |
| SK_InsertSubvector | 4 | InsertSubvector. Index indicates start offset. |
| SK_ExtractSubvector | 5 | ExtractSubvector Index indicates start offset. |
| SK_PermuteTwoSrc | 6 | Merge elements from two source vectors into one with any shuffle mask. |
| SK_PermuteSingleSrc | 7 | Shuffle elements of single source vector with any shuffle mask. |
| SK_Splice | 8 | Concatenates elements from the first input vector with elements of the second input vector. Returning a vector of the same type as the input vectors. |