Searched refs:ShufMask (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 381 SmallVector<int, 32> ShufMask(VecTy->getNumElements(), UndefMaskElem); in createShiftShuffle() local 382 ShufMask[NewIndex] = OldIndex; in createShiftShuffle() 383 return Builder.CreateShuffleVector(Vec, ShufMask, "shift"); in createShiftShuffle() 737 SmallVector<int, 32> ShufMask(VecTy->getNumElements(), UndefMaskElem); in foldExtractedCmps() local 738 ShufMask[CheapIndex] = ExpensiveIndex; in foldExtractedCmps() 740 ShufMask); in foldExtractedCmps()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.cpp | 2838 ArrayRef<int> ShufMask = MI.getOperand(3).getShuffleMask(); in selectG_SHUFFLE_VECTOR() local 2844 if (!AMDGPU::isLegalVOP3PShuffleMask(ShufMask)) in selectG_SHUFFLE_VECTOR() 2847 assert(ShufMask.size() == 2); in selectG_SHUFFLE_VECTOR() 2859 if (ShufMask[0] == -1 && ShufMask[1] == -1) { in selectG_SHUFFLE_VECTOR() 2868 Register SrcVec = normalizeVOP3PMask(Mask, Src0Reg, Src1Reg, ShufMask); in selectG_SHUFFLE_VECTOR()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 2643 SmallVector<int, 32> ShufMask; in parseShuffleMaskOperand() local 2646 ShufMask.push_back(-1); in parseShuffleMaskOperand() 2649 ShufMask.push_back(Int.getExtValue()); in parseShuffleMaskOperand() 2659 ArrayRef<int> MaskAlloc = MF.allocateShuffleMask(ShufMask); in parseShuffleMaskOperand()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 21227 static const int ShufMask[] = {0, 2, 4, 6}; in LowerTRUNCATE() local 24302 SmallVector<int,8> ShufMask(NumElems, -1); in LowerSIGN_EXTEND() local 24304 ShufMask[i] = i + NumElems/2; in LowerSIGN_EXTEND() 27682 static const int ShufMask[] = { 0, 4, 2, 6 }; in LowerMUL() local 27882 SmallVector<int, 16> ShufMask(NumElts); in LowerMULH() local 30872 ShufMask[i] = i + HalfNumElts; in ReplaceNodeResults() 35714 int ShufMask[4] = {-1, -1, -1, -1}; in matchBinaryPermuteShuffle() local 35715 SDValue Lo = MatchHalf(0, ShufMask[0], ShufMask[1]); in matchBinaryPermuteShuffle() 35716 SDValue Hi = MatchHalf(2, ShufMask[2], ShufMask[3]); in matchBinaryPermuteShuffle() 35723 PermuteImm = getV4X86ShuffleImm(ShufMask); in matchBinaryPermuteShuffle() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 19372 SmallVector<int, 32> ShufMask(NumMaskElts, -1); in reduceBuildVecToShuffleWithZero() local 19380 ShufMask[i] = Extract.getConstantOperandVal(1); in reduceBuildVecToShuffleWithZero() 19382 ShufMask[i] = NumMaskElts; in reduceBuildVecToShuffleWithZero() 19396 ZeroVec, ShufMask, DAG); in reduceBuildVecToShuffleWithZero() 20923 ArrayRef<int> ShufMask = Shuf->getMask(); in combineShuffleOfSplatVal() local 20925 assert(ShufMask.size() == SplatMask.size() && "Mask length mismatch"); in combineShuffleOfSplatVal() 20951 if (CanSimplifyToExistingSplat(ShufMask, SplatMask)) in combineShuffleOfSplatVal() 20957 for (int Idx : ShufMask) in combineShuffleOfSplatVal()
|