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