aboutsummaryrefslogtreecommitdiff
path: root/unittests/Support/ConstantRangeTest.cpp
AgeCommit message (Expand)Author
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-04Sort the #include lines for unittest/...Chandler Carruth
2012-07-23make ConstantRange::zeroExtend() optimalNuno Lopes
2012-07-16teach ConstantRange that zero times X is always zeroNuno Lopes
2012-07-16make ConstantRange::getSetSize() properly compute the size of wrapped and ful...Nuno Lopes
2012-06-28add ConstantRange::difference (to perform set difference/relative complement)Nuno Lopes
2012-06-28fix a off-by-one bug in intersectWith(), and add a bunch of testsNuno Lopes
2012-05-18fix corner case in ConstantRange::intersectWith().Nuno Lopes
2011-06-22Fix the implementation of ConstantRange::sub(ConstantRange). Patch by Xi Wang!Nick Lewycky
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-09-28Make ConstantRange::makeICmpRegion handle all the edge cases properly. ThisNick Lewycky
2010-09-06Add a new isSignWrappedSet() method to ConstantRange.Nick Lewycky
2010-08-11Clean up ConstantRange a bit:Nick Lewycky
2010-08-07Add an inverse() method to ConstantRange.Owen Anderson
2009-09-06Simplify, now that gtest supports raw_ostream directly.Daniel Dunbar
2009-09-05Now that googletest can print ConstantRange, use EXPECT_EQ when testing forNick Lewycky
2009-09-05Teach googletest to use raw_ostream instead of just std::ostream.Jeffrey Yasskin
2009-08-24split raw_os_ostream out to its own header and implementation file. ThisChris Lattner
2009-08-24Unbreak unit tests.Daniel Dunbar
2009-08-23convert all the constant range EXPECT_EQ tests to use EXPECT_TRUE since Chris Lattner
2009-07-22cast signed APInt constructor params to uint64_t to suppress signedness warningRyan Flynn
2009-07-19Fix ConstantRange::unionWith. Also make it work a little hard in some cases toNick Lewycky
2009-07-18Replace intersectWith with maximalIntersectWith. The latter guarantees thatNick Lewycky
2009-07-13Fix an error in ConstantRange::getSignedMax on wrapped ranges. Thanks onceNick Lewycky
2009-07-13'i8 full-range' sign extended to i16 should equal [-128, 128) not [-128, 127).Nick Lewycky
2009-07-13Multiply was very wrong for wrapped ranges. This supplies a half-fix that willNick Lewycky
2009-07-13Fix a bug summing two full sets. The overflow checking doesn't handle sets asNick Lewycky
2009-07-12Implement udiv for ConstantRanges.Nick Lewycky
2009-07-12This is not overly conservative.Nick Lewycky
2009-07-12Implement ConstantRange::multiply based on the code in LoopVR.Nick Lewycky
2009-07-11Fix handling of max and full set.Nick Lewycky
2009-07-11Break the world's largest unit test down a few logical lines. No semanticNick Lewycky
2009-07-09Revert the part of 75177 that split ConstantRange into two classes, andDan Gohman
2009-07-09Add a ConstantSignedRange class, which does for signed integersDan Gohman