• Home
  • Raw
  • Download

Lines Matching refs:Shuf

17956   SDValue Shuf = DAG.getVectorShuffle(ShufVT, DL, DestVecBC, PaddedSubV, Mask);  in combineInsertEltToShuffle()  local
17959 AddToWorklist(Shuf.getNode()); in combineInsertEltToShuffle()
17960 return DAG.getBitcast(VT, Shuf); in combineInsertEltToShuffle()
18004 if (SDValue Shuf = combineInsertEltToShuffle(N, Elt)) in visitINSERT_VECTOR_ELT() local
18005 return Shuf; in visitINSERT_VECTOR_ELT()
18305 auto *Shuf = cast<ShuffleVectorSDNode>(VecOp); in visitEXTRACT_VECTOR_ELT() local
18307 int OrigElt = Shuf->getMaskElt(IndexC->getZExtValue()); in visitEXTRACT_VECTOR_ELT()
18427 if (auto *Shuf = dyn_cast<ShuffleVectorSDNode>(VecOp)) { in visitEXTRACT_VECTOR_ELT() local
18442 int Idx = (Elt > (int)NumElts) ? -1 : Shuf->getMaskElt(Elt); in visitEXTRACT_VECTOR_ELT()
18879 SDValue Shuf = TLI.buildLegalVectorShuffle(VecVT, DL, Extract.getOperand(0), in reduceBuildVecToShuffleWithZero() local
18881 if (!Shuf) in reduceBuildVecToShuffleWithZero()
18883 return DAG.getBitcast(VT, Shuf); in reduceBuildVecToShuffleWithZero()
20037 static SDValue foldShuffleOfConcatUndefs(ShuffleVectorSDNode *Shuf, in foldShuffleOfConcatUndefs() argument
20039 SDValue N0 = Shuf->getOperand(0), N1 = Shuf->getOperand(1); in foldShuffleOfConcatUndefs()
20047 ArrayRef<int> Mask = Shuf->getMask(); in foldShuffleOfConcatUndefs()
20048 EVT VT = Shuf->getValueType(0); in foldShuffleOfConcatUndefs()
20074 SDLoc DL(Shuf); in foldShuffleOfConcatUndefs()
20360 static SDValue combineShuffleOfSplatVal(ShuffleVectorSDNode *Shuf, in combineShuffleOfSplatVal() argument
20362 if (!Shuf->getOperand(1).isUndef()) in combineShuffleOfSplatVal()
20364 auto *Splat = dyn_cast<ShuffleVectorSDNode>(Shuf->getOperand(0)); in combineShuffleOfSplatVal()
20368 ArrayRef<int> ShufMask = Shuf->getMask(); in combineShuffleOfSplatVal()
20397 return Shuf->getOperand(0); in combineShuffleOfSplatVal()
20489 static SDValue replaceShuffleOfInsert(ShuffleVectorSDNode *Shuf, in replaceShuffleOfInsert() argument
20493 ArrayRef<int> Mask = Shuf->getMask(); in replaceShuffleOfInsert()
20495 SDValue Op0 = Shuf->getOperand(0); in replaceShuffleOfInsert()
20496 SDValue Op1 = Shuf->getOperand(1); in replaceShuffleOfInsert()
20533 SDValue NewInsIndex = DAG.getVectorIdxConstant(ShufOp0Index, SDLoc(Shuf)); in replaceShuffleOfInsert()
20534 return DAG.getNode(ISD::INSERT_VECTOR_ELT, SDLoc(Shuf), Op0.getValueType(), in replaceShuffleOfInsert()
20542 static SDValue simplifyShuffleOfShuffle(ShuffleVectorSDNode *Shuf) { in simplifyShuffleOfShuffle() argument
20544 auto *Shuf0 = dyn_cast<ShuffleVectorSDNode>(Shuf->getOperand(0)); in simplifyShuffleOfShuffle()
20545 if (!Shuf0 || !Shuf->getOperand(1).isUndef()) in simplifyShuffleOfShuffle()
20548 ArrayRef<int> Mask = Shuf->getMask(); in simplifyShuffleOfShuffle()
20563 return Shuf->getOperand(0); in simplifyShuffleOfShuffle()