aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2010-02-28Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall
2010-02-10Fix "the the" and similar typos.Dan Gohman
2010-02-03Make APInt::countLeadingZerosSlowCase() treat the contents of padding bitsJohn McCall
2010-01-05Change errs() to dbgs().David Greene
2009-12-24Set Remainder before Quotient in case Quotient and LHS alias. The newJohn McCall
2009-09-20Tabs -> spaces, and remove trailing whitespace.Daniel Dunbar
2009-09-06Remove some unused variables and methods warned about byDuncan Sands
2009-08-23remove the dead std::ostream APInt inserterChris Lattner
2009-08-21Clean up the APInt function getDigit.Erick Tryzelaar
2009-08-21Update error messages for '+'. Fix grammar and make the twoEric Christopher
2009-08-21Fix trailing whitespace and 80-col violation.Eric Christopher
2009-08-21Fix bug with APInt::getBitsNeeded with for base 10 numbers 0-9.Erick Tryzelaar
2009-08-21Allow '+' to appear in APInt strings, and add more unit tests.Erick Tryzelaar
2009-08-19Switch to SmallString::str from SmallString::c_str, and removeDaniel Dunbar
2009-08-13Convert APint::{fromString,APInt,getBitsNeeded} to use StringRef.Daniel Dunbar
2009-08-12Add attempted idiotproofing comment per review.Dale Johannesen
2009-08-12Fix a nondeterministic bug in APInt::roundToDouble;Dale Johannesen
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-13Switch to raw_ostream.Daniel Dunbar
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-06-30Reapply 74494, this time removing the conflicting definition of operator<<Dan Gohman
2009-06-30Temporarily revert r74494. It was causing failures in the unit tests.Bill Wendling
2009-06-30Define an operator<< for APInt to be used with std::ostream.Dan Gohman
2009-05-2180 column violation.Evan Cheng
2009-05-13Fix whitespacing (space after switch).Mike Stump
2009-04-30Move helper functions for optimizing division by constant into the APIntJay Foad
2009-04-25Fix PR4040: APInt's string constructor is too strictChris Lattner
2009-04-01Use CHAR_BIT instead of hard-coding 8 in several places where itDan Gohman
2009-03-19Fix comment typo.Duncan Sands
2009-03-13Fix a hashing bug in APInt. A certain pathological testcase (tooStuart Hastings
2009-01-27APInt's countLeadingOnes() was broken for negative i128 values,Torok Edwin
2009-01-21Remove uses of uint32_t in favor of 'unsigned' for better Chris Lattner
2009-01-19Fix typo, sentence fragment.Nick Lewycky
2008-10-11rearrange some code.Chris Lattner
2008-08-23Switch the asmprinter (.ll) and all the stuff it requires over toChris Lattner
2008-08-20Move the fast-path (<=i64) cases of various APInt methods inlineChris Lattner
2008-08-20It's not necessary to check if a value is null before delete[].Dan Gohman
2008-08-17Rework the routines that convert AP[S]Int into a string. Now, instead ofChris Lattner
2008-08-17remove a dead APInt ctor.Chris Lattner
2008-07-20Fix PR2088. Use modulo linear equation solver to compute loop iterationWojciech Matyjewicz
2008-06-23First step to fix PR2088. Implement routine to compute the Wojciech Matyjewicz
2008-06-21Avoid creating a redundant zero APInt.Dan Gohman
2008-06-05As comments said, for negative value, the arithmetic Zhou Sheng
2008-05-02Suppress -Wshorten-64-to-32 warnings for 64-bit hosts.Evan Cheng
2008-04-10Make several symbols static.Dan Gohman
2008-03-25A quick nm audit turned up several fixed tables and objects that wereDan Gohman
2008-03-16Add assert for non-hexadecimal radixes.Bill Wendling
2008-03-07Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.Evan Cheng
2008-02-29Add support to APInt for shift and rotate operations with APIntDan Gohman
2008-02-19Fixed bug in APInt::Profile() where the BitWidth field was not included in theTed Kremenek