Lines Matching defs:N1C
3264 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1);
3265 if (N0C && !N1C)
3387 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1);
3388 if (N0C && !N1C)
3407 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1);
3408 if (N0C && !N1C)
3696 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1);
3697 if (N0C && !N1C)
3915 if (ConstantSDNode *N1C = getAsNonOpaqueConstant(N1))
3917 DAG.getConstant(-N1C->getAPIntValue(), DL, VT));
4334 if (ConstantSDNode *N1C = getAsNonOpaqueConstant(N1))
4335 if (IsSigned && !N1C->isMinSignedValue())
4337 DAG.getConstant(-N1C->getAPIntValue(), DL, VT));
4780 ConstantSDNode *N1C = isConstOrConstSplat(N1);
4812 if ((N1C && N1C->isOne()) || (VT.getScalarType() == MVT::i1))
4835 ConstantSDNode *N1C = isConstOrConstSplat(N1);
4836 if (N1C && N1C->isAllOnes())
4840 if (N1C && N1C->isMinSignedValue())
4874 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr))
4983 ConstantSDNode *N1C = isConstOrConstSplat(N1);
4984 if (N1C && N1C->isAllOnes() && CCVT.isVector() == VT.isVector()) {
5014 if (!N1C || TLI.isIntDivCheap(N->getValueType(0), Attr))
5606 ConstantSDNode *N1C = isConstOrConstSplat(N1);
5611 if (N0C && N1C) {
5614 IsSigned ? N0C->getAPIntValue().smul_ov(N1C->getAPIntValue(), Overflow)
5615 : N0C->getAPIntValue().umul_ov(N1C->getAPIntValue(), Overflow);
5632 if (N1C && N1C->getAPIntValue() == 2 &&
5668 ConstantSDNode *N1C = isConstOrConstSplat(peekThroughTruncates(N1));
5670 if (!N1C || !N3C)
5672 const APInt &C1 = N1C->getAPIntValue().trunc(N1.getScalarValueSizeInBits());
5793 ConstantSDNode *N1C = isConstOrConstSplat(N1);
5795 if (!N1C || !N3C)
5797 const APInt &C1 = N1C->getAPIntValue();
7155 ConstantSDNode *N1C = isConstOrConstSplat(N1);
7156 if (N1C && DAG.MaskedValueIsZero(SDValue(N, 0), APInt::getAllOnes(BitWidth)))
7182 if (N1C && N0.getOpcode() == ISD::ANY_EXTEND) {
7186 APInt Mask = ~N1C->getAPIntValue();
7194 if (N1C->getAPIntValue().countLeadingZeros() >= (BitWidth - SrcBitWidth) &&
7332 if (N0.getOpcode() == ISD::EXTRACT_SUBVECTOR && N0.hasOneUse() && N1C &&
7339 if (N1C->getAPIntValue().isMask(ScalarWidth) &&
7375 if (N1C && N0.getOpcode() == ISD::LOAD && !VT.isVector())
7477 if (N1C && N1C->getAPIntValue() == 0xffff && N0.getOpcode() == ISD::OR) {
7662 ConstantSDNode *N1C = nullptr;
7665 N1C = dyn_cast<ConstantSDNode>(N.getOperand(1));
7667 N1C = dyn_cast<ConstantSDNode>(N0.getOperand(1));
7668 if (!N1C)
7672 switch (N1C->getZExtValue()) {
8110 ConstantSDNode *N1C = dyn_cast<ConstantSDNode>(N1);
8111 if (N1C && DAG.MaskedValueIsZero(N0, ~N1C->getAPIntValue()))
10295 ConstantSDNode *N1C = isConstOrConstSplat(N1);
10296 if (N1C && !N1C->isOpaque())
10319 if (N0.getOpcode() == ISD::VSCALE && N1C) {
10321 const APInt &C1 = N1C->getAPIntValue();
10517 ConstantSDNode *N1C = isConstOrConstSplat(N1);
10556 if (N0.getOpcode() == ISD::SHL && N1C) {
10562 EVT TruncVT = EVT::getIntegerVT(Ctx, OpSizeInBits - N1C->getZExtValue());
10568 int ShiftAmt = N1C->getZExtValue() - N01C->getZExtValue();
10590 // sra (add (shl X, N1C), AddC), N1C -->
10591 // sext (add (trunc X to (width - N1C)), AddC')
10592 // sra (sub AddC, (shl X, N1C)), N1C -->
10593 // sext (sub AddC1',(trunc X to (width - N1C)))
10594 if ((N0.getOpcode() == ISD::ADD || N0.getOpcode() == ISD::SUB) && N1C &&
10606 unsigned ShiftAmt = N1C->getZExtValue();
10648 N0.getOperand(0).getOperand(1).hasOneUse() && N1C) {
10673 if (N1C && !N1C->isOpaque())
10716 ConstantSDNode *N1C = isConstOrConstSplat(N1);
10717 if (N1C &&
10746 if (N1C && N0.getOpcode() == ISD::TRUNCATE &&
10752 uint64_t c2 = N1C->getZExtValue();
10819 if (N1C && N0.getOpcode() == ISD::ANY_EXTEND) {
10823 if (N1C->getAPIntValue().uge(BitSize))
10827 uint64_t ShiftAmt = N1C->getZExtValue();
10842 if (N1C && N1C->getAPIntValue() == (OpSizeInBits - 1)) {
10849 if (N1C && N0.getOpcode() == ISD::CTLZ &&
10851 N1C->getAPIntValue() == Log2_32(OpSizeInBits)) {
10894 if (N1C && !N1C->isOpaque())
11078 ConstantSDNode *N1C = isConstOrConstSplat(N1);
11082 if (N->getOpcode() == ISD::SSHLSAT && N1C &&
11083 N1C->getAPIntValue().ult(DAG.ComputeNumSignBits(N0)))
11087 if (N->getOpcode() == ISD::USHLSAT && N1C &&
11088 N1C->getAPIntValue().ule(
14750 auto *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1));
14751 if (!N1C || !LN)
14755 ShAmt = N1C->getZExtValue();
16997 ConstantFPSDNode *N1C = isConstOrConstSplatFP(N1, true);
16998 if (N1C && N1C->isZero())
16999 if (N1C->isNegative() || Options.NoSignedZerosFPMath || Flags.hasNoSignedZeros())
17992 if (ConstantFPSDNode *N1C = isConstOrConstSplatFP(N->getOperand(1))) {
17993 const APFloat &V = N1C->getValueAPF();
28209 auto *N1C = dyn_cast<ConstantSDNode>(N1.getNode());
28312 if (N1C && N1C->isZero() && (CC == ISD::SETEQ || CC == ISD::SETNE)) {
28341 if (!NotExtCompare && N1C && N2C && N3C &&
28343 ((N1C->isAllOnes() && CC == ISD::SETGT) ||
28344 (N1C->isZero() && CC == ISD::SETLT)) &&