Lines Matching defs:N1C
962 ConstantSDNode *N1C = isConstOrConstSplat(Op.getOperand(1), DemandedElts);
963 if (!N1C || !N1C->isOne())
4164 EVT SCCVT, SDValue N0, SDValue N1C, ISD::CondCode Cond,
4166 assert(isConstOrConstSplat(N1C) && isConstOrConstSplat(N1C)->isZero() &&
4228 SDValue T2 = DAG.getSetCC(DL, SCCVT, T1, N1C, Cond);
4503 if (auto *N1C = isConstOrConstSplat(N1)) {
4504 const APInt &C1 = N1C->getAPIntValue();
4554 if (auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) {
4555 const APInt &C1 = N1C->getAPIntValue();
4626 isExtendedTrueVal(N1C, N0->getValueType(0), SExt))) {
4628 bool Inverse = (N1C->isZero() && Cond == ISD::SETEQ) ||
4629 (!N1C->isZero() && Cond == ISD::SETNE);
4794 } else if ((N1C->isZero() || N1C->isOne()) &&
4804 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (!N1C->isOne());
4844 } else if (N1C->isOne()) {
4892 if (N0.getOpcode() == ISD::UREM && N1C->isZero() &&
4905 N1C && N1C->isAllOnes()) {
4918 if (auto *N1C = isConstOrConstSplat(N1)) {
4919 const APInt &C1 = N1C->getAPIntValue();
4922 unsigned OperandBitSize = N1C->getValueType(0).getScalarSizeInBits();
4943 (!N1C->isOpaque() || (C.getBitWidth() <= 64 &&
4963 (!N1C->isOpaque() || (C.getBitWidth() <= 64 &&
5019 bool CmpZero = N1C->isZero();
5020 bool CmpNegOne = N1C->isAllOnes();
5101 if (auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) {
5103 const APInt &C1 = N1C->getAPIntValue();