Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A 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()
H A DX86InstCombineIntrinsic.cpp858 unsigned NumLaneElts = IsPD ? 2 : 4; in simplifyX86vpermilvar() local
886 Index += APInt(32, (I / NumLaneElts) * NumLaneElts); in simplifyX86vpermilvar()
H A DX86ISelLowering.cpp12254 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsUNPCKAndPermute() local
12255 int NumHalfLaneElts = NumLaneElts / 2; in lowerShuffleAsUNPCKAndPermute()
12261 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()
12262 for (int Elt = 0; Elt != NumLaneElts; ++Elt) { in lowerShuffleAsUNPCKAndPermute()
12275 int Lo = Lane, Mid = Lane + NumHalfLaneElts, Hi = Lane + NumLaneElts; in lowerShuffleAsUNPCKAndPermute()
12290 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()
12291 for (int Elt = 0; Elt != NumLaneElts; Elt += 2) { in lowerShuffleAsUNPCKAndPermute()
16159 int NumLaneElts = 128 / VT.getScalarSizeInBits(); in lowerShuffleAsLanePermuteAndRepeatedMask() local
16160 SmallVector<int, 16> RepeatMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
16167 SmallVector<int, 16> InLaneMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAutoUpgrade.cpp2784 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2785 unsigned HalfLaneElts = NumLaneElts / 2; in UpgradeIntrinsicCall()
2790 Idxs[i] = i - (i % NumLaneElts); in UpgradeIntrinsicCall()
2792 if ((i % NumLaneElts) >= HalfLaneElts) in UpgradeIntrinsicCall()
2808 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2815 for (unsigned l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2816 for (unsigned i = 0; i != NumLaneElts; i += 2) { in UpgradeIntrinsicCall()
2830 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2833 for (int l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2834 for (int i = 0; i != NumLaneElts; ++i) in UpgradeIntrinsicCall()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp13259 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
13265 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()
13266 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
13267 Indices[i + l] = (Imm % NumLaneElts) + l; in EmitX86BuiltinExpr()
13268 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
13285 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
13291 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in EmitX86BuiltinExpr()
13292 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
13293 unsigned Index = Imm % NumLaneElts; in EmitX86BuiltinExpr()
13294 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
[all …]