aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Make the trunc/sext/zext methods return APInt& so that these operationsReid Spencer2007-02-281-7/+8
* Fix a bug in RoundDoubleToAPInt where it would force the size to 64 bitsReid Spencer2007-02-281-1/+1
* Join two lines that can be joined.Reid Spencer2007-02-271-2/+1
* Implement countLeadingOnes() and getMinSignedBits(). This helps to minimizeReid Spencer2007-02-271-1/+34
* Improve APInt interface:Reid Spencer2007-02-271-34/+1
* Conform to single person attribution in file comment.Reid Spencer2007-02-271-3/+2
* 1. Fix three serious bugs in the comparison code.Reid Spencer2007-02-271-18/+22
* Get rid of extraneous // in file comment.Reid Spencer2007-02-271-1/+1
* Simplify and document RoundDoubleToAPInt.Reid Spencer2007-02-271-3/+15
* 1. Make sure all delete operators of arrays use the array form of delete.Reid Spencer2007-02-261-19/+45
* Implement the getHashValue method.Reid Spencer2007-02-261-1/+16