summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Clean up lshr and ashr to coding standards.Reid Spencer2007-02-251-53/+79
* Whoops, last word with bits in large shift left wasn't correct.Reid Spencer2007-02-251-1/+1
* Fix the > 64 bits case for left shift.Reid Spencer2007-02-251-22/+47
* Fix the remainder shifting in KnuthDiv.Reid Spencer2007-02-241-6/+13
* 1. Fix a bug in fromString for the <= 64bits caseReid Spencer2007-02-241-17/+29
* 1. Fix last bug in KnuthDiv. All divide tests pass up to 1024 bits now.Reid Spencer2007-02-241-63/+55
* 1. Make internal functions take const arguments where they should, justReid Spencer2007-02-241-21/+61
* 1. Fix a carry out problem in add if destination and x point to the sameReid Spencer2007-02-231-92/+43
* When converting from 64 to 32-bits, use the actual number of words toReid Spencer2007-02-221-2/+2
* Fix countLeadingZeros in the case that the bitwidth evenly divides theReid Spencer2007-02-221-1/+4
* Reorganize some code to make it clearer, avoid a few uninitialized memoryReid Spencer2007-02-211-56/+57
* Fix the carry in addition.Reid Spencer2007-02-211-2/+2
* 1. Add a dump() method for faster debugging.Reid Spencer2007-02-211-81/+80
* Fix countLeadingZeros to actually return the correct number.Reid Spencer2007-02-211-11/+13
* Make long addition and subtraction work. Speed things up by using internalReid Spencer2007-02-201-72/+69
* Clean up variable names in operator*.Reid Spencer2007-02-201-8/+8
* Use INFINITY macro from math.h instead of constructing hex floating pointReid Spencer2007-02-201-2/+3
* First version that can process arith.cpp test case up to 1024 bits:Reid Spencer2007-02-201-171/+423
* 1. Fix some indentation and variable names in the get{Min,Max}Value methods.Reid Spencer2007-02-181-8/+24
* 1. Use APINT_WORD_SIZE instead of sizeof(uint64_t)Reid Spencer2007-02-181-42/+59
* 1. Remove dead code (lshift function).Reid Spencer2007-02-181-227/+218
OpenPOWER on IntegriCloud