Lines Matching refs:NumElts

1676   unsigned NumElts =  VT.getVectorNumElements();
1677 while (!TLI.isTypeLegal(VT) && NumElts != 1) {
1678 NumElts = NumElts / 2;
1679 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts);
1682 if (NumElts != 1 && !TLI.canOpTrap(N->getOpcode(), VT)) {
1690 if (NumElts == 1)
1703 // NumElts := greatest legal vector size (at most WidenVT)
1705 // take munches of size NumElts from the beginning and add to ConcatOps
1706 // NumElts := next smaller supported vector size or 1
1709 while (CurNumElts >= NumElts) {
1715 Idx += NumElts;
1716 CurNumElts -= NumElts;
1719 NumElts = NumElts / 2;
1720 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts);
1721 } while (!TLI.isTypeLegal(VT) && NumElts != 1);
1723 if (NumElts == 1) {
2025 unsigned NumElts = VT.getVectorNumElements();
2031 assert(WidenNumElts >= NumElts && "Shrinking vector instead of widening!");
2032 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT));
2211 unsigned NumElts = VT.getVectorNumElements();
2213 for (i=0; i < NumElts; ++i)
2329 unsigned NumElts = VT.getVectorNumElements();
2337 for (unsigned i = 0; i != NumElts; ++i) {
2339 if (Idx < (int)NumElts)
2342 NewMask.push_back(Idx - NumElts + WidenNumElts);
2344 for (unsigned i = NumElts; i != WidenNumElts; ++i)
2505 unsigned NumElts = VT.getVectorNumElements();
2513 SmallVector<SDValue, 16> Ops(NumElts);
2514 for (unsigned i=0; i < NumElts; ++i)
2552 unsigned NumElts = VT.getVectorNumElements();
2553 SmallVector<SDValue, 16> Ops(NumElts);
2698 unsigned NumElts = Width / LdTy.getSizeInBits();
2699 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), LdTy, NumElts);
2707 NumElts = Width / NewLdTy.getSizeInBits();
2708 NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewLdTy, NumElts);
2757 unsigned NumElts = WidenWidth / NewVTWidth;
2758 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NumElts);
2896 unsigned NumElts = LdVT.getVectorNumElements();
2907 for (i=1; i < NumElts; ++i, Offset += Increment) {
2973 unsigned NumElts = ValWidth / NewVTWidth;
2974 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NumElts);
3024 unsigned NumElts = StVT.getVectorNumElements();
3032 for (unsigned i=1; i < NumElts; ++i, Offset += Increment) {