enum TargetTransformInfo::ShuffleKind
Description
The various kinds of shuffle patterns for vector queries.
Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:777
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. |