Lines Matching defs:N1C
995 ConstantSDNode *N1C = isConstOrConstSplat(Op.getOperand(1), DemandedElts);
996 if (!N1C || !N1C->isOne())
4212 EVT SCCVT, SDValue N0, SDValue N1C, ISD::CondCode Cond,
4214 assert(isConstOrConstSplat(N1C) && isConstOrConstSplat(N1C)->isZero() &&
4275 SDValue T2 = DAG.getSetCC(DL, SCCVT, T1, N1C, Cond);
4550 if (auto *N1C = isConstOrConstSplat(N1)) {
4551 const APInt &C1 = N1C->getAPIntValue();
4601 if (auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) {
4602 const APInt &C1 = N1C->getAPIntValue();
4673 isExtendedTrueVal(N1C, N0->getValueType(0), SExt))) {
4675 bool Inverse = (N1C->isZero() && Cond == ISD::SETEQ) ||
4676 (!N1C->isZero() && Cond == ISD::SETNE);
4843 } else if ((N1C->isZero() || N1C->isOne()) &&
4853 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (!N1C->isOne());
4893 } else if (N1C->isOne()) {
4941 if (N0.getOpcode() == ISD::UREM && N1C->isZero() &&
4954 N1C->isAllOnes()) {
4967 if (auto *N1C = isConstOrConstSplat(N1)) {
4968 const APInt &C1 = N1C->getAPIntValue();
4971 unsigned OperandBitSize = N1C->getValueType(0).getScalarSizeInBits();
4992 (!N1C->isOpaque() || (C.getBitWidth() <= 64 &&
5012 (!N1C->isOpaque() || (C.getBitWidth() <= 64 &&
5068 bool CmpZero = N1C->isZero();
5069 bool CmpNegOne = N1C->isAllOnes();
5150 if (auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) {
5151 const APInt &C1 = N1C->getAPIntValue();