aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)AuthorFilesLines
2021-06-11[ADT] Remove APInt/APSInt toString() std::string variantsSimon Pilgrim1-8/+0
2021-06-01[ADT] Move DenseMapInfo for APInt into APInt.h (PR50527)Nikita Popov1-0/+4
2020-11-23[APInt] Add the truncOrSelf resizing operator to APIntKerry McLaughlin1-0/+6
2020-09-02[APInt] New member function setBitValJay Foad1-8/+3
2020-07-13[ADT] Make Load(AP)IntFromMemory pointer argument constPavel Labath1-1/+2
2020-04-14[ADT] Mix the bit width into APInt's hash_valueBenjamin Kramer1-2/+4
2020-02-15[APInt] byteSwap - handle any whole byte bitwidth greater than 16-bitsSimon Pilgrim1-1/+1
2020-02-15[APInt] byteSwap - simplify sub 64-bits cases to match general implementation...Simon Pilgrim1-9/+5
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer1-1/+1
2019-11-08[APInt] Add saturating truncation methodsRoman Lebedev1-0/+25
2019-11-06[NFC][APInt] Fix typos in comments.Miloš Stojanović1-3/+3
2019-10-26[APInt] Introduce APIntOps::GetMostSignificantDifferentBit()Roman Lebedev1-0/+8
2019-10-25[APInt] Add saturating left-shift opsRoman Lebedev1-0/+19
2019-10-25[APInt] Add saturating multiply opsRoman Lebedev1-0/+21
2019-09-18Fix compile-time regression caused by rL371928Daniel Sanders1-0/+52
2019-07-02[C++2a] Add __builtin_bit_cast, used to implement std::bit_castErik Pilkington1-0/+53
2019-06-29[APInt] Fix getBitsNeeded for INT_MIN valuesDmitry Venikov1-1/+4
2019-06-27[CodeGen] [SelectionDAG] More efficient code for X % C == 0 (UREM case) (try 3)Roman Lebedev1-0/+2
2019-04-19[APInt] Optimize umul_ovFangrui Song1-5/+12
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-11-20[APInt] Add methods for saturated add and subSanjay Patel1-0/+36
2018-09-08ADT: add <bit> header, implement C++20 bit_cast, useJF Bastien1-14/+7
2018-09-07Revert "ADT: add <bit> header, implement C++20 bit_cast, use"JF Bastien1-7/+14
2018-09-07ADT: add <bit> header, implement C++20 bit_cast, useJF Bastien1-14/+7
2018-08-16[ADT] Replace APInt::WORD_MAX with APInt::WORDTYPE_MAXSimon Pilgrim1-9/+9
2018-08-06Fix modules build with different technique to suppress Knuth debuggingTim Northover1-37/+33
2018-08-02Unbreak build after r338758: specify lambda return type explicitlyKrzysztof Parzyszek1-1/+1
2018-08-02[SCEV] Properly solve quadratic equationsKrzysztof Parzyszek1-0/+191
2018-07-19[APInt] Keep the original bit width in quotient and remainderKrzysztof Parzyszek1-16/+17
2018-06-26Fix MSVC "not all control paths return a value" warnings. NFCI.Simon Pilgrim1-0/+2
2018-06-25[APInt] Add helpers for rounding u/sdivs.Tim Shen1-0/+46
2018-05-14Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen1-35/+37
2018-05-01Remove @brief commands from doxygen comments, too.Adrian Prantl1-11/+11
2018-04-30IWYU for llvm-config.h in llvm, additions.Nico Weber1-0/+1
2018-04-09[NFC] fix trivial typos in comments and error messageHiroshi Inoue1-1/+1
2018-03-23[ADT] Simplify getMemory. NFCFangrui Song1-5/+2
2018-02-16[APInt] Fix extractBits to correctly handle Result.isSingleWord() case.Tim Shen1-1/+2
2017-11-24Recommit r318963 "[APInt] Don't print debug messages from the APInt knuth div...Craig Topper1-0/+10
2017-11-24Revert 318963 "[APInt] Don't print debug messages from the APInt knuth divisi...Craig Topper1-10/+0
2017-11-24[APInt] Don't print debug messages from the APInt knuth division algorithm by...Craig Topper1-0/+10
2017-10-15Reverting r315590; it did not include changes for llvm-tblgen, which is causi...Aaron Ballman1-1/+1
2017-10-12[dump] Remove NDEBUG from test to enable dump methods [NFC]Don Hinton1-1/+1
2017-06-23[APInt] Move the single word cases of countTrailingZeros and countLeadingOnes...Craig Topper1-7/+2
2017-05-24[APInt] Use std::end to avoid mentioning the size of a local buffer repeatedly.Craig Topper1-2/+2
2017-05-19[APInt] Add support for dividing or remainder by a uint64_t or int64_t.Craig Topper1-56/+197
2017-05-15[APInt] Simplify a for loop initialization based on the fact that 'n' is know...Craig Topper1-1/+1
2017-05-13[APInt] Use Lo_32/Hi_32/Make_64 in a few more places in the divide code. NFCICraig Topper1-6/+6
2017-05-13[APInt] Fix typo in comment. NFCCraig Topper1-1/+1
2017-05-12[APInt] Add early outs for a division by 1 to udiv/urem/udivremCraig Topper1-4/+18
2017-05-12[APInt] In udivrem, remember the bit width in a local variable so we don't re...Craig Topper1-4/+5