aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/ConstantRange.cpp
AgeCommit message (Expand)Author
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-07-23make ConstantRange::zeroExtend() optimalNuno Lopes
2012-07-19reimplement truncate() to make it optimal.Nuno Lopes
2012-07-17simplify getSetSize() per Duncan's commentsNuno 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
2012-02-07Convert assert(0) to llvm_unreachableCraig Topper
2012-01-03Conform to the style guide; remove 'else' after 'return'. Also remove an extraNick Lewycky
2011-11-24Make ConstantRange::truncate a bit more efficient.Benjamin Kramer
2011-09-21Change:Richard Trieu
2011-07-27Trim includes.Frits van Bommel
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-07Add completely hokey binary-and and binary-or operations to ConstantRange andNick Lewycky
2010-09-06Add a new isSignWrappedSet() method to ConstantRange.Nick Lewycky
2010-08-11Clean up ConstantRange a bit:Nick Lewycky
2010-08-07Remove layering violation.Owen Anderson
2010-08-07Add an inverse() method to ConstantRange.Owen Anderson
2010-08-07Add a convenience constructor.Owen Anderson
2010-01-26Fix a typo that several people pointed out. Also, address the case ofDan Gohman
2010-01-26Add a comment about a missed opportunity.Dan Gohman
2010-01-26Print empty and full sets specially.Dan Gohman
2010-01-05Change errs() to dbgs().David Greene
2009-11-12fix crash in my previous patchNuno Lopes
2009-11-12implement shl, ashr, and lshr methods. shl is not fully implemented as it is ...Nuno Lopes
2009-11-09add zextOrTrunc and sextOrTrunc methods, that are similar to the ones in APIntNuno Lopes
2009-08-23Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner
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-12Implement ConstantRange::multiply based on the code in LoopVR.Nick Lewycky
2009-07-11Fix handling of max and full set.Nick Lewycky
2009-07-11Clarify and simplify.Nick Lewycky
2009-07-11Move a method that creates constant ranges relative to another constant rangeNick 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
2008-08-23Switch the asmprinter (.ll) and all the stuff it requires over toChris Lattner
2008-08-17Rework the routines that convert AP[S]Int into a string. Now, instead ofChris Lattner
2008-05-27Tidy up whitespace in ConstantRange::print output.Dan Gohman
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-07-14Clarify the language. Pointed out by Duncan Sands.Nick Lewycky
2007-07-14Add alternate ConstantRange intersection algorithm.Nick Lewycky