Lines Matching defs:NSW
51 KnownBits KnownBits::computeForAddSub(bool Add, bool NSW, bool NUW,
82 if (NSW) {
84 // If we have NSW as well, we also know we can't overflow the signbit so
94 if (NSW) {
95 // If we have NSW as well, we also know we can't overflow the signbit so
104 if (NSW) {
232 return computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/false, LHS,
235 return computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/false, RHS,
241 computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/true, LHS, RHS);
243 computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/true, RHS, LHS);
251 return computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/false, LHS,
254 return computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/false, RHS,
272 computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/true, LHS, RHS);
274 computeForAddSub(/*Add=*/false, /*NSW=*/false, /*NUW=*/true, RHS, LHS);
286 bool NSW, bool ShAmtNonZero) {
296 if (NSW) {
316 if (NUW && NSW && MinShiftAmount != 0)
321 // Determine maximum shift amount, taking NUW/NSW flags into account.
324 if (NUW && NSW)
328 if (NSW)
339 if (NSW) {
611 // We don't see NSW even for sadd/ssub as we want to check if the result has
614 KnownBits::computeForAddSub(Add, /*NSW=*/false, /*NUW=*/false, LHS, RHS);