Home
last modified time | relevance | path

Searched refs:NumLaneElts (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ShuffleDecode.cpp93 const unsigned NumLaneElts = 2; in DecodeMOVDDUPMask() local
95 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() local
104 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() local
116 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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp475 unsigned NumLaneElts = NumElts / NumLanes; in DecodePALIGNRMask() local
477 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()
H A DX86InstCombineIntrinsic.cpp2030 unsigned NumLaneElts = IsPD ? 2 : 4; in simplifyX86vpermilvar() local
2058 Index += APInt(32, (I / NumLaneElts) * NumLaneElts); in simplifyX86vpermilvar()
H A DX86ISelLowering.cpp11338 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsUNPCKAndPermute() local
11339 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() local
15654 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 …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DX86.cpp1636 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
1642 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() local
1668 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 …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp3420 unsigned NumLaneElts = 128 / CI->getType()->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local
3421 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() local
3451 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() local
3469 for (int l = 0; l != NumElts; l += NumLaneElts) in upgradeX86IntrinsicCall()
3470 for (int i = 0; i != NumLaneElts; ++i) in upgradeX86IntrinsicCall()
[all …]