Home
last modified time | relevance | path

Searched refs:LaneSize (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp196 unsigned LaneSize = NumElts/NumLanes; in DecodeVPERMILPSMask() local
199 for (unsigned i = 0; i != LaneSize; ++i) { in DecodeVPERMILPSMask()
201 ShuffleMask.push_back(Idx+(l*LaneSize)); in DecodeVPERMILPSMask()
213 unsigned LaneSize = NumElts/NumLanes; in DecodeVPERMILPDMask() local
216 for (unsigned i = l*LaneSize; i < LaneSize*(l+1); ++i) { in DecodeVPERMILPDMask()
218 ShuffleMask.push_back(Idx+(l*LaneSize)); in DecodeVPERMILPDMask()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp438 for (int i = 0, LaneSize = VF / LaneCount; i != LaneSize; ++i) in createShuffleStride() local
439 Mask.push_back((i * Stride) % LaneSize + LaneSize * Lane); in createShuffleStride()
DX86ISelLowering.cpp8917 int LaneSize = 128 / VT.getScalarSizeInBits(); in is128BitLaneCrossingShuffleMask() local
8920 if (Mask[i] >= 0 && (Mask[i] % Size) / LaneSize != i / LaneSize) in is128BitLaneCrossingShuffleMask()
8939 auto LaneSize = LaneSizeInBits / VT.getScalarSizeInBits(); in isRepeatedShuffleMask() local
8940 RepeatedMask.assign(LaneSize, -1); in isRepeatedShuffleMask()
8946 if ((Mask[i] % Size) / LaneSize != i / LaneSize) in isRepeatedShuffleMask()
8952 int LocalM = Mask[i] < Size ? Mask[i] % LaneSize in isRepeatedShuffleMask()
8953 : Mask[i] % LaneSize + LaneSize; in isRepeatedShuffleMask()
8954 if (RepeatedMask[i % LaneSize] < 0) in isRepeatedShuffleMask()
8956 RepeatedMask[i % LaneSize] = LocalM; in isRepeatedShuffleMask()
8957 else if (RepeatedMask[i % LaneSize] != LocalM) in isRepeatedShuffleMask()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp3777 int LaneSize = NumElts/NumLanes; in isVPERMILPDMask() local
3779 for (int i = l*LaneSize; i < LaneSize*(l+1); ++i) { in isVPERMILPDMask()
3780 int LaneStart = l*LaneSize; in isVPERMILPDMask()
3781 if (!isUndefOrInRange(Mask[i], LaneStart, LaneStart+LaneSize)) in isVPERMILPDMask()
3810 int LaneSize = NumElts/NumLanes; in isVPERMILPSMask() local
3811 for (int i = 0; i < LaneSize; ++i) { in isVPERMILPSMask()
3812 int HighElt = i+LaneSize; in isVPERMILPSMask()
3813 bool HighValid = isUndefOrInRange(Mask[HighElt], LaneSize, NumElts); in isVPERMILPSMask()
3814 bool LowValid = isUndefOrInRange(Mask[i], 0, LaneSize); in isVPERMILPSMask()
3820 if (Mask[HighElt]-Mask[i] != LaneSize) in isVPERMILPSMask()
[all …]