aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/ConstantRange.cpp
AgeCommit message (Expand)Author
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
2007-06-09Fix edge case.Nick Lewycky
2007-04-26Using APInt more efficiently.Zhou Sheng
2007-04-13Make the apint construction more effective.Zhou Sheng
2007-04-07Add signExtend to ConstantRange, to complement zeroExtend and truncate.Nick Lewycky
2007-04-01Implement union of wrapped sets.Nick Lewycky
2007-03-10Add getter methods for the extremes of a ConstantRange.Nick Lewycky
2007-03-02Implement unionWith.Nick Lewycky
2007-03-01Remove the "isSigned" parameters from ConstantRange. It turns out theyReid Spencer
2007-02-28Move ConstantRange class to lib/Support from lib/Analysis and make itsReid Spencer
2007-02-28For PR1205:Reid Spencer
2007-02-28For PR1205:Reid Spencer
2007-02-28For PR1205:Reid Spencer
2007-02-11Fix comments to match names of functions.Nick Lewycky
2007-01-19For PR1043:Reid Spencer
2007-01-15rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner
2007-01-15Update code to eliminate calls to isInteger, calling isIntegral instead.Chris Lattner
2007-01-15Fix correlated exprs regressionsChris Lattner
2007-01-12remove unneeded special casesChris Lattner
2007-01-12Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer
2007-01-11Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer
2007-01-11For PR1043:Zhou Sheng
2007-01-08Fix a bug in an assert that would never trigger.Reid Spencer
2007-01-08Convert uses of getPrimitiveSize that should be getPrimitiveSizeInBits.Reid Spencer