reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
816 unsigned NumElems = HwLen / (ElemTy.getSizeInBits()/8); 821 unsigned NumElems = (2*HwLen) / (ElemTy.getSizeInBits()/8); 1070 if (SM.MaxSrc - SM.MinSrc < int(HwLen)) { 1071 if (SM.MinSrc == 0 || SM.MinSrc == int(HwLen) || !IsExtSubvector(SM)) { 1077 if (SM.MaxSrc < int(HwLen)) { 1081 if (SM.MinSrc >= int(HwLen)) { 1085 M -= HwLen; 1092 if (SM.MaxSrc < int(HwLen)) { 1094 } else if (SM.MinSrc > int(HwLen)) { 1096 MinSrc = SM.MinSrc - HwLen; 1099 if (isUInt<3>(MinSrc) || isUInt<3>(HwLen-MinSrc)) { 1101 SDValue S = DAG.getTargetConstant(IsRight ? MinSrc : HwLen-MinSrc, 1124 BitVector Picked(HwLen); 1125 SmallVector<uint8_t,128> MuxBytes(HwLen); 1131 if (M >= int(HwLen)) 1132 M -= HwLen; 1152 unsigned LogHw = Log2_32(HwLen); 1189 M = (M & (HwLen-1)) + HwLen*Idx; 1189 M = (M & (HwLen-1)) + HwLen*Idx; 1201 MVT BoolTy = MVT::getVectorVT(MVT::i1, 8*HwLen); // XXX 1222 assert(HwLen == VecLen); 1224 assert(all_of(SM.Mask, [this](int M) { return M == -1 || M < int(HwLen); })); 1367 bool HavePairs = (2*HwLen == VecLen); 1405 if (M < HwLen) { 1409 M -= HwLen; 1420 if (2*HwLen == VecLen) { 1421 SDValue B0 = DAG.getBuildVector(SingleTy, dl, {Ops.data(), HwLen}); 1423 SDValue B1 = DAG.getBuildVector(SingleTy, dl, {Ops.data()+HwLen, HwLen}); 1423 SDValue B1 = DAG.getBuildVector(SingleTy, dl, {Ops.data()+HwLen, HwLen}); 1629 assert(2*HwLen == unsigned(VecLen) && "Expecting vector-pair type"); 1681 unsigned HwLog = Log2_32(HwLen); 1890 if (unsigned(VecLen) == HwLen) { 1898 if (HwLen == unsigned(VecLen)) 2018 bool HavePairs = (2*HwLen == VecLen); 2037 dbgs() << "VecLen=" << VecLen << " HwLen=" << HwLen << " UseLeft="