Lines Matching defs:NSW
60 KnownBits KnownBits::computeForAddSub(bool Add, bool NSW, bool NUW,
91 if (NSW) {
93 // If we have NSW as well, we also know we can't overflow the signbit so
103 if (NSW) {
104 // If we have NSW as well, we also know we can't overflow the signbit so
113 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
644 KnownBits::computeForAddSub(Add, /*NSW=*/false,
713 KnownBits Res = KnownBits::computeForAddSub(Add, /*NSW=*/Signed,