Lines Matching refs:getNumElements

324   unsigned VWidth = cast<FixedVectorType>(V->getType())->getNumElements();  in findDemandedEltsBySingleUser()
342 cast<FixedVectorType>(UserInstr->getType())->getNumElements(); in findDemandedEltsBySingleUser()
368 unsigned VWidth = cast<FixedVectorType>(V->getType())->getNumElements(); in findDemandedEltsByAllUsers()
546 ->getNumElements(); in visitExtractElementInst()
618 unsigned NumElts = cast<FixedVectorType>(V->getType())->getNumElements(); in collectSingleShuffleElements()
660 cast<FixedVectorType>(LHS->getType())->getNumElements(); in collectSingleShuffleElements()
692 unsigned NumInsElts = InsVecType->getNumElements(); in replaceExtractElements()
693 unsigned NumExtElts = ExtVecType->getNumElements(); in replaceExtractElements()
778 unsigned NumElts = cast<FixedVectorType>(V->getType())->getNumElements(); in collectShuffleElements()
824 cast<FixedVectorType>(RHS->getType())->getNumElements(); in collectShuffleElements()
834 ->getNumElements(); in collectShuffleElements()
1186 cast<FixedVectorType>(Shuf.getOperand(0)->getType())->getNumElements(); in isShuffleEquivalentToSelect()
1217 unsigned NumElements = cast<FixedVectorType>(VecTy)->getNumElements(); in foldInsSequenceIntoSplat()
1306 cast<FixedVectorType>(Shuf->getType())->getNumElements(); in foldInsEltIntoSplat()
1345 cast<FixedVectorType>(Shuf->getType())->getNumElements(); in foldInsEltIntoIdentityShuffle()
1461 cast<FixedVectorType>(InsElt.getType())->getNumElements(); in foldConstantInsEltIntoShuffle()
1555 if (!VTy || (VTy->getNumElements() & 1) || in foldTruncInsEltPair()
1588 Type *CastTy = FixedVectorType::get(SrcTy, VTy->getNumElements() / 2); in foldTruncInsEltPair()
1669 cast<FixedVectorType>(ExtVecOp->getType())->getNumElements()) { in visitInsertElementInst()
1716 unsigned VWidth = VecTy->getNumElements(); in visitInsertElementInst()
1810 Mask.size() > cast<FixedVectorType>(ITy)->getNumElements()) in canEvaluateShuffled()
1973 cast<FixedVectorType>(I->getType())->getNumElements()); in evaluateInDifferentElementOrder()
2028 cast<FixedVectorType>(SVI.getOperand(0)->getType())->getNumElements(); in isShuffleExtractingFromLHS()
2215 cast<FixedVectorType>(Shuf.getType())->getNumElements(); in canonicalizeInsertSplat()
2231 unsigned NumElts = cast<FixedVectorType>(Shuf.getType())->getNumElements(); in foldSelectShuffle()
2376 cast<FixedVectorType>(SrcType)->getNumElements() != in foldTruncShuffle()
2377 cast<FixedVectorType>(DestType)->getNumElements() || in foldTruncShuffle()
2421 cast<FixedVectorType>(Shuf.getType())->getNumElements(); in narrowVectorSelect()
2424 cast<FixedVectorType>(NarrowCond->getType())->getNumElements() != in narrowVectorSelect()
2568 unsigned NumElts = cast<FixedVectorType>(Shuf.getType())->getNumElements(); in foldIdentityExtractShuffle()
2590 int InpNumElts = cast<FixedVectorType>(V0->getType())->getNumElements(); in foldShuffleWithInsert()
2689 !isPowerOf2_32(cast<FixedVectorType>(Shuf.getType())->getNumElements()) || in foldIdentityPaddedShuffles()
2691 cast<FixedVectorType>(Shuffle0->getType())->getNumElements()) || in foldIdentityPaddedShuffles()
2692 !isPowerOf2_32(cast<FixedVectorType>(X->getType())->getNumElements()) || in foldIdentityPaddedShuffles()
2703 int NarrowElts = cast<FixedVectorType>(X->getType())->getNumElements(); in foldIdentityPaddedShuffles()
2704 int WideElts = cast<FixedVectorType>(Shuffle0->getType())->getNumElements(); in foldIdentityPaddedShuffles()
2786 unsigned VWidth = cast<FixedVectorType>(SVI.getType())->getNumElements(); in visitShuffleVectorInst()
2787 unsigned LHSWidth = cast<FixedVectorType>(LHS->getType())->getNumElements(); in visitShuffleVectorInst()
2819 unsigned XNumElts = XType->getNumElements(); in visitShuffleVectorInst()
2929 unsigned SrcNumElems = SrcTy->getNumElements(); in visitShuffleVectorInst()
3043 LHSOp0Width = cast<FixedVectorType>(LHSOp0->getType())->getNumElements(); in visitShuffleVectorInst()
3047 RHSOp0Width = cast<FixedVectorType>(RHSOp0->getType())->getNumElements(); in visitShuffleVectorInst()