aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* A quick nm audit turned up several fixed tables and objects that wereDan Gohman2008-03-251-1/+1
* Add assert for non-hexadecimal radixes.Bill Wendling2008-03-161-0/+4
* Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.Evan Cheng2008-03-071-1/+1
* Add support to APInt for shift and rotate operations with APIntDan Gohman2008-02-291-0/+27
* Fixed bug in APInt::Profile() where the BitWidth field was not included in theTed Kremenek2008-02-191-0/+2
* Fix a warning about comparison between signed and unsigned,Dan Gohman2008-02-141-1/+1
* Add countTrailingOnes member functions to APInt.Dan Gohman2008-02-131-0/+12
* Added FoldingSet style 'profiling' support for APInt.Ted Kremenek2008-01-191-1/+13
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
* Cygwin defines uint32_t as unsigned long. Unbreak call to std::min in this caseAnton Korobeynikov2007-12-241-1/+1
* Don't have APInt.cpp depend upon DerivedTypes.h. This helps with splitting theReid Spencer2007-12-111-14/+23
* Fix PR1816, by correcting the broken definition of APInt::countTrailingZeros.Chris Lattner2007-11-231-1/+1
* Fix APInt::countTrailingZeros to return BitWidth if the input is zero instead...Chris Lattner2007-11-231-2/+2
* Don't attempt to mask no bitsNeil Booth2007-10-121-1/+2
* Add a new function tcExtract for extracting a bignum from anNeil Booth2007-10-081-34/+76
* Fix and clarify some comments.Neil Booth2007-10-061-12/+12
* Generalize tcFullMultiply so that the operands can be of differingNeil Booth2007-10-061-13/+20
* Change APFloat::convertFromInteger to take the incomingDale Johannesen2007-09-211-1/+1
* Do not hide APInt::dump() inside #ifndef NDEBUG.Devang Patel2007-09-171-4/+0
* Remove the assumption that FP's are either float orDale Johannesen2007-09-141-1/+1
* rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()Chris Lattner2007-08-231-2/+2
* initial checkin of Neil's APFloat work.Chris Lattner2007-08-201-10/+30
* This adds a bunch of static functions that implement unsignedChris Lattner2007-08-161-0/+566
* Fix an assertion introduced by my last change to the toString method. WeReid Spencer2007-05-191-2/+2
* Get rid of leading zeros in the output of toString.Reid Spencer2007-05-171-8/+27
* For lshr by 0 bits, just return *this as a short cut. This also preventsReid Spencer2007-05-171-0/+6
* Fix a bug in the "fromString" method where radix 2,8 and 16 values wereReid Spencer2007-05-161-8/+13
* Make the results for the rotate functions correct when rotateAmt == 0.Reid Spencer2007-05-141-0/+4
* Add some things needed by the llvm-gcc version supporting bit accurate integerReid Spencer2007-05-131-1/+67
* Fix shl to produce the correct result when the bitwidth is > 64 and theReid Spencer2007-05-121-0/+6
* silence some annoying gcc 4.3 warningsChris Lattner2007-05-031-7/+10
* We want the number of bits needed, not the power of 2.Reid Spencer2007-04-141-1/+1
* Implement a getBitsNeeded method to determine how many bits are needed toReid Spencer2007-04-131-0/+37
* Fix an approximate calculation in an assertion not to give false negatives.Reid Spencer2007-04-111-1/+1
* Fix a bug in getAllOnesValue() which brokeZhou Sheng2007-03-211-1/+1
* Fix (and simplify) 48-bit byte swap.Jeff Cohen2007-03-201-9/+8
* Fix coding standards violation.Reid Spencer2007-03-191-1/+1
* Implement extension of sign bits for negative values in the uint64_tReid Spencer2007-03-191-1/+5
* Revert the last patch as it violates the conditions of sext/zext.Reid Spencer2007-03-121-4/+0
* For APInt::z/sext(width), if width == BitWidth, just return *this.Zhou Sheng2007-03-121-0/+4
* Unbreak VC++ build.Jeff Cohen2007-03-051-1/+9
* Fix ashr for bitwidths > 64. This is now validated up to 1024 bits.Reid Spencer2007-03-021-33/+49
* Use a better algorithm for rounding sqrt results. Change the FIXME aboutReid Spencer2007-03-021-8/+12
* Add a FIXMEReid Spencer2007-03-021-0/+3
* Fix a problem where shifting by 64-bits leads to incorrect results on PPCReid Spencer2007-03-021-1/+4
* Combine two lines that can be.Reid Spencer2007-03-011-2/+1
* Make the static table of results in sqrt const.Reid Spencer2007-03-011-1/+1
* Add methods for bit width modification: sextOrTrunc, zextOrTrunc.Reid Spencer2007-03-011-0/+16
* Use a real table in sqrt to shorten and quicken the code.Reid Spencer2007-03-011-14/+10
* Add a square root function.Reid Spencer2007-03-011-6/+87