Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
34c4485b7479a12b5ef1cb15d27e96277e8a499a
/
unittests
/
Support
/
ConstantRangeTest.cpp
e6240e8
Fix the implementation of ConstantRange::sub(ConstantRange). Patch by Xi Wang!
by Nick Lewycky
· 14 years ago
40f8f62
PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and
by Jay Foad
· 15 years ago
f2d7b7c
Make ConstantRange::makeICmpRegion handle all the edge cases properly. This
by Nick Lewycky
· 15 years ago
32cda11
Add a new isSignWrappedSet() method to ConstantRange.
by Nick Lewycky
· 15 years ago
7f9ef4b
Clean up ConstantRange a bit:
by Nick Lewycky
· 15 years ago
9773e45
Add an inverse() method to ConstantRange.
by Owen Anderson
· 15 years ago
46e1246
Simplify, now that gtest supports raw_ostream directly.
by Daniel Dunbar
· 16 years ago
8211bec
Now that googletest can print ConstantRange, use EXPECT_EQ when testing for
by Nick Lewycky
· 16 years ago
9c0c3bf
Teach googletest to use raw_ostream instead of just std::ostream.
by Jeffrey Yasskin
· 16 years ago
32e1eef
split raw_os_ostream out to its own header and implementation file. This
by Chris Lattner
· 16 years ago
2571440
Unbreak unit tests.
by Daniel Dunbar
· 16 years ago
8142ce5
convert all the constant range EXPECT_EQ tests to use EXPECT_TRUE since
by Chris Lattner
· 16 years ago
b714c08
cast signed APInt constructor params to uint64_t to suppress signedness warning
by Ryan Flynn
· 16 years ago
7e7dc45
Fix ConstantRange::unionWith. Also make it work a little hard in some cases to
by Nick Lewycky
· 16 years ago
3a4a884
Replace intersectWith with maximalIntersectWith. The latter guarantees that
by Nick Lewycky
· 16 years ago
780905e
Fix an error in ConstantRange::getSignedMax on wrapped ranges. Thanks once
by Nick Lewycky
· 16 years ago
ff84de7
'i8 full-range' sign extended to i16 should equal [-128, 128) not [-128, 127).
by Nick Lewycky
· 16 years ago
f1db120
Multiply was very wrong for wrapped ranges. This supplies a half-fix that will
by Nick Lewycky
· 16 years ago
cf9e07d
Fix a bug summing two full sets. The overflow checking doesn't handle sets as
by Nick Lewycky
· 16 years ago
956daf0
Implement udiv for ConstantRanges.
by Nick Lewycky
· 16 years ago
b2dcff4
This is not overly conservative.
by Nick Lewycky
· 16 years ago
2ff893f
Implement ConstantRange::multiply based on the code in LoopVR.
by Nick Lewycky
· 16 years ago
646ca92
Fix handling of max and full set.
by Nick Lewycky
· 16 years ago
44b3e8d
Break the world's largest unit test down a few logical lines. No semantic
by Nick Lewycky
· 16 years ago
38b0644
Revert the part of 75177 that split ConstantRange into two classes, and
by Dan Gohman
· 16 years ago
a3755d8
Add a ConstantSignedRange class, which does for signed integers
by Dan Gohman
· 16 years ago