The various kinds of shuffle patterns for vector queries.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfo.h>

enum ShuffleKind;

Members

Name

Description

SK_Broadcast

Broadcast element 0 to all other elements.

SK_Reverse

Reverse the order of the vector.

SK_Select

Selects elements from the corresponding lane of either source operand. This is equivalent to a vector select with a constant condition operand.

SK_Transpose

Transpose two vectors.

SK_InsertSubvector

InsertSubvector. Index indicates start offset.

SK_ExtractSubvector

ExtractSubvector Index indicates start offset.

SK_PermuteTwoSrc

Merge elements from two source vectors into one with any shuffle mask.

SK_PermuteSingleSrc

Shuffle elements of single source vector with any shuffle mask.

SK_Splice

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. Index indicates start offset in first input vector.

Created with MrDocs