Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86ShuffleDecode.cpp91 const unsigned NumLaneElts = 2; in DecodeMOVDDUPMask() local
93 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodeMOVDDUPMask()
94 for (unsigned i = 0; i < NumLaneElts; ++i) in DecodeMOVDDUPMask()
100 const unsigned NumLaneElts = 16; in DecodePSLLDQMask() local
102 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSLLDQMask()
103 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSLLDQMask()
112 const unsigned NumLaneElts = 16; in DecodePSRLDQMask() local
114 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSRLDQMask()
115 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSRLDQMask()
118 if (Base >= NumLaneElts) M = SM_SentinelZero; in DecodePSRLDQMask()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp482 unsigned NumLaneElts = NumElts / NumLanes; in DecodePALIGNRMask() local
484 Imm = AlignDirection ? Imm : (NumLaneElts - Imm); in DecodePALIGNRMask()
487 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in DecodePALIGNRMask()
488 for (unsigned i = 0; i != NumLaneElts; ++i) { in DecodePALIGNRMask()
492 if (Base >= NumLaneElts) in DecodePALIGNRMask()
493 Base = Unary ? Base % NumLaneElts : Base + NumElts - NumLaneElts; in DecodePALIGNRMask()
DX86InstCombineIntrinsic.cpp858 unsigned NumLaneElts = IsPD ? 2 : 4; in simplifyX86vpermilvar() local
886 Index += APInt(32, (I / NumLaneElts) * NumLaneElts); in simplifyX86vpermilvar()
DX86ISelLowering.cpp12290 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsUNPCKAndPermute() local
12291 int NumHalfLaneElts = NumLaneElts / 2; in lowerShuffleAsUNPCKAndPermute()
12297 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()
12298 for (int Elt = 0; Elt != NumLaneElts; ++Elt) { in lowerShuffleAsUNPCKAndPermute()
12311 int Lo = Lane, Mid = Lane + NumHalfLaneElts, Hi = Lane + NumLaneElts; in lowerShuffleAsUNPCKAndPermute()
12326 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()
12327 for (int Elt = 0; Elt != NumLaneElts; Elt += 2) { in lowerShuffleAsUNPCKAndPermute()
16219 int NumLaneElts = 128 / VT.getScalarSizeInBits(); in lowerShuffleAsLanePermuteAndRepeatedMask() local
16220 SmallVector<int, 16> RepeatMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
16227 SmallVector<int, 16> InLaneMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DAutoUpgrade.cpp2789 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2790 unsigned HalfLaneElts = NumLaneElts / 2; in UpgradeIntrinsicCall()
2795 Idxs[i] = i - (i % NumLaneElts); in UpgradeIntrinsicCall()
2797 if ((i % NumLaneElts) >= HalfLaneElts) in UpgradeIntrinsicCall()
2813 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2820 for (unsigned l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2821 for (unsigned i = 0; i != NumLaneElts; i += 2) { in UpgradeIntrinsicCall()
2835 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2838 for (int l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2839 for (int i = 0; i != NumLaneElts; ++i) in UpgradeIntrinsicCall()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGBuiltin.cpp13364 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
13370 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()
13371 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
13372 Indices[i + l] = (Imm % NumLaneElts) + l; in EmitX86BuiltinExpr()
13373 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
13390 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
13396 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()
13397 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
13398 unsigned Index = Imm % NumLaneElts; in EmitX86BuiltinExpr()
13399 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
[all …]