summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/APIntTest.cpp
Commit message (Expand)AuthorAgeFilesLines
* [APInt] Keep the original bit width in quotient and remainderKrzysztof Parzyszek2018-07-191-0/+32
* [APInt] Add helpers for rounding u/sdivs.Tim Shen2018-06-251-0/+67
* Bring back APInt self-move assignment check for MSVC onlyReid Kleckner2018-04-241-0/+32
* [APInt] Fix extractBits to correctly handle Result.isSingleWord() case.Tim Shen2018-02-161-0/+7
* [APInt] Add support for dividing or remainder by a uint64_t or int64_t.Craig Topper2017-05-191-0/+58
* [APInt] Add support for multiplying by a uint64_t.Craig Topper2017-05-081-0/+19
* [APInt] Remove support for wrapping from APInt::setBits.Craig Topper2017-04-301-15/+15
* [APInt] Add ashrInPlace method and rewrite ashr to make a copy and then call ...Craig Topper2017-04-241-0/+36
* [APInt] Make behavior of ashr by BitWidth consistent between single and multi...Craig Topper2017-04-241-1/+1
* [APInt] In sext single word case, use SignExtend64 and let the APInt construc...Craig Topper2017-04-231-0/+20
* Revert "[APInt] Add ashrInPlace method and implement ashr using it. Also fix ...Renato Golin2017-04-231-19/+1
* [APInt] Add ashrInPlace method and implement ashr using it. Also fix a bug in...Craig Topper2017-04-221-1/+19
* [APInt] Add isSubsetOf method that can check if one APInt is a subset of anot...Craig Topper2017-04-201-0/+29
* Recommit "[APInt] Add back the asserts that check that the APInt shift method...Craig Topper2017-04-201-2/+2
* Revert r300811 "[APInt] Add back the asserts that check that the APInt shift ...Craig Topper2017-04-201-2/+2
* [APInt] Add back the asserts that check that the APInt shift methods aren't c...Craig Topper2017-04-201-2/+2
* [APInt] Make operator<<= shift in place. Improve the implementation of tcShif...Craig Topper2017-04-181-0/+33
* [APInt] Merge the multiword code from lshrInPlace and tcShiftRight into a sin...Craig Topper2017-04-171-5/+33
* [APInt] Remove self move check from move assignment operatorCraig Topper2017-04-171-30/+2
* [APInt] Fix a bug in lshr by a value more than 64 bits above the bit width.Craig Topper2017-04-161-0/+5
* Remove all allocation and divisions from GreatestCommonDivisorRichard Smith2017-04-131-0/+43
* [APInt] Move isMask and isShiftedMask out of APIntOps and into the APInt clas...Craig Topper2017-04-031-14/+15
* [APInt] Add a public typedef for the internal type of APInt use it instead of...Craig Topper2017-04-021-37/+37
* [APInt] Fix bugs in isShiftedMask to match behavior of the similar function i...Craig Topper2017-03-311-8/+8
* [APInt] Rewrite getLoBits in a way that will do one less memory allocation in...Craig Topper2017-03-311-0/+18
* [APInt] Add unittests that demonstrate how very broken APIntOps::isShiftedMas...Craig Topper2017-03-311-0/+25
* [APInt] Use memset in setAllBits.Craig Topper2017-03-271-0/+38
* Fix signed/unsigned comparison warningsSimon Pilgrim2017-03-101-11/+11
* [APInt] Add APInt::insertBits() method to insert an APInt into a larger APIntSimon Pilgrim2017-03-101-0/+53
* Strip trailing whitespace.Simon Pilgrim2017-03-071-4/+1
* [APInt] Add rvalue reference support to and, or, xor operations to allow thei...Craig Topper2017-03-071-0/+120
* [APInt] Fix test names in unittest to match functions being tested. NFCCraig Topper2017-03-071-2/+2
* [APInt] Add getBitsSetFrom and setBitsFrom to set upper bits starting at a bitCraig Topper2017-03-071-0/+21
* [APInt] Implement getLowBitsSet/getHighBitsSet/getBitsSet using setLowBits/se...Craig Topper2017-03-071-0/+18
* [APInt] Add setLowBits/setHighBits methods to APInt.Craig Topper2017-03-071-0/+121
* [APInt] Move operator~ out of line to make it better able to reused memory al...Craig Topper2017-03-061-0/+24
* [APInt] Use UINT64_MAX instead of ~0ULL. NFCCraig Topper2017-02-261-0/+10
* [APInt] Remove unnecessary early out from getLowBitsSet. The same case is han...Craig Topper2017-02-261-0/+10
* [APInt] Add APInt::extractBits() method to extract APInt subrange (reapplied)Simon Pilgrim2017-02-251-0/+16
* Revert: r296141 [APInt] Add APInt::extractBits() method to extract APInt subr...Simon Pilgrim2017-02-241-12/+0
* [APInt] Add APInt::extractBits() method to extract APInt subrangeSimon Pilgrim2017-02-241-0/+12
* Fix signed/unsigned comparison warningsSimon Pilgrim2017-02-241-4/+4
* [APInt] Add APInt::setBits() method to set all bits in rangeSimon Pilgrim2017-02-241-0/+94
* [APInt] Fix rotl/rotr when the shift amount is greater than the total bit width.Joey Gouly2017-02-071-2/+52
* [APInt] Add integer API bor bitwise operations.Amaury Sechet2017-02-031-0/+52
* [APInt] Remove calls to clearUnusedBits from XorSlowCase and operator^=Craig Topper2017-01-241-0/+30
* Fix UB in APInt::ashrJonathan Roelofs2016-08-101-0/+5
* Remove obsolete XFAIL for a test that used to sometimes miscompile underDimitry Andric2016-07-261-5/+0
* Use RValue refs in APInt add/sub methods.Pete Cooper2016-07-221-0/+169
* Don't allocate in APInt::slt. NFC.Pete Cooper2016-05-261-0/+28
OpenPOWER on IntegriCloud