Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp98 unsigned NumLaneElts = NumElts / NumLanes; in DecodeMOVDDUPMask() local
101 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodeMOVDDUPMask()
102 for (unsigned i = 0; i < NumLaneElts; i += NumLaneSubElts) in DecodeMOVDDUPMask()
111 unsigned NumLaneElts = NumElts / NumLanes; in DecodePSLLDQMask() local
113 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSLLDQMask()
114 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSLLDQMask()
125 unsigned NumLaneElts = NumElts / NumLanes; in DecodePSRLDQMask() local
127 for (unsigned l = 0; l < NumElts; l += NumLaneElts) in DecodePSRLDQMask()
128 for (unsigned i = 0; i < NumLaneElts; ++i) { in DecodePSRLDQMask()
131 if (Base >= NumLaneElts) M = SM_SentinelZero; in DecodePSRLDQMask()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp174 unsigned NumLaneElts = NumElts / NumLanes; in DecodeUNPCKLPMask() local
177 unsigned End = NumLaneElts / 2; in DecodeUNPCKLPMask()
181 ShuffleMask.push_back(i+NumLaneElts); // Reads from src/src2 in DecodeUNPCKLPMask()
184 Start += NumLaneElts; in DecodeUNPCKLPMask()
185 End += NumLaneElts; in DecodeUNPCKLPMask()
/external/llvm/lib/IR/
DAutoUpgrade.cpp1139 unsigned NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
1146 for (unsigned l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
1147 for (unsigned i = 0; i != NumLaneElts; i += 2) { in UpgradeIntrinsicCall()
1161 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
1164 for (int l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
1165 for (int i = 0; i != NumLaneElts; ++i) in UpgradeIntrinsicCall()
1177 int NumLaneElts = 128/CI->getType()->getScalarSizeInBits(); in UpgradeIntrinsicCall() local
1180 for (int l = 0; l != NumElts; l += NumLaneElts) in UpgradeIntrinsicCall()
1181 for (int i = 0; i != NumLaneElts; ++i) in UpgradeIntrinsicCall()
1182 Idxs[i + l] = (NumLaneElts / 2) + l + (i / 2) + NumElts * (i % 2); in UpgradeIntrinsicCall()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp3521 unsigned NumLaneElts = NumElts/NumLanes; in isUNPCKLMask() local
3524 unsigned End = NumLaneElts; in isUNPCKLMask()
3526 for (unsigned i = Start, j = s * NumLaneElts; in isUNPCKLMask()
3542 Start += NumLaneElts; in isUNPCKLMask()
3543 End += NumLaneElts; in isUNPCKLMask()
3570 unsigned NumLaneElts = NumElts/NumLanes; in isUNPCKHMask() local
3573 unsigned End = NumLaneElts; in isUNPCKHMask()
3575 for (unsigned i = Start, j = (l*NumLaneElts)+NumLaneElts/2; in isUNPCKHMask()
3590 Start += NumLaneElts; in isUNPCKHMask()
3591 End += NumLaneElts; in isUNPCKHMask()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp7721 int NumLaneElts = NumElts / NumLanes; in lowerVectorShuffleAsByteRotate() local
7732 for (int l = 0; l < NumElts; l += NumLaneElts) { in lowerVectorShuffleAsByteRotate()
7733 for (int i = 0; i < NumLaneElts; ++i) { in lowerVectorShuffleAsByteRotate()
7740 if (LaneIdx < 0 || LaneIdx >= NumLaneElts) in lowerVectorShuffleAsByteRotate()
7752 int CandidateRotation = StartIdx < 0 ? -StartIdx : NumLaneElts - StartIdx; in lowerVectorShuffleAsByteRotate()
7795 int Scale = 16 / NumLaneElts; in lowerVectorShuffleAsByteRotate()
11001 int NumLaneElts = NumElts / NumLanes; in lowerShuffleAsRepeatedMaskAndLanePermute() local
11021 if (0 != ((M % NumElts) / NumLaneElts)) in lowerShuffleAsRepeatedMaskAndLanePermute()
11056 int NumSubLaneElts = NumLaneElts / SubLaneScale; in lowerShuffleAsRepeatedMaskAndLanePermute()
11062 SmallVector<int, 8> RepeatedLaneMask((unsigned)NumLaneElts, -1); in lowerShuffleAsRepeatedMaskAndLanePermute()
[all …]