aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Re-enable this. The header was committed.Reid Spencer2007-02-261-4/+0
* another missing header :( :( :(Chris Lattner2007-02-261-0/+4
* 1. Remove redundant calls to clearUsedBits().Reid Spencer2007-02-261-44/+79
* Rewrite lshr to not do bit by bit copy but to copy and shift whole words.Reid Spencer2007-02-261-15/+42
* Fix sext operation. Shifting by zero would leave an incorrect mask.Reid Spencer2007-02-251-1/+1
* 1. Fix the flip() method to correctly flip all words of the APInt.Reid Spencer2007-02-251-13/+89
* 1. Provide more detail in file comment.Reid Spencer2007-02-251-189/+145
* Allow this to compile now that the header file is checked in.Reid Spencer2007-02-251-4/+0
* this doesn't compile, disable itChris Lattner2007-02-251-0/+4