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()
553 ->getNumElements(); in visitExtractElementInst()
625 unsigned NumElts = cast<FixedVectorType>(V->getType())->getNumElements(); in collectSingleShuffleElements()
667 cast<FixedVectorType>(LHS->getType())->getNumElements(); in collectSingleShuffleElements()
699 unsigned NumInsElts = InsVecType->getNumElements(); in replaceExtractElements()
700 unsigned NumExtElts = ExtVecType->getNumElements(); in replaceExtractElements()
785 unsigned NumElts = cast<FixedVectorType>(V->getType())->getNumElements(); in collectShuffleElements()
831 cast<FixedVectorType>(RHS->getType())->getNumElements(); in collectShuffleElements()
841 ->getNumElements(); in collectShuffleElements()
1193 cast<FixedVectorType>(Shuf.getOperand(0)->getType())->getNumElements(); in isShuffleEquivalentToSelect()
1224 unsigned NumElements = cast<FixedVectorType>(VecTy)->getNumElements(); in foldInsSequenceIntoSplat()
1314 cast<FixedVectorType>(Shuf->getType())->getNumElements(); in foldInsEltIntoSplat()
1353 cast<FixedVectorType>(Shuf->getType())->getNumElements(); in foldInsEltIntoIdentityShuffle()
1469 cast<FixedVectorType>(InsElt.getType())->getNumElements(); in foldConstantInsEltIntoShuffle()
1563 if (!VTy || (VTy->getNumElements() & 1) || in foldTruncInsEltPair()
1596 Type *CastTy = FixedVectorType::get(SrcTy, VTy->getNumElements() / 2); in foldTruncInsEltPair()
1677 cast<FixedVectorType>(ExtVecOp->getType())->getNumElements()) { in visitInsertElementInst()
1724 unsigned VWidth = VecTy->getNumElements(); in visitInsertElementInst()
1818 Mask.size() > cast<FixedVectorType>(ITy)->getNumElements()) in canEvaluateShuffled()
1981 cast<FixedVectorType>(I->getType())->getNumElements()); in evaluateInDifferentElementOrder()
2036 cast<FixedVectorType>(SVI.getOperand(0)->getType())->getNumElements(); in isShuffleExtractingFromLHS()
2237 cast<FixedVectorType>(Shuf.getType())->getNumElements(); in canonicalizeInsertSplat()
2253 unsigned NumElts = cast<FixedVectorType>(Shuf.getType())->getNumElements(); in foldSelectShuffle()
2399 cast<FixedVectorType>(SrcType)->getNumElements() != in foldTruncShuffle()
2400 cast<FixedVectorType>(DestType)->getNumElements() || in foldTruncShuffle()
2444 cast<FixedVectorType>(Shuf.getType())->getNumElements(); in narrowVectorSelect()
2447 cast<FixedVectorType>(NarrowCond->getType())->getNumElements() != in narrowVectorSelect()
2592 unsigned NumElts = cast<FixedVectorType>(Shuf.getType())->getNumElements(); in foldIdentityExtractShuffle()
2614 int InpNumElts = cast<FixedVectorType>(V0->getType())->getNumElements(); in foldShuffleWithInsert()
2713 !isPowerOf2_32(cast<FixedVectorType>(Shuf.getType())->getNumElements()) || in foldIdentityPaddedShuffles()
2715 cast<FixedVectorType>(Shuffle0->getType())->getNumElements()) || in foldIdentityPaddedShuffles()
2716 !isPowerOf2_32(cast<FixedVectorType>(X->getType())->getNumElements()) || in foldIdentityPaddedShuffles()
2727 int NarrowElts = cast<FixedVectorType>(X->getType())->getNumElements(); in foldIdentityPaddedShuffles()
2728 int WideElts = cast<FixedVectorType>(Shuffle0->getType())->getNumElements(); in foldIdentityPaddedShuffles()
2810 unsigned VWidth = cast<FixedVectorType>(SVI.getType())->getNumElements(); in visitShuffleVectorInst()
2811 unsigned LHSWidth = cast<FixedVectorType>(LHS->getType())->getNumElements(); in visitShuffleVectorInst()
2843 unsigned XNumElts = XType->getNumElements(); in visitShuffleVectorInst()
2945 unsigned SrcNumElems = SrcTy->getNumElements(); in visitShuffleVectorInst()
3059 LHSOp0Width = cast<FixedVectorType>(LHSOp0->getType())->getNumElements(); in visitShuffleVectorInst()
3063 RHSOp0Width = cast<FixedVectorType>(RHSOp0->getType())->getNumElements(); in visitShuffleVectorInst()