summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* [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
* [APInt] Use conditional operator to simplify some code. NFCCraig Topper2017-04-011-4/+1
* [APInt] Implement flipAllBitsSlowCase with tcComplement. NFCICraig Topper2017-04-011-2/+1
* [APInt] Fix indentation. NFCCraig Topper2017-04-011-8/+8
* [APInt] Implement AndAssignSlowCase using tcAnd. Do the same for Or and Xor. ...Craig Topper2017-04-011-9/+3
* [APInt] Allow GreatestCommonDivisor to take rvalue inputs efficiently. Use mo...Craig Topper2017-04-011-6/+4
* [APInt] Remove the mul/urem/srem/udiv/sdiv functions from the APIntOps namesp...Craig Topper2017-04-011-1/+1
* [APInt] Rewrite getLoBits in a way that will do one less memory allocation in...Craig Topper2017-03-311-3/+4
* [APInt] Reformat tc functions to put opening curly braces on the end of the p...Craig Topper2017-03-281-104/+45
* [APInt] Remove an anonymous namespace around static functions. NFCCraig Topper2017-03-281-35/+33
* [APInt] Combine variable declaration and initialization where possible in the...Craig Topper2017-03-281-76/+36
* [APInt] Use 'unsigned' instead of 'unsigned int' in the interface to the APIn...Craig Topper2017-03-281-36/+36
* [APInt] Move the single word cases of the bitwise operators inline.Craig Topper2017-03-281-18/+3
* [APInt] Move operator=(uint64_t) inline as its pretty simple and is often use...Craig Topper2017-03-271-10/+0
* [APInt] Move operator&=(uint64_t) inline and use memset to clear the upper wo...Craig Topper2017-03-271-12/+0
* [APInt] Move the >64 bit case for flipAllBits out of line.Craig Topper2017-03-271-0/+5
* [APInt] Don't initialize VAL to 0 in APInt constructors. Push it down to the ...Craig Topper2017-03-201-2/+5
* [APInt] Add APInt::insertBits() method to insert an APInt into a larger APIntSimon Pilgrim2017-03-101-0/+59
* Fixed typos in comments. NFCI.Simon Pilgrim2017-03-091-6/+6
* [APInt] Add rvalue reference support to and, or, xor operations to allow thei...Craig Topper2017-03-071-25/+0
OpenPOWER on IntegriCloud