aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-10-17APInt.cpp: Prune a stray semicolon.NAKAMURA Takumi1-1/+1
2024-10-05[APInt] Slightly simplify APInt::ashrSlowCase. NFC (#111220)Craig Topper1-4/+3
2024-09-04[APInt] improve initialization performance (#106945)Princeton Ferro1-9/+10
2024-09-02[APInt] Add default-disabled assertion to APInt constructor (#106524)Nikita Popov1-5/+9
2024-08-14[APInt] Correct backwards static_assert condition. (#103641)Craig Topper1-2/+2
2024-08-13[APInt] Use APINT_BITS_PER_WORD instead of recomputing it. NFCCraig Topper1-3/+3
2024-04-12Fix typos (#88565)Victor Toni1-1/+1
2024-04-10[APInt] Remove accumulator initialization from tcMultiply and tcFullMultiply....Craig Topper1-8/+11
2024-04-08[APInt] Use a std::move() to avoid a copy in the loop in multiplicativeInvers...Craig Topper1-1/+1
2024-04-04[APInt] Remove multiplicativeInverse with explicit modulus (#87644)Jay Foad1-49/+0
2024-04-04[APInt] Add a simpler overload of multiplicativeInverse (#87610)Jay Foad1-0/+13
2024-04-02[ADT] Add signed and unsigned mulh to APInt (#84719)Atousa Duprat1-0/+16
2024-03-15[ADT][APInt] add sfloordiv_ov APInt's member function (#84720)long.chen1-0/+7
2024-03-14[APInt] Implement average functions without sign/zero-extension. NFC. (#85212)Jay Foad1-24/+8
2024-03-14[ADT] Add implementations for avgFloor and avgCeil to APInt (#84431)Atousa Duprat1-0/+36
2024-03-05[clang] Use separator for large numeric values in overflow diagnostic (#80939)Atousa Duprat1-1/+19
2023-06-27[Align] Add isAligned taking an APIntGuillaume Chatelet1-0/+9
2023-05-31[APInt] Support zero-width extract in extractBitsAsZExtValue()Nikita Popov1-1/+0
2023-05-25[APInt] Add unsigned overloads of shift functionsJay Foad1-5/+21
2023-05-19Add control of hex casing in APInt::toStringThomas Preud'homme1-3/+5
2023-02-19Use APInt::count{l,r}_{zero,one} (NFC)Kazu Hirata1-9/+9
2023-02-14[NFC] Replace -1U{LL} expressions with appropriate *_MAX macros in Support li...Pavel Kopyl1-5/+5
2023-01-28Use llvm::byteswap instead of ByteSwap_{16,32,64} (NFC)Kazu Hirata1-4/+4
2023-01-28Use llvm::count{lr}_{zero,one} (NFC)Kazu Hirata1-6/+6
2023-01-25[Support] Use llvm::countr_zero and llvm::Log2_64 in APInt.cpp (NFC)Kazu Hirata1-10/+3
2023-01-22Use llvm::popcount instead of llvm::countPopulation(NFC)Kazu Hirata1-1/+1
2023-01-15[Support] clang-format partMSBpartMSB and partLSB (NFC)Kazu Hirata1-6/+2
2023-01-15Use the default parameters of countTrailingZeros and find{First,Last}Set (NFC)Kazu Hirata1-2/+2
2023-01-05Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ partserge-sans-paille1-2/+2
2022-12-14Don't include Optional.hKazu Hirata1-1/+0
2022-12-10[APInt] Convert GetMostSignificantDifferentBit to std::optionalKrzysztof Parzyszek1-1/+1
2022-12-08[SCEV] Convert Optional to std::optionalKrzysztof Parzyszek1-1/+2
2022-12-02[llvm] Use std::nullopt instead of None (NFC)Kazu Hirata1-2/+2
2022-10-23[ADT] APInt.cpp - remove <cstring> duplicate. NFC.Simon Pilgrim1-1/+1
2022-07-01[ISel] Match all bits when merge undefs for DAG combineXiang1 Zhang1-5/+11
2022-07-01Revert "[ISel] Match all bits when merge undef(s) for DAG combine"Xiang1 Zhang1-11/+5
2022-07-01[ISel] Match all bits when merge undef(s) for DAG combineXiang1 Zhang1-5/+11
2022-06-07[APInt] Remove truncOrSelf, zextOrSelf and sextOrSelfJay Foad1-18/+0
2022-05-19[APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelfJay Foad1-2/+2
2022-05-14[APInt] Allow extending and truncating to the same widthJay Foad1-5/+14
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