summaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2017-04-22[APInt] Add WORD_MAX constant and use it instead of UINT64_MAX. NFCCraig Topper
2017-04-21[APInt] Add compare/compareSigned methods that return -1, 0, 1. Reimplement s...Craig Topper
2017-04-20[APInt] Add isSubsetOf method that can check if one APInt is a subset of anot...Craig Topper
2017-04-20[APInt] Implement APInt::intersects without creating a temporary APInt in the...Craig Topper
2017-04-19[APInt] Implement operator==(uint64_t) similar to ugt/ult(uint64_t) to remove...Craig Topper
2017-04-19[APInt] Move the 'return *this' from the slow cases of assignment operators i...Craig Topper
2017-04-18[APInt] Inline the single word case of lshrInPlace similar to what we do for ...Craig Topper
2017-04-18[APInt] Use lshrInPlace to replace lshr where possibleCraig Topper
2017-04-18[APInt] Cleanup the reverseBits slow case a little.Craig Topper
2017-04-18[APInt] Make operator<<= shift in place. Improve the implementation of tcShif...Craig Topper
2017-04-17[APInt] Merge the multiword code from lshrInPlace and tcShiftRight into a sin...Craig Topper
2017-04-16[APInt] Fix a bug in lshr by a value more than 64 bits above the bit width.Craig Topper
2017-04-13Remove all allocation and divisions from GreatestCommonDivisorRichard Smith
2017-04-13[APInt] Reorder fields to avoid a hole in the middle of the classCraig Topper
2017-04-13[APInt] Generalize the implementation of tcIncrement to support adding a full...Craig Topper
2017-04-02[APInt] Make use of whichWord and maskBit to simplify some code. NFCCraig Topper
2017-04-02[APInt] Add a public typedef for the internal type of APInt use it instead of...Craig Topper
2017-04-02[X86] Use tcAdd/tcSubtract to implement the slow case of operator+=/operator-=.Craig Topper
2017-04-02[APInt] Combine declaration and initialization. NFCCraig Topper
2017-04-02[APInt] Simplify some code by using operator+=(uint64_t) instead of doing a m...Craig Topper
2017-04-02[APInt] Fix typo in comment. NFCCraig Topper
2017-04-01[APInt] Use conditional operator to simplify some code. NFCCraig Topper
2017-04-01[APInt] Implement flipAllBitsSlowCase with tcComplement. NFCICraig Topper
2017-04-01[APInt] Fix indentation. NFCCraig Topper
2017-04-01[APInt] Implement AndAssignSlowCase using tcAnd. Do the same for Or and Xor. ...Craig Topper
2017-04-01[APInt] Allow GreatestCommonDivisor to take rvalue inputs efficiently. Use mo...Craig Topper
2017-04-01[APInt] Remove the mul/urem/srem/udiv/sdiv functions from the APIntOps namesp...Craig Topper
2017-03-31[APInt] Rewrite getLoBits in a way that will do one less memory allocation in...Craig Topper
2017-03-28[APInt] Reformat tc functions to put opening curly braces on the end of the p...Craig Topper
2017-03-28[APInt] Remove an anonymous namespace around static functions. NFCCraig Topper
2017-03-28[APInt] Combine variable declaration and initialization where possible in the...Craig Topper
2017-03-28[APInt] Use 'unsigned' instead of 'unsigned int' in the interface to the APIn...Craig Topper
2017-03-28[APInt] Move the single word cases of the bitwise operators inline.Craig Topper
2017-03-27[APInt] Move operator=(uint64_t) inline as its pretty simple and is often use...Craig Topper
2017-03-27[APInt] Move operator&=(uint64_t) inline and use memset to clear the upper wo...Craig Topper
2017-03-27[APInt] Move the >64 bit case for flipAllBits out of line.Craig Topper
2017-03-20[APInt] Don't initialize VAL to 0 in APInt constructors. Push it down to the ...Craig Topper
2017-03-10[APInt] Add APInt::insertBits() method to insert an APInt into a larger APIntSimon Pilgrim
2017-03-09Fixed typos in comments. NFCI.Simon Pilgrim
2017-03-07[APInt] Add rvalue reference support to and, or, xor operations to allow thei...Craig Topper
2017-03-07[APInt] Add setLowBits/setHighBits methods to APInt.Craig Topper
2017-03-01[APInt] Optimize APInt creation from uint64_tCraig Topper
2017-02-25[APInt] Add APInt::extractBits() method to extract APInt subrange (reapplied)Simon Pilgrim
2017-02-24Revert: r296141 [APInt] Add APInt::extractBits() method to extract APInt subr...Simon Pilgrim
2017-02-24[APInt] Add APInt::extractBits() method to extract APInt subrangeSimon Pilgrim
2017-02-24[APInt] Add APInt::setBits() method to set all bits in rangeSimon Pilgrim
2017-02-23Strip trailing whitespace.Simon Pilgrim
2017-02-07[APInt] Fix rotl/rotr when the shift amount is greater than the total bit width.Joey Gouly
2017-02-03[APInt] Add integer API bor bitwise operations.Amaury Sechet
2017-01-31[Support] Add newline when dumping an APInt.Davide Italiano