Lines Matching refs:ShuffleMask
26 void DecodePSHUFBMask(const Constant *C, SmallVectorImpl<int> &ShuffleMask) { in DecodePSHUFBMask() argument
59 ShuffleMask.reserve(NumBytes); in DecodePSHUFBMask()
64 ShuffleMask.clear(); in DecodePSHUFBMask()
67 ShuffleMask.append(Scale, SM_SentinelUndef); in DecodePSHUFBMask()
82 ShuffleMask.push_back(SM_SentinelZero); in DecodePSHUFBMask()
86 ShuffleMask.push_back(Index); in DecodePSHUFBMask()
91 assert(NumBytes == (int)ShuffleMask.size() && "Unexpected shuffle mask size"); in DecodePSHUFBMask()
95 SmallVectorImpl<int> &ShuffleMask) { in DecodeVPERMILPMask() argument
134 ShuffleMask.reserve(NumElements); in DecodeVPERMILPMask()
141 ShuffleMask.clear(); in DecodeVPERMILPMask()
144 ShuffleMask.push_back(SM_SentinelUndef); in DecodeVPERMILPMask()
153 ShuffleMask.push_back(Index); in DecodeVPERMILPMask()
160 SmallVectorImpl<int> &ShuffleMask) { in DecodeVPERMIL2PMask() argument
186 ShuffleMask.reserve(NumElements); in DecodeVPERMIL2PMask()
193 ShuffleMask.clear(); in DecodeVPERMIL2PMask()
196 ShuffleMask.push_back(SM_SentinelUndef); in DecodeVPERMIL2PMask()
214 ShuffleMask.push_back(SM_SentinelZero); in DecodeVPERMIL2PMask()
226 ShuffleMask.push_back(Index); in DecodeVPERMIL2PMask()
232 void DecodeVPPERMMask(const Constant *C, SmallVectorImpl<int> &ShuffleMask) { in DecodeVPPERMMask() argument
254 ShuffleMask.reserve(NumBytes); in DecodeVPPERMMask()
259 ShuffleMask.clear(); in DecodeVPPERMMask()
262 ShuffleMask.append(Scale, SM_SentinelUndef); in DecodeVPPERMMask()
286 ShuffleMask.push_back(SM_SentinelZero); in DecodeVPPERMMask()
290 ShuffleMask.clear(); in DecodeVPPERMMask()
293 ShuffleMask.push_back((int)Index.getZExtValue()); in DecodeVPPERMMask()
297 assert(NumBytes == (int)ShuffleMask.size() && "Unexpected shuffle mask size"); in DecodeVPPERMMask()
301 SmallVectorImpl<int> &ShuffleMask) { in DecodeVPERMVMask() argument
310 ShuffleMask.clear(); in DecodeVPERMVMask()
314 ShuffleMask.push_back(SM_SentinelUndef); in DecodeVPERMVMask()
318 ShuffleMask.push_back(Element.getZExtValue()); in DecodeVPERMVMask()
331 ShuffleMask.push_back(Element); in DecodeVPERMVMask()
335 SmallVectorImpl<int> &ShuffleMask) { in DecodeVPERMV3Mask() argument
343 ShuffleMask.clear(); in DecodeVPERMV3Mask()
347 ShuffleMask.push_back(SM_SentinelUndef); in DecodeVPERMV3Mask()
351 ShuffleMask.push_back(Element.getZExtValue()); in DecodeVPERMV3Mask()