Searched refs:NumLaneElts (Results 1 – 6 of 6) sorted by relevance
93 const unsigned NumLaneElts = 2; in DecodeMOVDDUPMask() local95 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodeMOVDDUPMask()96 for (unsigned i = 0; i < NumLaneElts; ++i) in DecodeMOVDDUPMask()102 const unsigned NumLaneElts = 16; in DecodePSLLDQMask() local104 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSLLDQMask()105 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSLLDQMask()114 const unsigned NumLaneElts = 16; in DecodePSRLDQMask() local116 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSRLDQMask()117 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSRLDQMask()120 if (Base >= NumLaneElts) M = SM_SentinelZero; in DecodePSRLDQMask()[all …]
475 unsigned NumLaneElts = NumElts / NumLanes; in DecodePALIGNRMask() local477 Imm = AlignDirection ? Imm : (NumLaneElts - Imm); in DecodePALIGNRMask()480 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in DecodePALIGNRMask()481 for (unsigned i = 0; i != NumLaneElts; ++i) { in DecodePALIGNRMask()485 if (Base >= NumLaneElts) in DecodePALIGNRMask()486 Base = Unary ? Base % NumLaneElts : Base + NumElts - NumLaneElts; in DecodePALIGNRMask()
2030 unsigned NumLaneElts = IsPD ? 2 : 4; in simplifyX86vpermilvar() local2058 Index += APInt(32, (I / NumLaneElts) * NumLaneElts); in simplifyX86vpermilvar()
11338 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsUNPCKAndPermute() local11339 int NumHalfLaneElts = NumLaneElts / 2; in lowerShuffleAsUNPCKAndPermute()11362 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()11363 int Lo = Lane, Mid = Lane + NumHalfLaneElts, Hi = Lane + NumLaneElts; in lowerShuffleAsUNPCKAndPermute()11392 NumLaneElts * (NormM / NumLaneElts) + (2 * (NormM % NumHalfLaneElts)); in lowerShuffleAsUNPCKAndPermute()15653 int NumLaneElts = 128 / VT.getScalarSizeInBits(); in lowerShuffleAsLanePermuteAndRepeatedMask() local15654 SmallVector<int, 16> RepeatMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()15661 SmallVector<int, 16> InLaneMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()15662 for (int i = 0; i != NumLaneElts; ++i) { in lowerShuffleAsLanePermuteAndRepeatedMask()15663 int M = Mask[(Lane * NumLaneElts) + i]; in lowerShuffleAsLanePermuteAndRepeatedMask()[all …]
1636 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local1642 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()1643 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()1644 Indices[i + l] = (Imm % NumLaneElts) + l; in EmitX86BuiltinExpr()1645 Imm /= NumLaneElts; in EmitX86BuiltinExpr()1662 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local1668 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()1669 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()1670 unsigned Index = Imm % NumLaneElts; in EmitX86BuiltinExpr()1671 Imm /= NumLaneElts; in EmitX86BuiltinExpr()[all …]
3420 unsigned NumLaneElts = 128 / CI->getType()->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local3421 unsigned HalfLaneElts = NumLaneElts / 2; in upgradeX86IntrinsicCall()3426 Idxs[i] = i - (i % NumLaneElts); in upgradeX86IntrinsicCall()3428 if ((i % NumLaneElts) >= HalfLaneElts) in upgradeX86IntrinsicCall()3444 unsigned NumLaneElts = 128 / CI->getType()->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local3451 for (unsigned l = 0; l != NumElts; l += NumLaneElts) in upgradeX86IntrinsicCall()3452 for (unsigned i = 0; i != NumLaneElts; i += 2) { in upgradeX86IntrinsicCall()3466 int NumLaneElts = 128 / CI->getType()->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local3469 for (int l = 0; l != NumElts; l += NumLaneElts) in upgradeX86IntrinsicCall()3470 for (int i = 0; i != NumLaneElts; ++i) in upgradeX86IntrinsicCall()[all …]