aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ConstantRange.cpp
AgeCommit message (Expand)AuthorFilesLines
2009-11-12fix crash in my previous patchNuno Lopes1-1/+1
2009-11-12implement shl, ashr, and lshr methods. shl is not fully implemented as it is ...Nuno Lopes1-0/+37
2009-11-09add zextOrTrunc and sextOrTrunc methods, that are similar to the ones in APIntNuno Lopes1-0/+24
2009-08-23Change Pass::print to take a raw ostream instead of std::ostream,Chris Lattner1-6/+1
2009-07-19Fix ConstantRange::unionWith. Also make it work a little hard in some cases toNick Lewycky1-45/+50
2009-07-18Replace intersectWith with maximalIntersectWith. The latter guarantees thatNick Lewycky1-43/+5
2009-07-13Fix an error in ConstantRange::getSignedMax on wrapped ranges. Thanks onceNick Lewycky1-7/+3
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-6/+6
2009-07-13Fix a bug summing two full sets. The overflow checking doesn't handle sets asNick Lewycky1-0/+2
2009-07-12Implement udiv for ConstantRanges.Nick Lewycky1-4/+26
2009-07-12Implement ConstantRange::multiply based on the code in LoopVR.Nick Lewycky1-3/+13
2009-07-11Fix handling of max and full set.Nick Lewycky1-4/+0
2009-07-11Clarify and simplify.Nick Lewycky1-1/+1
2009-07-11Move a method that creates constant ranges relative to another constant rangeNick Lewycky1-0/+72
2009-07-09Revert the part of 75177 that split ConstantRange into two classes, andDan Gohman1-513/+28
2009-07-09Add a ConstantSignedRange class, which does for signed integersDan Gohman1-19/+572
2008-08-23Switch the asmprinter (.ll) and all the stuff it requires over toChris Lattner1-4/+3
2008-08-17Rework the routines that convert AP[S]Int into a string. Now, instead ofChris Lattner1-2/+1
2008-05-27Tidy up whitespace in ConstantRange::print output.Dan Gohman1-1/+1
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
2007-07-14Clarify the language. Pointed out by Duncan Sands.Nick Lewycky1-2/+4
2007-07-14Add alternate ConstantRange intersection algorithm.Nick Lewycky1-0/+81
2007-06-09Fix edge case.Nick Lewycky1-2/+2
2007-04-26Using APInt more efficiently.Zhou Sheng1-5/+3
2007-04-13Make the apint construction more effective.Zhou Sheng1-3/+3
2007-04-07Add signExtend to ConstantRange, to complement zeroExtend and truncate.Nick Lewycky1-0/+17
2007-04-01Implement union of wrapped sets.Nick Lewycky1-7/+65
2007-03-10Add getter methods for the extremes of a ConstantRange.Nick Lewycky1-0/+64
2007-03-02Implement unionWith.Nick Lewycky1-2/+11
2007-03-01Remove the "isSigned" parameters from ConstantRange. It turns out theyReid Spencer1-37/+23
2007-02-28Move ConstantRange class to lib/Support from lib/Analysis and make itsReid Spencer1-0/+259
2004-08-16Move these files (which are dependent on VMCore) into VMCoreMisha Brukman1-332/+0
2004-07-15Bug fixes for PR341Chris Lattner1-1/+1
2004-07-04Add #include <iostream> since Value.h does not #include it any more.Reid Spencer1-0/+2
2004-03-30Add some new methodsChris Lattner1-15/+87
2004-03-29Adjust to new itfChris Lattner1-2/+2
2004-01-12Remove use of ConstantHandling itfChris Lattner1-24/+31
2003-12-14Finegrainify namespacificationChris Lattner1-4/+1
2003-11-11Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke1-0/+4
2003-10-20Added LLVM project notice to the top of every C++ source file.John Criswell1-0/+7
2003-07-23Simplify code by using ConstantInt::getRawValue instead of checking to seeChris Lattner1-4/+1
2002-09-03Minor bug fix.Chris Lattner1-2/+2
2002-09-02Fix bugsChris Lattner1-14/+21
2002-09-02Add printing support to ConstantRange classChris Lattner1-0/+12
2002-09-01Initial implementation of ConstantRange supportChris Lattner1-0/+227