Lines Matching refs:N1C
937 ConstantSDNode *N1C = isConstOrConstSplat(Op.getOperand(1), DemandedElts); in combineShiftToAVG() local
938 if (!N1C || !N1C->isOne()) in combineShiftToAVG()
3842 EVT SCCVT, SDValue N0, SDValue N1C, ISD::CondCode Cond, in optimizeSetCCByHoistingAndByConstFromLogicalShift() argument
3844 assert(isConstOrConstSplat(N1C) && in optimizeSetCCByHoistingAndByConstFromLogicalShift()
3845 isConstOrConstSplat(N1C)->getAPIntValue().isZero() && in optimizeSetCCByHoistingAndByConstFromLogicalShift()
3907 SDValue T2 = DAG.getSetCC(DL, SCCVT, T1, N1C, Cond); in optimizeSetCCByHoistingAndByConstFromLogicalShift()
4177 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC() local
4178 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC()
4211 if (auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in SimplifySetCC() local
4212 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC()
4283 isExtendedTrueVal(N1C, N0->getValueType(0), SExt))) { in SimplifySetCC()
4285 bool Inverse = (N1C->isZero() && Cond == ISD::SETEQ) || in SimplifySetCC()
4286 (!N1C->isZero() && Cond == ISD::SETNE); in SimplifySetCC()
4437 } else if ((N1C->isZero() || N1C->isOne()) && in SimplifySetCC()
4445 bool TrueWhenTrue = (Cond == ISD::SETEQ) ^ (!N1C->isOne()); in SimplifySetCC()
4483 } else if (N1C->isOne()) { in SimplifySetCC()
4531 if (N0.getOpcode() == ISD::UREM && N1C->isZero() && in SimplifySetCC()
4544 N1C && N1C->isAllOnes()) { in SimplifySetCC()
4557 if (auto *N1C = isConstOrConstSplat(N1)) { in SimplifySetCC() local
4558 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC()
4561 unsigned OperandBitSize = N1C->getValueType(0).getScalarSizeInBits(); in SimplifySetCC()
4582 (!N1C->isOpaque() || (C.getBitWidth() <= 64 && in SimplifySetCC()
4602 (!N1C->isOpaque() || (C.getBitWidth() <= 64 && in SimplifySetCC()
4658 bool CmpZero = N1C->getAPIntValue().isZero(); in SimplifySetCC()
4659 bool CmpNegOne = N1C->getAPIntValue().isAllOnes(); in SimplifySetCC()
4740 if (auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode())) { in SimplifySetCC() local
4742 const APInt &C1 = N1C->getAPIntValue(); in SimplifySetCC()