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.cpp92 const unsigned NumLaneElts = 2; in DecodeMOVDDUPMask() local
94 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodeMOVDDUPMask()
95 for (unsigned i = 0; i < NumLaneElts; ++i) in DecodeMOVDDUPMask()
101 const unsigned NumLaneElts = 16; in DecodePSLLDQMask() local
103 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSLLDQMask()
104 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSLLDQMask()
113 const unsigned NumLaneElts = 16; in DecodePSRLDQMask() local
115 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSRLDQMask()
116 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSRLDQMask()
119 if (Base >= NumLaneElts) M = SM_SentinelZero; in DecodePSRLDQMask()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp478 unsigned NumLaneElts = NumElts / NumLanes; in DecodePALIGNRMask() local
480 Imm = AlignDirection ? Imm : (NumLaneElts - Imm); in DecodePALIGNRMask()
483 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in DecodePALIGNRMask()
484 for (unsigned i = 0; i != NumLaneElts; ++i) { in DecodePALIGNRMask()
488 if (Base >= NumLaneElts) in DecodePALIGNRMask()
489 Base = Unary ? Base % NumLaneElts : Base + NumElts - NumLaneElts; in DecodePALIGNRMask()
H A DX86InstCombineIntrinsic.cpp2038 unsigned NumLaneElts = IsPD ? 2 : 4; in simplifyX86vpermilvar() local
2066 Index += APInt(32, (I / NumLaneElts) * NumLaneElts); in simplifyX86vpermilvar()
H A DX86ISelLowering.cpp10851 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsUNPCKAndPermute() local
10852 int NumHalfLaneElts = NumLaneElts / 2; in lowerShuffleAsUNPCKAndPermute()
10875 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()
10876 int Lo = Lane, Mid = Lane + NumHalfLaneElts, Hi = Lane + NumLaneElts; in lowerShuffleAsUNPCKAndPermute()
10905 NumLaneElts * (NormM / NumLaneElts) + (2 * (NormM % NumHalfLaneElts)); in lowerShuffleAsUNPCKAndPermute()
15070 int NumLaneElts = 128 / VT.getScalarSizeInBits(); in lowerShuffleAsLanePermuteAndRepeatedMask() local
15071 SmallVector<int, 16> RepeatMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
15078 SmallVector<int, 16> InLaneMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
15079 for (int i = 0; i != NumLaneElts; ++i) { in lowerShuffleAsLanePermuteAndRepeatedMask()
15080 int M = Mask[(Lane * NumLaneElts) + i]; in lowerShuffleAsLanePermuteAndRepeatedMask()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp3129 unsigned NumLaneElts = 128 / CI->getType()->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local
3130 unsigned HalfLaneElts = NumLaneElts / 2; in upgradeX86IntrinsicCall()
3135 Idxs[i] = i - (i % NumLaneElts); in upgradeX86IntrinsicCall()
3137 if ((i % NumLaneElts) >= HalfLaneElts) in upgradeX86IntrinsicCall()
3153 unsigned NumLaneElts = 128 / CI->getType()->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local
3160 for (unsigned l = 0; l != NumElts; l += NumLaneElts) in upgradeX86IntrinsicCall()
3161 for (unsigned i = 0; i != NumLaneElts; i += 2) { in upgradeX86IntrinsicCall()
3175 int NumLaneElts = 128 / CI->getType()->getScalarSizeInBits(); in upgradeX86IntrinsicCall() local
3178 for (int l = 0; l != NumElts; l += NumLaneElts) in upgradeX86IntrinsicCall()
3179 for (int i = 0; i != NumLaneElts; ++i) in upgradeX86IntrinsicCall()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp15261 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
15267 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()
15268 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
15269 Indices[i + l] = (Imm % NumLaneElts) + l; in EmitX86BuiltinExpr()
15270 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
15287 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
15293 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()
15294 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
15295 unsigned Index = Imm % NumLaneElts; in EmitX86BuiltinExpr()
15296 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
[all …]