summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
Commit message (Expand)AuthorAgeFilesLines
* [APInt] Add saturating truncation methodsRoman Lebedev2019-11-081-0/+25
* [NFC][APInt] Fix typos in comments.Miloš Stojanović2019-11-061-3/+3
* [APInt] Introduce APIntOps::GetMostSignificantDifferentBit()Roman Lebedev2019-10-261-0/+8
* [APInt] Add saturating left-shift opsRoman Lebedev2019-10-251-0/+19
* [APInt] Add saturating multiply opsRoman Lebedev2019-10-251-0/+21
* Fix compile-time regression caused by rL371928Daniel Sanders2019-09-181-0/+52
* [C++2a] Add __builtin_bit_cast, used to implement std::bit_castErik Pilkington2019-07-021-0/+53
* [APInt] Fix getBitsNeeded for INT_MIN valuesDmitry Venikov2019-06-291-1/+4
* [CodeGen] [SelectionDAG] More efficient code for X % C == 0 (UREM case) (try 3)Roman Lebedev2019-06-271-0/+2
* [APInt] Optimize umul_ovFangrui Song2019-04-191-5/+12
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
* [APInt] Add methods for saturated add and subSanjay Patel2018-11-201-0/+36
* ADT: add <bit> header, implement C++20 bit_cast, useJF Bastien2018-09-081-14/+7
* Revert "ADT: add <bit> header, implement C++20 bit_cast, use"JF Bastien2018-09-071-7/+14
* ADT: add <bit> header, implement C++20 bit_cast, useJF Bastien2018-09-071-14/+7
* [ADT] Replace APInt::WORD_MAX with APInt::WORDTYPE_MAXSimon Pilgrim2018-08-161-9/+9
* Fix modules build with different technique to suppress Knuth debuggingTim Northover2018-08-061-37/+33
* Unbreak build after r338758: specify lambda return type explicitlyKrzysztof Parzyszek2018-08-021-1/+1
* [SCEV] Properly solve quadratic equationsKrzysztof Parzyszek2018-08-021-0/+191
* [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
OpenPOWER on IntegriCloud