aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)AuthorFilesLines
2022-03-14Implement literal suffixes for _BitIntAaron Ballman1-26/+43
2022-01-21[llvm] Cleanup header dependencies in ADT and Supportserge-sans-paille1-2/+0
2021-11-16[llvm] Add a SFINAE template parameter to DenseMapInfoRiver Riddle1-1/+1
2021-10-16[APInt] Fix 1-bit edge case in smul_ov()Nikita Popov1-2/+3
2021-10-06[APInt] Fix isAllOnes and extractBits for zero width values.Chris Lattner1-1/+0
2021-10-05[APInt] Fix type limits warning (NFC)Nikita Popov1-2/+1
2021-10-05[APInt] Make insertBits and concat work with zero width APInts.Chris Lattner1-2/+6
2021-10-04[APInt] Stop using soft-deprecated constructors and methods in llvm. NFC.Jay Foad1-4/+4
2021-09-13[APInt] Add a concat method, use LLVM_UNLIKELY to help optimizer.Chris Lattner1-7/+18
2021-09-13[APInt] Add APIntOps::ScaleBitMask helperSimon Pilgrim1-0/+34
2021-09-09[APInt] Enable APInt to support zero bit integers.Chris Lattner1-16/+15
2021-09-09[APInt] Normalize naming on keep constructors / predicate methods.Chris Lattner1-6/+6
2021-09-08[APInt.h] Reduce the APInt header file interface a bit. NFCChris Lattner1-227/+121
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