Lines Matching defs:SplatSize
9217 /// element size of SplatSize. Cast the result to VT.
9218 static SDValue getCanonicalConstSplat(uint64_t Val, unsigned SplatSize, EVT VT,
9224 EVT ReqVT = VT != MVT::Other ? VT : VTys[SplatSize-1];
9227 if (Val == ((1LLU << (SplatSize * 8)) - 1)) {
9228 SplatSize = 1;
9232 EVT CanonicalVT = VTys[SplatSize-1];
9597 unsigned SplatSize = SplatBitSize / 8;
9616 if (Subtarget.hasPrefixInstrs() && Subtarget.hasP10Vector() && SplatSize == 2)
9617 return getCanonicalConstSplat(SplatBits | (SplatBits << 16), SplatSize * 2,
9620 if (Subtarget.hasPrefixInstrs() && Subtarget.hasP10Vector() && SplatSize == 4)
9621 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG,
9625 if (Subtarget.hasP9Vector() && SplatSize == 1)
9626 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG,
9633 return getCanonicalConstSplat(SextVal, SplatSize, Op.getValueType(), DAG,
9650 EVT VT = (SplatSize == 1 ? MVT::v16i8 :
9651 (SplatSize == 2 ? MVT::v8i16 : MVT::v4i32));
9652 SDValue EltSize = DAG.getConstant(SplatSize, dl, MVT::i32);
9663 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) {
9693 SDValue Res = getCanonicalConstSplat(i, SplatSize, MVT::Other, DAG, dl);
9698 Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG, dl);
9704 SDValue Res = getCanonicalConstSplat(i, SplatSize, MVT::Other, DAG, dl);
9709 Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG, dl);
9716 SDValue Res = getCanonicalConstSplat(i, SplatSize, MVT::Other, DAG, dl);
9721 Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG, dl);
9727 SDValue T = getCanonicalConstSplat(i, SplatSize, MVT::v16i8, DAG, dl);
9733 SDValue T = getCanonicalConstSplat(i, SplatSize, MVT::v16i8, DAG, dl);
9739 SDValue T = getCanonicalConstSplat(i, SplatSize, MVT::v16i8, DAG, dl);