Lines Matching defs:NSW
359 bool NSW, bool NUW,
367 if (KnownOut.isUnknown() && !NSW && !NUW)
371 KnownOut = KnownBits::computeForAddSub(Add, NSW, NUW, Known2, KnownOut);
374 static void computeKnownBitsMul(const Value *Op0, const Value *Op1, bool NSW,
384 if (NSW) {
1094 bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
1095 computeKnownBitsMul(I->getOperand(0), I->getOperand(1), NSW, DemandedElts,
1263 bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
1264 auto KF = [NUW, NSW](const KnownBits &KnownVal, const KnownBits &KnownAmt,
1266 return KnownBits::shl(KnownVal, KnownAmt, NUW, NSW, ShAmtNonZero);
1301 bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
1303 computeKnownBitsAddSub(false, I->getOperand(0), I->getOperand(1), NSW, NUW,
1308 bool NSW = Q.IIQ.hasNoSignedWrap(cast<OverflowingBinaryOperator>(I));
1310 computeKnownBitsAddSub(true, I->getOperand(0), I->getOperand(1), NSW, NUW,
1404 /*Add=*/true, /*NSW=*/false, /* NUW=*/false, Known, IndexBits);
1409 /*Add=*/true, /*NSW=*/false, /* NUW=*/false, Known, Index);
1806 return KnownBits::computeForAddSub(/*Add=*/true, /*NSW=*/false,
1825 return KnownBits::computeForAddSub(/*Add=*/false, /*NSW=*/false,
1960 true, II->getArgOperand(0), II->getArgOperand(1), /*NSW=*/false,
1966 false, II->getArgOperand(0), II->getArgOperand(1), /*NSW=*/false,
2605 Value *Y, bool NSW, bool NUW) {
2646 return KnownBits::computeForAddSub(/*Add=*/true, NSW, NUW, XKnown, YKnown)
2668 Value *Y, bool NSW, bool NUW) {
2671 if (NSW || NUW)
3054 /*NSW=*/false,
3062 /*NSW=*/false, /*NUW=*/false);
3106 /*NSW=*/true, /* NUW=*/false);
9631 // If the negation part of the abs (in RHS) has the NSW flag,