Lines Matching refs:ShuffleMask
24 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) {
26 ShuffleMask.push_back(0);
27 ShuffleMask.push_back(1);
28 ShuffleMask.push_back(2);
29 ShuffleMask.push_back(3);
39 ShuffleMask[CountD] = InVal;
41 if (ZMask & 1) ShuffleMask[0] = SM_SentinelZero;
42 if (ZMask & 2) ShuffleMask[1] = SM_SentinelZero;
43 if (ZMask & 4) ShuffleMask[2] = SM_SentinelZero;
44 if (ZMask & 8) ShuffleMask[3] = SM_SentinelZero;
48 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) {
50 ShuffleMask.push_back(NElts+i);
53 ShuffleMask.push_back(i);
57 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) {
59 ShuffleMask.push_back(i);
62 ShuffleMask.push_back(NElts+i);
66 SmallVectorImpl<int> &ShuffleMask) {
78 ShuffleMask.push_back(Base + l);
86 void DecodePSHUFMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) {
95 ShuffleMask.push_back(NewImm % NumLaneElts + l);
103 SmallVectorImpl<int> &ShuffleMask) {
109 ShuffleMask.push_back(l + i);
112 ShuffleMask.push_back(l + 4 + (NewImm & 3));
119 SmallVectorImpl<int> &ShuffleMask) {
125 ShuffleMask.push_back(l + (NewImm & 3));
129 ShuffleMask.push_back(l + i);
137 void DecodeSHUFPMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) {
148 ShuffleMask.push_back(NewImm % NumLaneElts + s + l);
159 void DecodeUNPCKHMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) {
170 ShuffleMask.push_back(i); // Reads from dest/src1
171 ShuffleMask.push_back(i+NumElts); // Reads from src/src2
179 void DecodeUNPCKLMask(MVT VT, SmallVectorImpl<int> &ShuffleMask) {
190 ShuffleMask.push_back(i); // Reads from dest/src1
191 ShuffleMask.push_back(i+NumElts); // Reads from src/src2
197 SmallVectorImpl<int> &ShuffleMask) {
206 ShuffleMask.push_back(i);
212 void DecodeVPERMMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) {
214 ShuffleMask.push_back((Imm >> (2*i)) & 3);