Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp90 const unsigned NumLaneElts = 2; in DecodeMOVDDUPMask() local
99 const unsigned NumLaneElts = 16; in DecodePSLLDQMask() local
111 const unsigned NumLaneElts = 16; in DecodePSRLDQMask() local
124 const unsigned NumLaneElts = 16; in DecodePALIGNRMask() local
130 if (Base >= NumLaneElts) Base += NumElts - NumLaneElts; in DecodePALIGNRMask()
153 unsigned NumLaneElts = NumElts / NumLanes; in DecodePSHUFMask() local
159 SplatImm /= NumLaneElts; in DecodePSHUFMask()
206 unsigned NumLaneElts = 128 / ScalarBits; in DecodeSHUFPMask() local
214 NewImm /= NumLaneElts; in DecodeSHUFPMask()
230 unsigned NumLaneElts = NumElts / NumLanes; in DecodeUNPCKHMask() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp474 unsigned NumLaneElts = NumElts / NumLanes; in DecodePALIGNRMask() local
476 Imm = AlignDirection ? Imm : (NumLaneElts - Imm); in DecodePALIGNRMask()
479 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in DecodePALIGNRMask()
480 for (unsigned i = 0; i != NumLaneElts; ++i) { in DecodePALIGNRMask()
484 if (Base >= NumLaneElts) in DecodePALIGNRMask()
485 Base = Unary ? Base % NumLaneElts : Base + NumElts - NumLaneElts; in DecodePALIGNRMask()
H A DX86ISelLowering.cpp10519 int NumLaneElts = NumElts / NumLanes; in lowerVectorShuffleAsUNPCKAndPermute() local
10520 int NumHalfLaneElts = NumLaneElts / 2; in lowerVectorShuffleAsUNPCKAndPermute()
10526 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerVectorShuffleAsUNPCKAndPermute()
10527 for (int Elt = 0; Elt != NumLaneElts; ++Elt) { in lowerVectorShuffleAsUNPCKAndPermute()
10555 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerVectorShuffleAsUNPCKAndPermute()
10556 for (int Elt = 0; Elt != NumLaneElts; Elt += 2) { in lowerVectorShuffleAsUNPCKAndPermute()
14411 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsRepeatedMaskAndLanePermute() local
14431 if (0 != ((M % NumElts) / NumLaneElts)) in lowerShuffleAsRepeatedMaskAndLanePermute()
14470 int NumSubLaneElts = NumLaneElts / SubLaneScale; in lowerShuffleAsRepeatedMaskAndLanePermute()
14490 int Lane = (M % NumElts) / NumLaneElts; in lowerShuffleAsRepeatedMaskAndLanePermute()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAutoUpgrade.cpp2436 unsigned HalfLaneElts = NumLaneElts / 2; in UpgradeIntrinsicCall()
2441 Idxs[i] = i - (i % NumLaneElts); in UpgradeIntrinsicCall()
2443 if ((i % NumLaneElts) >= HalfLaneElts) in UpgradeIntrinsicCall()
2466 for (unsigned l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2467 for (unsigned i = 0; i != NumLaneElts; i += 2) { in UpgradeIntrinsicCall()
2481 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2484 for (int l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2485 for (int i = 0; i != NumLaneElts; ++i) in UpgradeIntrinsicCall()
2497 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2500 for (int l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp10283 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
10290 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
10291 Indices[i + l] = (Imm % NumLaneElts) + l; in EmitX86BuiltinExpr()
10292 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
10310 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
10317 for (unsigned i = 0; i != NumLaneElts; ++i) { in EmitX86BuiltinExpr()
10318 unsigned Index = Imm % NumLaneElts; in EmitX86BuiltinExpr()
10319 Imm /= NumLaneElts; in EmitX86BuiltinExpr()
10320 if (i >= (NumLaneElts / 2)) in EmitX86BuiltinExpr()
10416 unsigned NumLaneElts = NumElts / NumLanes; in EmitX86BuiltinExpr() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1061 unsigned NumLaneElts = IsPD ? 2 : 4; in simplifyX86vpermilvar() local
1089 Index += APInt(32, (I / NumLaneElts) * NumLaneElts); in simplifyX86vpermilvar()