Lines Matching defs:SplatSize

9358 /// element size of SplatSize. Cast the result to VT.
9359 static SDValue getCanonicalConstSplat(uint64_t Val, unsigned SplatSize, EVT VT,
9365 EVT ReqVT = VT != MVT::Other ? VT : VTys[SplatSize-1];
9368 if (Val == ((1LLU << (SplatSize * 8)) - 1)) {
9369 SplatSize = 1;
9373 EVT CanonicalVT = VTys[SplatSize-1];
9380 DAG.getConstant(APInt(64, Val).trunc(SplatSize * 8), dl, CanonicalVT));
9740 unsigned SplatSize = SplatBitSize / 8;
9759 if (Subtarget.hasPrefixInstrs() && Subtarget.hasP10Vector() && SplatSize == 2)
9760 return getCanonicalConstSplat(SplatBits | (SplatBits << 16), SplatSize * 2,
9763 if (Subtarget.hasPrefixInstrs() && Subtarget.hasP10Vector() && SplatSize == 4)
9764 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG,
9768 if (Subtarget.hasP9Vector() && SplatSize == 1)
9769 return getCanonicalConstSplat(SplatBits, SplatSize, Op.getValueType(), DAG,
9775 return getCanonicalConstSplat(SextVal, SplatSize, Op.getValueType(), DAG,
9792 EVT VT = (SplatSize == 1 ? MVT::v16i8 :
9793 (SplatSize == 2 ? MVT::v8i16 : MVT::v4i32));
9794 SDValue EltSize = DAG.getConstant(SplatSize, dl, MVT::i32);
9805 if (SplatSize == 4 && SplatBits == (0x7FFFFFFF&~SplatUndef)) {
9835 SDValue Res = getCanonicalConstSplat(i, SplatSize, MVT::Other, DAG, dl);
9840 Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG, dl);
9846 SDValue Res = getCanonicalConstSplat(i, SplatSize, MVT::Other, DAG, dl);
9851 Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG, dl);
9858 SDValue Res = getCanonicalConstSplat(i, SplatSize, MVT::Other, DAG, dl);
9863 Res = BuildIntrinsicOp(IIDs[SplatSize-1], Res, Res, DAG, dl);
9869 SDValue T = getCanonicalConstSplat(i, SplatSize, MVT::v16i8, DAG, dl);
9875 SDValue T = getCanonicalConstSplat(i, SplatSize, MVT::v16i8, DAG, dl);
9881 SDValue T = getCanonicalConstSplat(i, SplatSize, MVT::v16i8, DAG, dl);