Lines Matching defs:Splat
3312 SDValue Splat = N;
3313 if ((Splat.getOpcode() != RISCVISD::VMV_V_X_VL &&
3314 Splat.getOpcode() != RISCVISD::VMV_S_X_VL) ||
3315 !Splat.getOperand(0).isUndef())
3317 assert(Splat.getNumOperands() == 3 && "Unexpected number of operands");
3318 return Splat;
3322 SDValue Splat = findVSplat(N);
3323 if (!Splat)
3326 SplatVal = Splat.getOperand(1);
3334 SDValue Splat = findVSplat(N);
3335 if (!Splat || !isa<ConstantSDNode>(Splat.getOperand(1)))
3338 const unsigned SplatEltSize = Splat.getScalarValueSizeInBits();
3339 assert(Subtarget.getXLenVT() == Splat.getOperand(1).getSimpleValueType() &&
3349 APInt SplatConst = Splat.getConstantOperandAPInt(1).sextOrTrunc(SplatEltSize);