Commit 826326f
committed
Reimplemented assume_greater_than in terms of assume_less_than
These operations are symmetric, so we can rewrite x > y as y < x, and
x >= y as y <= x. As a consequence of rewriting, greater than
assumptions now also prune.1 parent b4e2353 commit 826326f
File tree
11 files changed
+330
-155
lines changed- regression/goto-analyzer
- pruning-gt
- pruning-lt
- src/analyses/variable-sensitivity
- unit/analyses/variable-sensitivity/value_expression_evaluation
11 files changed
+330
-155
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
File renamed without changes.
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
746 | 749 | | |
747 | 750 | | |
748 | 751 | | |
749 | 752 | | |
750 | 753 | | |
751 | | - | |
752 | | - | |
753 | | - | |
| 754 | + | |
754 | 755 | | |
755 | | - | |
756 | | - | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
757 | 759 | | |
758 | | - | |
759 | | - | |
760 | | - | |
| 760 | + | |
761 | 761 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
458 | 462 | | |
459 | 463 | | |
460 | 464 | | |
| |||
0 commit comments