@@ -30,6 +30,10 @@ astGuards
30
30
| test.c:152:10:152:10 | x |
31
31
| test.c:152:10:152:15 | ... && ... |
32
32
| test.c:152:15:152:15 | y |
33
+ | test.c:156:9:156:19 | ... == ... |
34
+ | test.c:159:9:159:19 | ... == ... |
35
+ | test.c:162:9:162:18 | ... < ... |
36
+ | test.c:165:9:165:18 | ... < ... |
33
37
| test.cpp:18:8:18:10 | call to get |
34
38
| test.cpp:31:7:31:13 | ... == ... |
35
39
| test.cpp:42:13:42:20 | call to getABool |
@@ -122,6 +126,38 @@ astGuardsCompare
122
126
| 109 | y < 0+0 when ... < ... is true |
123
127
| 109 | y >= 0+0 when ... < ... is false |
124
128
| 109 | y >= 0+0 when ... \|\| ... is false |
129
+ | 156 | ... + ... != x+0 when ... == ... is false |
130
+ | 156 | ... + ... == x+0 when ... == ... is true |
131
+ | 156 | x != ... + ...+0 when ... == ... is false |
132
+ | 156 | x != y+42 when ... == ... is false |
133
+ | 156 | x == ... + ...+0 when ... == ... is true |
134
+ | 156 | x == y+42 when ... == ... is true |
135
+ | 156 | y != x+-42 when ... == ... is false |
136
+ | 156 | y == x+-42 when ... == ... is true |
137
+ | 159 | ... - ... != x+0 when ... == ... is false |
138
+ | 159 | ... - ... == x+0 when ... == ... is true |
139
+ | 159 | x != ... - ...+0 when ... == ... is false |
140
+ | 159 | x != y+-42 when ... == ... is false |
141
+ | 159 | x == ... - ...+0 when ... == ... is true |
142
+ | 159 | x == y+-42 when ... == ... is true |
143
+ | 159 | y != x+42 when ... == ... is false |
144
+ | 159 | y == x+42 when ... == ... is true |
145
+ | 162 | ... + ... < x+1 when ... < ... is false |
146
+ | 162 | ... + ... >= x+1 when ... < ... is true |
147
+ | 162 | x < ... + ...+0 when ... < ... is true |
148
+ | 162 | x < y+42 when ... < ... is true |
149
+ | 162 | x >= ... + ...+0 when ... < ... is false |
150
+ | 162 | x >= y+42 when ... < ... is false |
151
+ | 162 | y < x+-41 when ... < ... is false |
152
+ | 162 | y >= x+-41 when ... < ... is true |
153
+ | 165 | ... - ... < x+1 when ... < ... is false |
154
+ | 165 | ... - ... >= x+1 when ... < ... is true |
155
+ | 165 | x < ... - ...+0 when ... < ... is true |
156
+ | 165 | x < y+-42 when ... < ... is true |
157
+ | 165 | x >= ... - ...+0 when ... < ... is false |
158
+ | 165 | x >= y+-42 when ... < ... is false |
159
+ | 165 | y < x+43 when ... < ... is false |
160
+ | 165 | y >= x+43 when ... < ... is true |
125
161
astGuardsControl
126
162
| test.c:7:9:7:13 | ... > ... | false | 10 | 11 |
127
163
| test.c:7:9:7:13 | ... > ... | true | 7 | 9 |
@@ -208,6 +244,10 @@ astGuardsControl
208
244
| test.c:152:10:152:10 | x | true | 152 | 152 |
209
245
| test.c:152:10:152:15 | ... && ... | true | 151 | 152 |
210
246
| test.c:152:15:152:15 | y | true | 151 | 152 |
247
+ | test.c:156:9:156:19 | ... == ... | true | 156 | 157 |
248
+ | test.c:159:9:159:19 | ... == ... | true | 159 | 160 |
249
+ | test.c:162:9:162:18 | ... < ... | true | 162 | 163 |
250
+ | test.c:165:9:165:18 | ... < ... | true | 165 | 166 |
211
251
| test.cpp:18:8:18:10 | call to get | true | 19 | 19 |
212
252
| test.cpp:31:7:31:13 | ... == ... | false | 30 | 30 |
213
253
| test.cpp:31:7:31:13 | ... == ... | false | 34 | 34 |
@@ -364,6 +404,22 @@ astGuardsEnsure
364
404
| test.c:109:9:109:23 | ... \|\| ... | test.c:109:23:109:23 | 0 | < | test.c:109:19:109:19 | y | 1 | 113 | 113 |
365
405
| test.c:109:19:109:23 | ... < ... | test.c:109:19:109:19 | y | >= | test.c:109:23:109:23 | 0 | 0 | 113 | 113 |
366
406
| test.c:109:19:109:23 | ... < ... | test.c:109:23:109:23 | 0 | < | test.c:109:19:109:19 | y | 1 | 113 | 113 |
407
+ | test.c:156:9:156:19 | ... == ... | test.c:156:9:156:9 | x | == | test.c:156:14:156:14 | y | 42 | 156 | 157 |
408
+ | test.c:156:9:156:19 | ... == ... | test.c:156:9:156:9 | x | == | test.c:156:14:156:19 | ... + ... | 0 | 156 | 157 |
409
+ | test.c:156:9:156:19 | ... == ... | test.c:156:14:156:14 | y | == | test.c:156:9:156:9 | x | -42 | 156 | 157 |
410
+ | test.c:156:9:156:19 | ... == ... | test.c:156:14:156:19 | ... + ... | == | test.c:156:9:156:9 | x | 0 | 156 | 157 |
411
+ | test.c:159:9:159:19 | ... == ... | test.c:159:9:159:9 | x | == | test.c:159:14:159:14 | y | -42 | 159 | 160 |
412
+ | test.c:159:9:159:19 | ... == ... | test.c:159:9:159:9 | x | == | test.c:159:14:159:19 | ... - ... | 0 | 159 | 160 |
413
+ | test.c:159:9:159:19 | ... == ... | test.c:159:14:159:14 | y | == | test.c:159:9:159:9 | x | 42 | 159 | 160 |
414
+ | test.c:159:9:159:19 | ... == ... | test.c:159:14:159:19 | ... - ... | == | test.c:159:9:159:9 | x | 0 | 159 | 160 |
415
+ | test.c:162:9:162:18 | ... < ... | test.c:162:9:162:9 | x | < | test.c:162:13:162:13 | y | 42 | 162 | 163 |
416
+ | test.c:162:9:162:18 | ... < ... | test.c:162:9:162:9 | x | < | test.c:162:13:162:18 | ... + ... | 0 | 162 | 163 |
417
+ | test.c:162:9:162:18 | ... < ... | test.c:162:13:162:13 | y | >= | test.c:162:9:162:9 | x | -41 | 162 | 163 |
418
+ | test.c:162:9:162:18 | ... < ... | test.c:162:13:162:18 | ... + ... | >= | test.c:162:9:162:9 | x | 1 | 162 | 163 |
419
+ | test.c:165:9:165:18 | ... < ... | test.c:165:9:165:9 | x | < | test.c:165:13:165:13 | y | -42 | 165 | 166 |
420
+ | test.c:165:9:165:18 | ... < ... | test.c:165:9:165:9 | x | < | test.c:165:13:165:18 | ... - ... | 0 | 165 | 166 |
421
+ | test.c:165:9:165:18 | ... < ... | test.c:165:13:165:13 | y | >= | test.c:165:9:165:9 | x | 43 | 165 | 166 |
422
+ | test.c:165:9:165:18 | ... < ... | test.c:165:13:165:18 | ... - ... | >= | test.c:165:9:165:9 | x | 1 | 165 | 166 |
367
423
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | test.cpp:31:12:31:13 | - ... | 0 | 30 | 30 |
368
424
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | test.cpp:31:12:31:13 | - ... | 0 | 34 | 34 |
369
425
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | == | test.cpp:31:12:31:13 | - ... | 0 | 30 | 30 |
@@ -397,6 +453,10 @@ irGuards
397
453
| test.c:146:8:146:8 | Load: x |
398
454
| test.c:152:10:152:10 | Load: x |
399
455
| test.c:152:15:152:15 | Load: y |
456
+ | test.c:156:9:156:19 | CompareEQ: ... == ... |
457
+ | test.c:159:9:159:19 | CompareEQ: ... == ... |
458
+ | test.c:162:9:162:18 | CompareLT: ... < ... |
459
+ | test.c:165:9:165:18 | CompareLT: ... < ... |
400
460
| test.cpp:18:8:18:12 | CompareNE: (bool)... |
401
461
| test.cpp:31:7:31:13 | CompareEQ: ... == ... |
402
462
| test.cpp:42:13:42:20 | Call: call to getABool |
@@ -473,6 +533,38 @@ irGuardsCompare
473
533
| 109 | x == 0+0 when CompareEQ: ... == ... is true |
474
534
| 109 | y < 0+0 when CompareLT: ... < ... is true |
475
535
| 109 | y >= 0+0 when CompareLT: ... < ... is false |
536
+ | 156 | ... + ... != x+0 when CompareEQ: ... == ... is false |
537
+ | 156 | ... + ... == x+0 when CompareEQ: ... == ... is true |
538
+ | 156 | x != ... + ...+0 when CompareEQ: ... == ... is false |
539
+ | 156 | x != y+42 when CompareEQ: ... == ... is false |
540
+ | 156 | x == ... + ...+0 when CompareEQ: ... == ... is true |
541
+ | 156 | x == y+42 when CompareEQ: ... == ... is true |
542
+ | 156 | y != x+-42 when CompareEQ: ... == ... is false |
543
+ | 156 | y == x+-42 when CompareEQ: ... == ... is true |
544
+ | 159 | ... - ... != x+0 when CompareEQ: ... == ... is false |
545
+ | 159 | ... - ... == x+0 when CompareEQ: ... == ... is true |
546
+ | 159 | x != ... - ...+0 when CompareEQ: ... == ... is false |
547
+ | 159 | x != y+-42 when CompareEQ: ... == ... is false |
548
+ | 159 | x == ... - ...+0 when CompareEQ: ... == ... is true |
549
+ | 159 | x == y+-42 when CompareEQ: ... == ... is true |
550
+ | 159 | y != x+42 when CompareEQ: ... == ... is false |
551
+ | 159 | y == x+42 when CompareEQ: ... == ... is true |
552
+ | 162 | ... + ... < x+1 when CompareLT: ... < ... is false |
553
+ | 162 | ... + ... >= x+1 when CompareLT: ... < ... is true |
554
+ | 162 | x < ... + ...+0 when CompareLT: ... < ... is true |
555
+ | 162 | x < y+42 when CompareLT: ... < ... is true |
556
+ | 162 | x >= ... + ...+0 when CompareLT: ... < ... is false |
557
+ | 162 | x >= y+42 when CompareLT: ... < ... is false |
558
+ | 162 | y < x+-41 when CompareLT: ... < ... is false |
559
+ | 162 | y >= x+-41 when CompareLT: ... < ... is true |
560
+ | 165 | ... - ... < x+1 when CompareLT: ... < ... is false |
561
+ | 165 | ... - ... >= x+1 when CompareLT: ... < ... is true |
562
+ | 165 | x < ... - ...+0 when CompareLT: ... < ... is true |
563
+ | 165 | x < y+-42 when CompareLT: ... < ... is true |
564
+ | 165 | x >= ... - ...+0 when CompareLT: ... < ... is false |
565
+ | 165 | x >= y+-42 when CompareLT: ... < ... is false |
566
+ | 165 | y < x+43 when CompareLT: ... < ... is false |
567
+ | 165 | y >= x+43 when CompareLT: ... < ... is true |
476
568
irGuardsControl
477
569
| test.c:7:9:7:13 | CompareGT: ... > ... | false | 11 | 11 |
478
570
| test.c:7:9:7:13 | CompareGT: ... > ... | true | 8 | 8 |
@@ -551,6 +643,10 @@ irGuardsControl
551
643
| test.c:146:8:146:8 | Load: x | false | 147 | 147 |
552
644
| test.c:152:10:152:10 | Load: x | true | 152 | 152 |
553
645
| test.c:152:15:152:15 | Load: y | true | 152 | 152 |
646
+ | test.c:156:9:156:19 | CompareEQ: ... == ... | true | 156 | 157 |
647
+ | test.c:159:9:159:19 | CompareEQ: ... == ... | true | 159 | 160 |
648
+ | test.c:162:9:162:18 | CompareLT: ... < ... | true | 162 | 163 |
649
+ | test.c:165:9:165:18 | CompareLT: ... < ... | true | 165 | 166 |
554
650
| test.cpp:18:8:18:12 | CompareNE: (bool)... | true | 19 | 19 |
555
651
| test.cpp:31:7:31:13 | CompareEQ: ... == ... | false | 34 | 34 |
556
652
| test.cpp:31:7:31:13 | CompareEQ: ... == ... | true | 30 | 30 |
@@ -690,6 +786,22 @@ irGuardsEnsure
690
786
| test.c:109:9:109:14 | CompareEQ: ... == ... | test.c:109:14:109:14 | Constant: 0 | != | test.c:109:9:109:9 | Load: x | 0 | 113 | 113 |
691
787
| test.c:109:19:109:23 | CompareLT: ... < ... | test.c:109:19:109:19 | Load: y | >= | test.c:109:23:109:23 | Constant: (long)... | 0 | 113 | 113 |
692
788
| test.c:109:19:109:23 | CompareLT: ... < ... | test.c:109:23:109:23 | Constant: (long)... | < | test.c:109:19:109:19 | Load: y | 1 | 113 | 113 |
789
+ | test.c:156:9:156:19 | CompareEQ: ... == ... | test.c:156:9:156:9 | Load: x | == | test.c:156:14:156:14 | Load: y | 42 | 156 | 157 |
790
+ | test.c:156:9:156:19 | CompareEQ: ... == ... | test.c:156:9:156:9 | Load: x | == | test.c:156:14:156:19 | PointerAdd: ... + ... | 0 | 156 | 157 |
791
+ | test.c:156:9:156:19 | CompareEQ: ... == ... | test.c:156:14:156:14 | Load: y | == | test.c:156:9:156:9 | Load: x | -42 | 156 | 157 |
792
+ | test.c:156:9:156:19 | CompareEQ: ... == ... | test.c:156:14:156:19 | PointerAdd: ... + ... | == | test.c:156:9:156:9 | Load: x | 0 | 156 | 157 |
793
+ | test.c:159:9:159:19 | CompareEQ: ... == ... | test.c:159:9:159:9 | Load: x | == | test.c:159:14:159:14 | Load: y | -42 | 159 | 160 |
794
+ | test.c:159:9:159:19 | CompareEQ: ... == ... | test.c:159:9:159:9 | Load: x | == | test.c:159:14:159:19 | PointerSub: ... - ... | 0 | 159 | 160 |
795
+ | test.c:159:9:159:19 | CompareEQ: ... == ... | test.c:159:14:159:14 | Load: y | == | test.c:159:9:159:9 | Load: x | 42 | 159 | 160 |
796
+ | test.c:159:9:159:19 | CompareEQ: ... == ... | test.c:159:14:159:19 | PointerSub: ... - ... | == | test.c:159:9:159:9 | Load: x | 0 | 159 | 160 |
797
+ | test.c:162:9:162:18 | CompareLT: ... < ... | test.c:162:9:162:9 | Load: x | < | test.c:162:13:162:13 | Load: y | 42 | 162 | 163 |
798
+ | test.c:162:9:162:18 | CompareLT: ... < ... | test.c:162:9:162:9 | Load: x | < | test.c:162:13:162:18 | PointerAdd: ... + ... | 0 | 162 | 163 |
799
+ | test.c:162:9:162:18 | CompareLT: ... < ... | test.c:162:13:162:13 | Load: y | >= | test.c:162:9:162:9 | Load: x | -41 | 162 | 163 |
800
+ | test.c:162:9:162:18 | CompareLT: ... < ... | test.c:162:13:162:18 | PointerAdd: ... + ... | >= | test.c:162:9:162:9 | Load: x | 1 | 162 | 163 |
801
+ | test.c:165:9:165:18 | CompareLT: ... < ... | test.c:165:9:165:9 | Load: x | < | test.c:165:13:165:13 | Load: y | -42 | 165 | 166 |
802
+ | test.c:165:9:165:18 | CompareLT: ... < ... | test.c:165:9:165:9 | Load: x | < | test.c:165:13:165:18 | PointerSub: ... - ... | 0 | 165 | 166 |
803
+ | test.c:165:9:165:18 | CompareLT: ... < ... | test.c:165:13:165:13 | Load: y | >= | test.c:165:9:165:9 | Load: x | 43 | 165 | 166 |
804
+ | test.c:165:9:165:18 | CompareLT: ... < ... | test.c:165:13:165:18 | PointerSub: ... - ... | >= | test.c:165:9:165:9 | Load: x | 1 | 165 | 166 |
693
805
| test.cpp:18:8:18:12 | CompareNE: (bool)... | test.cpp:18:8:18:10 | Call: call to get | != | test.cpp:18:8:18:12 | Constant: (bool)... | 0 | 19 | 19 |
694
806
| test.cpp:18:8:18:12 | CompareNE: (bool)... | test.cpp:18:8:18:12 | Constant: (bool)... | != | test.cpp:18:8:18:10 | Call: call to get | 0 | 19 | 19 |
695
807
| test.cpp:31:7:31:13 | CompareEQ: ... == ... | test.cpp:31:7:31:7 | Load: x | != | test.cpp:31:12:31:13 | Constant: - ... | 0 | 34 | 34 |
0 commit comments