Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp89 const unsigned NumLaneElts = 2; in DecodeMOVDDUPMask() local
91 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodeMOVDDUPMask()
92 for (unsigned i = 0; i < NumLaneElts; ++i) in DecodeMOVDDUPMask()
98 const unsigned NumLaneElts = 16; in DecodePSLLDQMask() local
100 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSLLDQMask()
101 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSLLDQMask()
110 const unsigned NumLaneElts = 16; in DecodePSRLDQMask() local
112 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSRLDQMask()
113 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSRLDQMask()
116 if (Base >= NumLaneElts) M = SM_SentinelZero; in DecodePSRLDQMask()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp477 unsigned NumLaneElts = NumElts / NumLanes; in DecodePALIGNRMask() local
479 Imm = AlignDirection ? Imm : (NumLaneElts - Imm); in DecodePALIGNRMask()
482 for (unsigned l = 0; l != NumElts; l += NumLaneElts) { in DecodePALIGNRMask()
483 for (unsigned i = 0; i != NumLaneElts; ++i) { in DecodePALIGNRMask()
487 if (Base >= NumLaneElts) in DecodePALIGNRMask()
488 Base = Unary ? Base % NumLaneElts : Base + NumElts - NumLaneElts; in DecodePALIGNRMask()
DX86ISelLowering.cpp11433 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsUNPCKAndPermute() local
11434 int NumHalfLaneElts = NumLaneElts / 2; in lowerShuffleAsUNPCKAndPermute()
11440 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()
11441 for (int Elt = 0; Elt != NumLaneElts; ++Elt) { in lowerShuffleAsUNPCKAndPermute()
11454 int Lo = Lane, Mid = Lane + NumHalfLaneElts, Hi = Lane + NumLaneElts; in lowerShuffleAsUNPCKAndPermute()
11469 for (int Lane = 0; Lane != NumElts; Lane += NumLaneElts) { in lowerShuffleAsUNPCKAndPermute()
11470 for (int Elt = 0; Elt != NumLaneElts; Elt += 2) { in lowerShuffleAsUNPCKAndPermute()
15167 int NumLaneElts = 128 / VT.getScalarSizeInBits(); in lowerShuffleAsLanePermuteAndRepeatedMask() local
15168 SmallVector<int, 16> RepeatMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
15175 SmallVector<int, 16> InLaneMask(NumLaneElts, -1); in lowerShuffleAsLanePermuteAndRepeatedMask()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp2629 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2630 unsigned HalfLaneElts = NumLaneElts / 2; in UpgradeIntrinsicCall()
2635 Idxs[i] = i - (i % NumLaneElts); in UpgradeIntrinsicCall()
2637 if ((i % NumLaneElts) >= HalfLaneElts) in UpgradeIntrinsicCall()
2653 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2660 for (unsigned l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2661 for (unsigned i = 0; i != NumLaneElts; i += 2) { in UpgradeIntrinsicCall()
2675 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
2678 for (int l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
2679 for (int i = 0; i != NumLaneElts; ++i) in UpgradeIntrinsicCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp978 unsigned NumLaneElts = IsPD ? 2 : 4; in simplifyX86vpermilvar() local
1006 Index += APInt(32, (I / NumLaneElts) * NumLaneElts); in simplifyX86vpermilvar()