Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp10868 unsigned HalfNumElts = NumElts / 2; in lowerVectorShuffleWithUndefHalf() local
10869 MVT HalfVT = MVT::getVectorVT(VT.getVectorElementType(), HalfNumElts); in lowerVectorShuffleWithUndefHalf()
10871 bool UndefLower = isUndefInRange(Mask, 0, HalfNumElts); in lowerVectorShuffleWithUndefHalf()
10872 bool UndefUpper = isUndefInRange(Mask, HalfNumElts, HalfNumElts); in lowerVectorShuffleWithUndefHalf()
10879 isSequentialOrUndefInRange(Mask, 0, HalfNumElts, HalfNumElts)) { in lowerVectorShuffleWithUndefHalf()
10881 DAG.getIntPtrConstant(HalfNumElts, DL)); in lowerVectorShuffleWithUndefHalf()
10889 isSequentialOrUndefInRange(Mask, HalfNumElts, HalfNumElts, 0)) { in lowerVectorShuffleWithUndefHalf()
10893 DAG.getIntPtrConstant(HalfNumElts, DL)); in lowerVectorShuffleWithUndefHalf()
10900 SmallVector<int, 8> HalfMask(HalfNumElts); in lowerVectorShuffleWithUndefHalf()
10901 unsigned Offset = UndefLower ? HalfNumElts : 0; in lowerVectorShuffleWithUndefHalf()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp9320 unsigned HalfNumElts = NumElts / 2; in getHopForBuildVector() local
9321 if (VT.is256BitVector() && DemandedElts.lshr(HalfNumElts) == 0) { in getHopForBuildVector()
15337 unsigned HalfNumElts = HalfMask.size(); in getHalfShuffleMask() local
15338 unsigned MaskIndexOffset = UndefLower ? HalfNumElts : 0; in getHalfShuffleMask()
15341 for (unsigned i = 0; i != HalfNumElts; ++i) { in getHalfShuffleMask()
15350 int HalfIdx = M / HalfNumElts; in getHalfShuffleMask()
15353 int HalfElt = M % HalfNumElts; in getHalfShuffleMask()
15363 HalfMask[i] = HalfElt + HalfNumElts; in getHalfShuffleMask()
15386 unsigned HalfNumElts = HalfVT.getVectorNumElements(); in getShuffleHalfVectors() local
15392 HalfIdx = (HalfIdx % 2) * HalfNumElts; in getShuffleHalfVectors()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp18680 unsigned HalfNumElts = NumElts / 2; in foldShuffleOfConcatUndefs() local
18681 SmallVector<int, 16> Mask0(HalfNumElts, -1); in foldShuffleOfConcatUndefs()
18682 SmallVector<int, 16> Mask1(HalfNumElts, -1); in foldShuffleOfConcatUndefs()
18686 int M = Mask[i] < (int)NumElts ? Mask[i] : Mask[i] - (int)HalfNumElts; in foldShuffleOfConcatUndefs()
18687 if (i < HalfNumElts) in foldShuffleOfConcatUndefs()
18690 Mask1[i - HalfNumElts] = M; in foldShuffleOfConcatUndefs()
18696 HalfNumElts); in foldShuffleOfConcatUndefs()
19300 int HalfNumElts = (int)NumElts / 2; in visitVECTOR_SHUFFLE() local
19304 if (Idx >= HalfNumElts) { in visitVECTOR_SHUFFLE()
19306 Idx -= HalfNumElts; in visitVECTOR_SHUFFLE()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp9593 unsigned HalfNumElts = NumElts / 2; in getHopForBuildVector() local
9594 if (VT.is256BitVector() && DemandedElts.lshr(HalfNumElts) == 0) { in getHopForBuildVector()
16127 unsigned HalfNumElts = HalfMask.size(); in getHalfShuffleMask() local
16128 unsigned MaskIndexOffset = UndefLower ? HalfNumElts : 0; in getHalfShuffleMask()
16131 for (unsigned i = 0; i != HalfNumElts; ++i) { in getHalfShuffleMask()
16140 int HalfIdx = M / HalfNumElts; in getHalfShuffleMask()
16143 int HalfElt = M % HalfNumElts; in getHalfShuffleMask()
16153 HalfMask[i] = HalfElt + HalfNumElts; in getHalfShuffleMask()
16176 unsigned HalfNumElts = HalfVT.getVectorNumElements(); in getShuffleHalfVectors() local
16182 HalfIdx = (HalfIdx % 2) * HalfNumElts; in getShuffleHalfVectors()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp20050 unsigned HalfNumElts = NumElts / 2; in foldShuffleOfConcatUndefs() local
20051 SmallVector<int, 16> Mask0(HalfNumElts, -1); in foldShuffleOfConcatUndefs()
20052 SmallVector<int, 16> Mask1(HalfNumElts, -1); in foldShuffleOfConcatUndefs()
20056 int M = Mask[i] < (int)NumElts ? Mask[i] : Mask[i] - (int)HalfNumElts; in foldShuffleOfConcatUndefs()
20057 if (i < HalfNumElts) in foldShuffleOfConcatUndefs()
20060 Mask1[i - HalfNumElts] = M; in foldShuffleOfConcatUndefs()
20066 HalfNumElts); in foldShuffleOfConcatUndefs()
20723 int HalfNumElts = (int)NumElts / 2; in visitVECTOR_SHUFFLE() local
20727 if (Idx >= HalfNumElts) { in visitVECTOR_SHUFFLE()
20729 Idx -= HalfNumElts; in visitVECTOR_SHUFFLE()