Lines Matching refs:Shuffle
1414 auto *Shuffle = cast<ShuffleVectorInst>(I); in SimplifyDemandedVectorElts() local
1415 assert(Shuffle->getOperand(0)->getType() == in SimplifyDemandedVectorElts()
1416 Shuffle->getOperand(1)->getType() && in SimplifyDemandedVectorElts()
1418 unsigned OpWidth = cast<FixedVectorType>(Shuffle->getOperand(0)->getType()) in SimplifyDemandedVectorElts()
1422 if (all_of(Shuffle->getShuffleMask(), [](int Elt) { return Elt == 0; }) && in SimplifyDemandedVectorElts()
1441 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts()
1473 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts()
1480 return Shuffle->getOperand(0); in SimplifyDemandedVectorElts()
1489 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts()
1521 cast<FixedVectorType>(Shuffle->getType())->getNumElements()) { in SimplifyDemandedVectorElts()
1528 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) { in SimplifyDemandedVectorElts()
1529 Op = Shuffle->getOperand(1); in SimplifyDemandedVectorElts()
1535 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(1))) { in SimplifyDemandedVectorElts()
1536 Op = Shuffle->getOperand(0); in SimplifyDemandedVectorElts()
1545 Shuffle->getName()); in SimplifyDemandedVectorElts()
1546 InsertNewInstWith(New, *Shuffle); in SimplifyDemandedVectorElts()
1557 Elts.push_back(Shuffle->getMaskValue(i)); in SimplifyDemandedVectorElts()
1559 Shuffle->setShuffleMask(Elts); in SimplifyDemandedVectorElts()