aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
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
2008-02-14Fix a warning about comparison between signed and unsigned,Dan Gohman
2008-02-13Add countTrailingOnes member functions to APInt.Dan Gohman
2008-01-19Added FoldingSet style 'profiling' support for APInt.Ted Kremenek
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-12-24Cygwin defines uint32_t as unsigned long. Unbreak call to std::min in this caseAnton Korobeynikov
2007-12-11Don't have APInt.cpp depend upon DerivedTypes.h. This helps with splitting theReid Spencer
2007-11-23Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros.Chris Lattner
2007-11-23Fix APInt::countTrailingZeros to return BitWidth if the input is zero instead...Chris Lattner
2007-10-12Don't attempt to mask no bitsNeil Booth
2007-10-08Add a new function tcExtract for extracting a bignum from anNeil Booth
2007-10-06Fix and clarify some comments.Neil Booth
2007-10-06Generalize tcFullMultiply so that the operands can be of differingNeil Booth
2007-09-21Change APFloat::convertFromInteger to take the incomingDale Johannesen
2007-09-17Do not hide APInt::dump() inside #ifndef NDEBUG.Devang Patel
2007-09-14Remove the assumption that FP's are either float orDale Johannesen
2007-08-23rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()Chris Lattner
2007-08-20initial checkin of Neil's APFloat work.Chris Lattner
2007-08-16This adds a bunch of static functions that implement unsignedChris Lattner
2007-05-19Fix an assertion introduced by my last change to the toString method. WeReid Spencer
2007-05-17Get rid of leading zeros in the output of toString.Reid Spencer