Chandler Carruth
|
5a88dda4be
Sort the #include lines for unittest/...
|
12 년 전 |
Nuno Lopes
|
b42729b53a
make ConstantRange::zeroExtend() optimal
|
13 년 전 |
Nuno Lopes
|
7e733eab2f
teach ConstantRange that zero times X is always zero
|
13 년 전 |
Nuno Lopes
|
367308f798
make ConstantRange::getSetSize() properly compute the size of wrapped and full sets.
|
13 년 전 |
Nuno Lopes
|
62d7afad8f
add ConstantRange::difference (to perform set difference/relative complement)
|
13 년 전 |
Nuno Lopes
|
532516a87b
fix a off-by-one bug in intersectWith(), and add a bunch of tests
|
13 년 전 |
Nuno Lopes
|
fbb7a73631
fix corner case in ConstantRange::intersectWith().
|
13 년 전 |
Nick Lewycky
|
e6240e8b83
Fix the implementation of ConstantRange::sub(ConstantRange). Patch by Xi Wang!
|
14 년 전 |
Jay Foad
|
40f8f6264d
PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and
|
14 년 전 |
Nick Lewycky
|
f2d7b7c879
Make ConstantRange::makeICmpRegion handle all the edge cases properly. This
|
15 년 전 |
Nick Lewycky
|
32cda119ef
Add a new isSignWrappedSet() method to ConstantRange.
|
15 년 전 |
Nick Lewycky
|
7f9ef4bb51
Clean up ConstantRange a bit:
|
15 년 전 |
Owen Anderson
|
9773e45a1e
Add an inverse() method to ConstantRange.
|
15 년 전 |
Daniel Dunbar
|
46e124668a
Simplify, now that gtest supports raw_ostream directly.
|
16 년 전 |
Nick Lewycky
|
8211becc98
Now that googletest can print ConstantRange, use EXPECT_EQ when testing for
|
16 년 전 |
Jeffrey Yasskin
|
9c0c3bf1ec
Teach googletest to use raw_ostream instead of just std::ostream.
|
16 년 전 |
Chris Lattner
|
32e1eef631
split raw_os_ostream out to its own header and implementation file. This
|
16 년 전 |
Daniel Dunbar
|
2571440d1e
Unbreak unit tests.
|
16 년 전 |
Chris Lattner
|
8142ce568d
convert all the constant range EXPECT_EQ tests to use EXPECT_TRUE since
|
16 년 전 |
Ryan Flynn
|
b714c08eb8
cast signed APInt constructor params to uint64_t to suppress signedness warning
|
16 년 전 |
Nick Lewycky
|
7e7dc45eb1
Fix ConstantRange::unionWith. Also make it work a little hard in some cases to
|
16 년 전 |
Nick Lewycky
|
3a4a884c16
Replace intersectWith with maximalIntersectWith. The latter guarantees that
|
16 년 전 |
Nick Lewycky
|
780905e9f9
Fix an error in ConstantRange::getSignedMax on wrapped ranges. Thanks once
|
16 년 전 |
Nick Lewycky
|
ff84de767a
'i8 full-range' sign extended to i16 should equal [-128, 128) not [-128, 127).
|
16 년 전 |
Nick Lewycky
|
f1db120d04
Multiply was very wrong for wrapped ranges. This supplies a half-fix that will
|
16 년 전 |
Nick Lewycky
|
cf9e07dea8
Fix a bug summing two full sets. The overflow checking doesn't handle sets as
|
16 년 전 |
Nick Lewycky
|
956daf0f7f
Implement udiv for ConstantRanges.
|
16 년 전 |
Nick Lewycky
|
b2dcff443c
This is not overly conservative.
|
16 년 전 |
Nick Lewycky
|
2ff893f486
Implement ConstantRange::multiply based on the code in LoopVR.
|
16 년 전 |
Nick Lewycky
|
646ca92bfc
Fix handling of max and full set.
|
16 년 전 |