Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:NumElts

1542   unsigned NumElts =  VT.getVectorNumElements();
1543 while (!TLI.isTypeLegal(VT) && NumElts != 1) {
1544 NumElts = NumElts / 2;
1545 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts);
1548 if (NumElts != 1 && !TLI.canOpTrap(N->getOpcode(), VT)) {
1556 if (NumElts == 1)
1569 // NumElts := greatest legal vector size (at most WidenVT)
1571 // take munches of size NumElts from the beginning and add to ConcatOps
1572 // NumElts := next smaller supported vector size or 1
1575 while (CurNumElts >= NumElts) {
1581 Idx += NumElts;
1582 CurNumElts -= NumElts;
1585 NumElts = NumElts / 2;
1586 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts);
1587 } while (!TLI.isTypeLegal(VT) && NumElts != 1);
1589 if (NumElts == 1) {
1894 unsigned NumElts = VT.getVectorNumElements();
1900 assert(WidenNumElts >= NumElts && "Shrinking vector instead of widening!");
1901 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT));
2080 unsigned NumElts = VT.getVectorNumElements();
2082 for (i=0; i < NumElts; ++i)
2188 unsigned NumElts = VT.getVectorNumElements();
2196 for (unsigned i = 0; i != NumElts; ++i) {
2198 if (Idx < (int)NumElts)
2201 NewMask.push_back(Idx - NumElts + WidenNumElts);
2203 for (unsigned i = NumElts; i != WidenNumElts; ++i)
2299 unsigned NumElts = VT.getVectorNumElements();
2307 SmallVector<SDValue, 16> Ops(NumElts);
2308 for (unsigned i=0; i < NumElts; ++i)
2313 return DAG.getNode(ISD::BUILD_VECTOR, dl, VT, &Ops[0], NumElts);
2346 unsigned NumElts = VT.getVectorNumElements();
2347 SmallVector<SDValue, 16> Ops(NumElts);
2362 return DAG.getNode(ISD::BUILD_VECTOR, dl, VT, &Ops[0], NumElts);
2493 unsigned NumElts = Width / LdTy.getSizeInBits();
2494 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), LdTy, NumElts);
2502 NumElts = Width / NewLdTy.getSizeInBits();
2503 NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewLdTy, NumElts);
2550 unsigned NumElts = WidenWidth / NewVTWidth;
2551 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NumElts);
2688 unsigned NumElts = LdVT.getVectorNumElements();
2699 for (i=1; i < NumElts; ++i, Offset += Increment) {
2762 unsigned NumElts = ValWidth / NewVTWidth;
2763 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NumElts);
2812 unsigned NumElts = StVT.getVectorNumElements();
2819 for (unsigned i=1; i < NumElts; ++i, Offset += Increment) {