summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* [APInt] Keep the original bit width in quotient and remainderKrzysztof Parzyszek2018-07-191-16/+17
* Fix MSVC "not all control paths return a value" warnings. NFCI.Simon Pilgrim2018-06-261-0/+2
* [APInt] Add helpers for rounding u/sdivs.Tim Shen2018-06-251-0/+46
* Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen2018-05-141-35/+37
* Remove @brief commands from doxygen comments, too.Adrian Prantl2018-05-011-11/+11
* IWYU for llvm-config.h in llvm, additions.Nico Weber2018-04-301-0/+1
* [NFC] fix trivial typos in comments and error messageHiroshi Inoue2018-04-091-1/+1
* [ADT] Simplify getMemory. NFCFangrui Song2018-03-231-5/+2
* [APInt] Fix extractBits to correctly handle Result.isSingleWord() case.Tim Shen2018-02-161-1/+2
* Recommit r318963 "[APInt] Don't print debug messages from the APInt knuth div...Craig Topper2017-11-241-0/+10
* Revert 318963 "[APInt] Don't print debug messages from the APInt knuth divisi...Craig Topper2017-11-241-10/+0
* [APInt] Don't print debug messages from the APInt knuth division algorithm by...Craig Topper2017-11-241-0/+10
* Reverting r315590; it did not include changes for llvm-tblgen, which is causi...Aaron Ballman2017-10-151-1/+1
* [dump] Remove NDEBUG from test to enable dump methods [NFC]Don Hinton2017-10-121-1/+1
* [APInt] Move the single word cases of countTrailingZeros and countLeadingOnes...Craig Topper2017-06-231-7/+2
* [APInt] Use std::end to avoid mentioning the size of a local buffer repeatedly.Craig Topper2017-05-241-2/+2
* [APInt] Add support for dividing or remainder by a uint64_t or int64_t.Craig Topper2017-05-191-56/+197
* [APInt] Simplify a for loop initialization based on the fact that 'n' is know...Craig Topper2017-05-151-1/+1
* [APInt] Use Lo_32/Hi_32/Make_64 in a few more places in the divide code. NFCICraig Topper2017-05-131-6/+6
* [APInt] Fix typo in comment. NFCCraig Topper2017-05-131-1/+1
* [APInt] Add early outs for a division by 1 to udiv/urem/udivremCraig Topper2017-05-121-4/+18
* [APInt] In udivrem, remember the bit width in a local variable so we don't re...Craig Topper2017-05-121-4/+5
* [APInt] Add an assert to check for divide by zero in udivrem. NFCCraig Topper2017-05-121-0/+1
* [APInt] Remove unnecessary checks of rhsWords==1 with lhsWords==1 from udiv a...Craig Topper2017-05-121-2/+2
* [APInt] Fix a case where udivrem might delete and create a new allocation ins...Craig Topper2017-05-121-2/+5
* [APInt] Add a utility method to change the bit width and storage size of an A...Craig Topper2017-05-121-42/+31
* [APInt] Remove an APInt copy from the return of APInt::multiplicativeInverse.Craig Topper2017-05-111-1/+4
* [APInt] Fix typo in comment. NFCCraig Topper2017-05-111-1/+1
* [APInt] Remove an unneeded extra temporary APInt from toString.Craig Topper2017-05-111-5/+1
* [APInt] Use negate() instead of copying an APInt to negate it and then writin...Craig Topper2017-05-111-3/+3
* [APInt] Add negate helper method to implement twos complement. Use it to shor...Craig Topper2017-05-101-6/+3
* [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
OpenPOWER on IntegriCloud