Lines Matching defs:Splat
3520 SDValue Splat = N;
3521 if ((Splat.getOpcode() != RISCVISD::VMV_V_X_VL &&
3522 Splat.getOpcode() != RISCVISD::VMV_S_X_VL) ||
3523 !Splat.getOperand(0).isUndef())
3525 assert(Splat.getNumOperands() == 3 && "Unexpected number of operands");
3526 return Splat;
3530 SDValue Splat = findVSplat(N);
3531 if (!Splat)
3534 SplatVal = Splat.getOperand(1);
3542 SDValue Splat = findVSplat(N);
3543 if (!Splat || !isa<ConstantSDNode>(Splat.getOperand(1)))
3546 const unsigned SplatEltSize = Splat.getScalarValueSizeInBits();
3547 assert(Subtarget.getXLenVT() == Splat.getOperand(1).getSimpleValueType() &&
3557 APInt SplatConst = Splat.getConstantOperandAPInt(1).sextOrTrunc(SplatEltSize);