aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)AuthorFilesLines
2009-09-20Tabs -> spaces, and remove trailing whitespace.Daniel Dunbar1-1/+1
2009-09-06Remove some unused variables and methods warned about byDuncan Sands1-2/+0
2009-08-23remove the dead std::ostream APInt inserterChris Lattner1-8/+2
2009-08-21Clean up the APInt function getDigit.Erick Tryzelaar1-21/+19
2009-08-21Update error messages for '+'. Fix grammar and make the twoEric Christopher1-4/+5
2009-08-21Fix trailing whitespace and 80-col violation.Eric Christopher1-120/+121
2009-08-21Fix bug with APInt::getBitsNeeded with for base 10 numbers 0-9.Erick Tryzelaar1-30/+42
2009-08-21Allow '+' to appear in APInt strings, and add more unit tests.Erick Tryzelaar1-6/+11
2009-08-19Switch to SmallString::str from SmallString::c_str, and removeDaniel Dunbar1-3/+4
2009-08-13Convert APint::{fromString,APInt,getBitsNeeded} to use StringRef.Daniel Dunbar1-17/+22
2009-08-12Add attempted idiotproofing comment per review.Dale Johannesen1-1/+2
2009-08-12Fix a nondeterministic bug in APInt::roundToDouble;Dale Johannesen1-2/+2
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin1-4/+4
2009-07-13Switch to raw_ostream.Daniel Dunbar1-35/+35
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin1-4/+5
2009-06-30Reapply 74494, this time removing the conflicting definition of operator<<Dan Gohman1-0/+6
2009-06-30Temporarily revert r74494. It was causing failures in the unit tests.Bill Wendling1-6/+0
2009-06-30Define an operator<< for APInt to be used with std::ostream.Dan Gohman1-0/+6
2009-05-2180 column violation.Evan Cheng1-1/+1
2009-05-13Fix whitespacing (space after switch).Mike Stump1-6/+5
2009-04-30Move helper functions for optimizing division by constant into the APIntJay Foad1-0/+92
2009-04-25Fix PR4040: APInt's string constructor is too strictChris Lattner1-7/+9
2009-04-01Use CHAR_BIT instead of hard-coding 8 in several places where itDan Gohman1-3/+3
2009-03-19Fix comment typo.Duncan Sands1-1/+1
2009-03-13Fix a hashing bug in APInt. A certain pathological testcase (tooStuart Hastings1-7/+85
2009-01-27APInt's countLeadingOnes() was broken for negative i128 values,Torok Edwin1-1/+7
2009-01-21Remove uses of uint32_t in favor of 'unsigned' for better Chris Lattner1-193/+193
2009-01-19Fix typo, sentence fragment.Nick Lewycky1-2/+2
2008-10-11rearrange some code.Chris Lattner1-6/+6
2008-08-23Switch the asmprinter (.ll) and all the stuff it requires over toChris Lattner1-5/+4
2008-08-20Move the fast-path (<=i64) cases of various APInt methods inlineChris Lattner1-150/+40
2008-08-20It's not necessary to check if a value is null before delete[].Dan Gohman1-1/+1
2008-08-17Rework the routines that convert AP[S]Int into a string. Now, instead ofChris Lattner1-95/+98
2008-08-17remove a dead APInt ctor.Chris Lattner1-8/+1
2008-07-20Fix PR2088. Use modulo linear equation solver to compute loop iterationWojciech Matyjewicz1-1/+1
2008-06-23First step to fix PR2088. Implement routine to compute the Wojciech Matyjewicz1-7/+48
2008-06-21Avoid creating a redundant zero APInt.Dan Gohman1-1/+1
2008-06-05As comments said, for negative value, the arithmetic Zhou Sheng1-1/+1
2008-05-02Suppress -Wshorten-64-to-32 warnings for 64-bit hosts.Evan Cheng1-20/+21
2008-04-10Make several symbols static.Dan Gohman1-5/+5
2008-03-25A quick nm audit turned up several fixed tables and objects that wereDan Gohman1-1/+1
2008-03-16Add assert for non-hexadecimal radixes.Bill Wendling1-0/+4
2008-03-07Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.Evan Cheng1-1/+1
2008-02-29Add support to APInt for shift and rotate operations with APIntDan Gohman1-0/+27
2008-02-19Fixed bug in APInt::Profile() where the BitWidth field was not included in theTed Kremenek1-0/+2
2008-02-14Fix a warning about comparison between signed and unsigned,Dan Gohman1-1/+1
2008-02-13Add countTrailingOnes member functions to APInt.Dan Gohman1-0/+12
2008-01-19Added FoldingSet style 'profiling' support for APInt.Ted Kremenek1-1/+13
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
2007-12-24Cygwin defines uint32_t as unsigned long. Unbreak call to std::min in this caseAnton Korobeynikov1-1/+1