Lines Matching refs:NewMask

7068       SDValue NewMask =  in visitAND()  local
7073 NewMask); in visitAND()
12753 APInt NewMask = in visitSETCC() local
12761 DAG.getConstant(NewMask, DL, OpVT)); in visitSETCC()
15619 SmallVector<int, 8> NewMask; in visitBITCAST() local
15622 NewMask.push_back(M < 0 ? -1 : M * MaskScale + i); in visitBITCAST()
15625 TLI.buildLegalVectorShuffle(VT, SDLoc(N), SV0, SV1, NewMask, DAG); in visitBITCAST()
21826 SmallVectorImpl<int> &NewMask, SDValue Elt, in mergeEltWithShuffle() argument
21880 NewMask.assign(Mask.begin(), Mask.end()); in mergeEltWithShuffle()
21881 NewMask[InsIndex] = ElementOffset + Elt.getConstantOperandVal(1); in mergeEltWithShuffle()
21882 assert(NewMask[InsIndex] < (int)(2 * Mask.size()) && NewMask[InsIndex] >= 0 && in mergeEltWithShuffle()
21906 SmallVector<int, 16> NewMask(Mask); in mergeInsertEltWithShuffle() local
21907 if (mergeEltWithShuffle(X, Y, Mask, NewMask, InsertVal, InsIndex)) { in mergeInsertEltWithShuffle()
21909 Vec.getValueType(), SDLoc(N), X, Y, NewMask, DAG); in mergeInsertEltWithShuffle()
22226 SmallVector<int, 16> NewMask; in visitINSERT_VECTOR_ELT() local
22227 if (!mergeEltWithShuffle(LHS, RHS, Mask, NewMask, Op, I.index())) { in visitINSERT_VECTOR_ELT()
22231 Mask = std::move(NewMask); in visitINSERT_VECTOR_ELT()
24652 SmallVector<int, 16> NewMask; in foldExtractSubvectorFromShuffleVector() local
24653 NewMask.reserve(NumEltsExtracted); in foldExtractSubvectorFromShuffleVector()
24665 NewMask.emplace_back(M); in foldExtractSubvectorFromShuffleVector()
24693 NewMask.emplace_back(-1); in foldExtractSubvectorFromShuffleVector()
24716 NewMask.emplace_back(AdjM); in foldExtractSubvectorFromShuffleVector()
24718 assert(NewMask.size() == (unsigned)NumEltsExtracted && "Produced bad mask."); in foldExtractSubvectorFromShuffleVector()
24728 if (!ShuffleVectorInst::isIdentityMask(NewMask, NewMask.size()) || in foldExtractSubvectorFromShuffleVector()
24729 any_of(NewMask, [](int M) { return M < 0; })) in foldExtractSubvectorFromShuffleVector()
24739 !TLI.isShuffleMaskLegal(NewMask, NarrowVT)) in foldExtractSubvectorFromShuffleVector()
24760 return DAG.getVectorShuffle(NarrowVT, DL, NewOps[0], NewOps[1], NewMask); in foldExtractSubvectorFromShuffleVector()
25537 SmallVector<int, 32> NewMask; in combineShuffleOfSplatVal() local
25539 NewMask.push_back(Idx == -1 ? -1 : SplatMask[Idx]); in combineShuffleOfSplatVal()
25543 NewMask); in combineShuffleOfSplatVal()
25577 SmallVector<int> NewMask; in combineShuffleOfBitcast() local
25578 if (!widenShuffleMaskElts(Factor, Mask, NewMask)) in combineShuffleOfBitcast()
25581 if (!TLI.isShuffleMaskLegal(NewMask, InVT)) in combineShuffleOfBitcast()
25589 SDValue NewShuf = DAG.getVectorShuffle(InVT, DL, Op0, Op1, NewMask); in combineShuffleOfBitcast()
25776 SmallVector<int, 8> NewMask; in visitVECTOR_SHUFFLE() local
25783 NewMask.push_back(Idx); in visitVECTOR_SHUFFLE()
25786 return DAG.getVectorShuffle(VT, SDLoc(N), N0, N1, NewMask); in visitVECTOR_SHUFFLE()
25932 SmallVector<int, 8> NewMask; in visitVECTOR_SHUFFLE() local
25939 NewMask.push_back(Idx); in visitVECTOR_SHUFFLE()
25941 if (TLI.isShuffleMaskLegal(NewMask, VT)) { in visitVECTOR_SHUFFLE()
25945 return DAG.getVectorShuffle(VT, SDLoc(N), NewCat, N1, NewMask); in visitVECTOR_SHUFFLE()
26104 SmallVector<int, 8> NewMask; in visitVECTOR_SHUFFLE() local
26106 NewMask.push_back(M < 0 ? -1 : InnerMask[M]); in visitVECTOR_SHUFFLE()
26111 bool LegalMask = TLI.isShuffleMaskLegal(NewMask, ScaleVT); in visitVECTOR_SHUFFLE()
26114 ShuffleVectorSDNode::commuteMask(NewMask); in visitVECTOR_SHUFFLE()
26115 LegalMask = TLI.isShuffleMaskLegal(NewMask, ScaleVT); in visitVECTOR_SHUFFLE()
26122 VT, DAG.getVectorShuffle(ScaleVT, SDLoc(N), SV0, SV1, NewMask)); in visitVECTOR_SHUFFLE()