enum TargetTransformInfo::ShuffleKind

Description

The various kinds of shuffle patterns for vector queries.

Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:777

Enumerators

NameValueComment
SK_Broadcast0Broadcast element 0 to all other elements.
SK_Reverse1Reverse the order of the vector.
SK_Select2Selects elements from the corresponding lane of either source operand. This is equivalent to a vector select with a constant condition operand.
SK_Transpose3Transpose two vectors.
SK_InsertSubvector4InsertSubvector. Index indicates start offset.
SK_ExtractSubvector5ExtractSubvector Index indicates start offset.
SK_PermuteTwoSrc6Merge elements from two source vectors into one with any shuffle mask.
SK_PermuteSingleSrc7Shuffle elements of single source vector with any shuffle mask.