Lines Matching defs:ScalarV
13098 SDValue ScalarV = Reduce.getOperand(2);
13099 EVT ScalarVT = ScalarV.getValueType();
13100 if (ScalarV.getOpcode() == ISD::INSERT_SUBVECTOR &&
13101 ScalarV.getOperand(0)->isUndef() &&
13102 isNullConstant(ScalarV.getOperand(2)))
13103 ScalarV = ScalarV.getOperand(1);
13105 // Make sure that ScalarV is a splat with VL=1.
13106 if (ScalarV.getOpcode() != RISCVISD::VFMV_S_F_VL &&
13107 ScalarV.getOpcode() != RISCVISD::VMV_S_X_VL &&
13108 ScalarV.getOpcode() != RISCVISD::VMV_V_X_VL)
13111 if (!isNonZeroAVL(ScalarV.getOperand(2)))
13114 // Check the scalar of ScalarV is neutral element
13116 if (!isNeutralConstant(N->getOpcode(), N->getFlags(), ScalarV.getOperand(1),
13129 lowerScalarInsert(NewStart, ScalarV.getOperand(2),
13130 ScalarV.getSimpleValueType(), DL, DAG, Subtarget);
13133 if (ScalarVT != ScalarV.getValueType())