summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* [APInt] Make toString use udivrem instead of calling the divide helper method...Craig Topper2017-05-101-8/+9
* [APInt] Use uint32_t instead of unsigned for the storage type throughout the ...Craig Topper2017-05-101-39/+34
* [APInt] Use getRawData to slightly simplify some code.Craig Topper2017-05-101-2/+2
* [APInt] Remove check for single word since single word was handled earlier in...Craig Topper2017-05-101-2/+2
* [APInt] Fix indentation of tcDivide. Combine variable declaration and initial...Craig Topper2017-05-101-15/+13
* [APInt] Use getNumWords function in udiv/urem/udivrem instead of reimplementi...Craig Topper2017-05-101-12/+6
* [APInt] Remove return value from tcFullMultiply.Craig Topper2017-05-091-11/+5
* [APInt] Use default constructor instead of explicitly creating a 1-bit APInt ...Craig Topper2017-05-081-2/+2
* [APInt] Remove 'else' after 'return' in udiv and urem. NFCCraig Topper2017-05-081-9/+7
* [APInt] Modify tcMultiplyPart's overflow detection to not depend on 'i' from ...Craig Topper2017-05-081-6/+5
* [APInt] Use std::min instead of writing the same thing with the ternary opera...Craig Topper2017-05-081-1/+1
* [APInt] Remove 'else' after 'return' in tcMultiply methods. NFCCraig Topper2017-05-081-24/+23
* [APInt] Take advantage of new operator*=(uint64_t) to remove a temporary APInt.Craig Topper2017-05-081-5/+1
* [APInt] Add support for multiplying by a uint64_t.Craig Topper2017-05-081-0/+10
* [APInt] Reduce number of allocations involved in multiplying. Reduce worst ca...Craig Topper2017-05-041-110/+10
* [APInt] Give the value union a name so we can remove assumptions on VAL being...Craig Topper2017-05-031-145/+144
* [APInt] Move APInt::getSplat out of line.Craig Topper2017-05-021-0/+11
* [APInt] Move the setBit and clearBit methods inline.Craig Topper2017-05-021-16/+0
* [APInt] Use inplace shift methods where possible. NFCICraig Topper2017-04-281-3/+4
* [APInt] Simplify the zext and sext methodsCraig Topper2017-04-241-33/+18
* [APInt] Add ashrInPlace method and rewrite ashr to make a copy and then call ...Craig Topper2017-04-241-76/+36
* [APInt] Fix repeated word in comments. NFCCraig Topper2017-04-241-2/+2
* [APInt] Make behavior of ashr by BitWidth consistent between single and multi...Craig Topper2017-04-241-1/+3
* [APInt] In sext single word case, use SignExtend64 and let the APInt construc...Craig Topper2017-04-231-5/+2
* Revert "[APInt] Fix a few places that use APInt::getRawData to operate within...Renato Golin2017-04-231-4/+3
* Revert "[APInt] Add ashrInPlace method and implement ashr using it. Also fix ...Renato Golin2017-04-231-26/+73
* [APInt] Use operator<<= instead of shl where possible. NFCCraig Topper2017-04-231-3/+4
* [APInt] Add ashrInPlace method and implement ashr using it. Also fix a bug in...Craig Topper2017-04-221-73/+26
* [APInt] Remove unnecessary min with BitWidth from countTrailingOnesSlowCase.Craig Topper2017-04-221-1/+2
* [APInt] Add WORD_MAX constant and use it instead of UINT64_MAX. NFCCraig Topper2017-04-221-15/+15
* [APInt] Add compare/compareSigned methods that return -1, 0, 1. Reimplement s...Craig Topper2017-04-211-35/+9
* [APInt] Add isSubsetOf method that can check if one APInt is a subset of anot...Craig Topper2017-04-201-0/+8
* [APInt] Implement APInt::intersects without creating a temporary APInt in the...Craig Topper2017-04-201-0/+8
* [APInt] Implement operator==(uint64_t) similar to ugt/ult(uint64_t) to remove...Craig Topper2017-04-191-8/+0
* [APInt] Move the 'return *this' from the slow cases of assignment operators i...Craig Topper2017-04-191-10/+7
* [APInt] Inline the single word case of lshrInPlace similar to what we do for ...Craig Topper2017-04-181-9/+1
* [APInt] Use lshrInPlace to replace lshr where possibleCraig Topper2017-04-181-4/+4
* [APInt] Cleanup the reverseBits slow case a little.Craig Topper2017-04-181-6/+4
* [APInt] Make operator<<= shift in place. Improve the implementation of tcShif...Craig Topper2017-04-181-78/+24
* [APInt] Merge the multiword code from lshrInPlace and tcShiftRight into a sin...Craig Topper2017-04-171-68/+25
* [APInt] Fix a bug in lshr by a value more than 64 bits above the bit width.Craig Topper2017-04-161-1/+1
* Remove all allocation and divisions from GreatestCommonDivisorRichard Smith2017-04-131-70/+82
* [APInt] Reorder fields to avoid a hole in the middle of the classCraig Topper2017-04-131-1/+1
* [APInt] Generalize the implementation of tcIncrement to support adding a full...Craig Topper2017-04-131-64/+40
* [APInt] Make use of whichWord and maskBit to simplify some code. NFCCraig Topper2017-04-021-5/+3
* [APInt] Add a public typedef for the internal type of APInt use it instead of...Craig Topper2017-04-021-81/+81
* [X86] Use tcAdd/tcSubtract to implement the slow case of operator+=/operator-=.Craig Topper2017-04-021-33/+3
* [APInt] Combine declaration and initialization. NFCCraig Topper2017-04-021-6/+2
* [APInt] Simplify some code by using operator+=(uint64_t) instead of doing a m...Craig Topper2017-04-021-7/+2
* [APInt] Fix typo in comment. NFCCraig Topper2017-04-021-1/+1
OpenPOWER on IntegriCloud