Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:NumElts

2144   unsigned NumElts =  VT.getVectorNumElements();
2146 while (!TLI.isTypeLegal(VT) && NumElts != 1) {
2147 NumElts = NumElts / 2;
2148 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts);
2151 if (NumElts != 1 && !TLI.canOpTrap(N->getOpcode(), VT)) {
2159 if (NumElts == 1)
2172 // NumElts := greatest legal vector size (at most WidenVT)
2174 // take munches of size NumElts from the beginning and add to ConcatOps
2175 // NumElts := next smaller supported vector size or 1
2178 while (CurNumElts >= NumElts) {
2186 Idx += NumElts;
2187 CurNumElts -= NumElts;
2190 NumElts = NumElts / 2;
2191 VT = EVT::getVectorVT(*DAG.getContext(), WidenEltVT, NumElts);
2192 } while (!TLI.isTypeLegal(VT) && NumElts != 1);
2194 if (NumElts == 1) {
2509 unsigned NumElts = VT.getVectorNumElements();
2515 assert(WidenNumElts >= NumElts && "Shrinking vector instead of widening!");
2516 NewOps.append(WidenNumElts - NumElts, DAG.getUNDEF(EltVT));
2698 unsigned NumElts = VT.getVectorNumElements();
2700 for (i=0; i < NumElts; ++i)
2789 unsigned NumElts = WideVT.getVectorNumElements();
2799 NumElts);
2884 unsigned NumElts = VT.getVectorNumElements();
2892 for (unsigned i = 0; i != NumElts; ++i) {
2894 if (Idx < (int)NumElts)
2897 NewMask.push_back(Idx - NumElts + WidenNumElts);
2899 for (unsigned i = NumElts; i != WidenNumElts; ++i)
3081 unsigned NumElts = VT.getVectorNumElements();
3089 SmallVector<SDValue, 16> Ops(NumElts);
3090 for (unsigned i=0; i < NumElts; ++i)
3131 unsigned NumElts = VT.getVectorNumElements();
3132 SmallVector<SDValue, 16> Ops(NumElts);
3225 unsigned NumElts = WideVal.getValueType().getVectorNumElements();
3235 NumElts);
3346 unsigned NumElts = Width / LdTy.getSizeInBits();
3347 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), LdTy, NumElts);
3355 NumElts = Width / NewLdTy.getSizeInBits();
3356 NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewLdTy, NumElts);
3406 unsigned NumElts = WidenWidth / NewVTWidth;
3407 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NumElts);
3546 unsigned NumElts = LdVT.getVectorNumElements();
3558 for (i=1; i < NumElts; ++i, Offset += Increment) {
3627 unsigned NumElts = ValWidth / NewVTWidth;
3628 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NumElts);
3681 unsigned NumElts = StVT.getVectorNumElements();
3690 for (unsigned i=1; i < NumElts; ++i, Offset += Increment) {