summaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
AgeCommit message (Expand)Author
2025-11-18[APInt] Introduce carry-less multiply primitives (#168527)Ramkumar Ramachandra
2025-08-21[ADT] Add fshl/fshr operations to APInt (#153790)Chaitanya Koparkar
2025-08-17[Support] Remove an unnecessary cast (NFC) (#154048)Kazu Hirata
2025-08-13[ADT] Add signed and unsigned mulExtended to APInt (#153399)Pedro Lobo
2025-05-22[APInt] APInt::clearBitsSlowCase - fix cut+paste typo when merging lo/himasks...Simon Pilgrim
2025-05-21[NFC][ADT/Support] Add {} for else when if body has {} (#140758)Rahul Joshi
2025-05-19[APInt] Added APInt::clearBits() method (#137098)Liam Semeria
2025-01-17remove extra ; (#123352)Iman Hosseini
2025-01-17add power function to APInt (#122788)Iman Hosseini
2024-10-17APInt.cpp: Prune a stray semicolon.NAKAMURA Takumi
2024-10-05[APInt] Slightly simplify APInt::ashrSlowCase. NFC (#111220)Craig Topper
2024-09-04[APInt] improve initialization performance (#106945)Princeton Ferro
2024-09-02[APInt] Add default-disabled assertion to APInt constructor (#106524)Nikita Popov
2024-08-14[APInt] Correct backwards static_assert condition. (#103641)Craig Topper
2024-08-13[APInt] Use APINT_BITS_PER_WORD instead of recomputing it. NFCCraig Topper
2024-04-12Fix typos (#88565)Victor Toni
2024-04-10[APInt] Remove accumulator initialization from tcMultiply and tcFullMultiply....Craig Topper
2024-04-08[APInt] Use a std::move() to avoid a copy in the loop in multiplicativeInvers...Craig Topper
2024-04-04[APInt] Remove multiplicativeInverse with explicit modulus (#87644)Jay Foad
2024-04-04[APInt] Add a simpler overload of multiplicativeInverse (#87610)Jay Foad
2024-04-02[ADT] Add signed and unsigned mulh to APInt (#84719)Atousa Duprat
2024-03-15[ADT][APInt] add sfloordiv_ov APInt's member function (#84720)long.chen
2024-03-14[APInt] Implement average functions without sign/zero-extension. NFC. (#85212)Jay Foad
2024-03-14[ADT] Add implementations for avgFloor and avgCeil to APInt (#84431)Atousa Duprat
2024-03-05[clang] Use separator for large numeric values in overflow diagnostic (#80939)Atousa Duprat
2023-06-27[Align] Add isAligned taking an APIntGuillaume Chatelet
2023-05-31[APInt] Support zero-width extract in extractBitsAsZExtValue()Nikita Popov
2023-05-25[APInt] Add unsigned overloads of shift functionsJay Foad
2023-05-19Add control of hex casing in APInt::toStringThomas Preud'homme
2023-02-19Use APInt::count{l,r}_{zero,one} (NFC)Kazu Hirata
2023-02-14[NFC] Replace -1U{LL} expressions with appropriate *_MAX macros in Support li...Pavel Kopyl
2023-01-28Use llvm::byteswap instead of ByteSwap_{16,32,64} (NFC)Kazu Hirata
2023-01-28Use llvm::count{lr}_{zero,one} (NFC)Kazu Hirata
2023-01-25[Support] Use llvm::countr_zero and llvm::Log2_64 in APInt.cpp (NFC)Kazu Hirata
2023-01-22Use llvm::popcount instead of llvm::countPopulation(NFC)Kazu Hirata
2023-01-15[Support] clang-format partMSBpartMSB and partLSB (NFC)Kazu Hirata
2023-01-15Use the default parameters of countTrailingZeros and find{First,Last}Set (NFC)Kazu Hirata
2023-01-05Move from llvm::makeArrayRef to ArrayRef deduction guides - llvm/ partserge-sans-paille
2022-12-14Don't include Optional.hKazu Hirata
2022-12-10[APInt] Convert GetMostSignificantDifferentBit to std::optionalKrzysztof Parzyszek
2022-12-08[SCEV] Convert Optional to std::optionalKrzysztof Parzyszek
2022-12-02[llvm] Use std::nullopt instead of None (NFC)Kazu Hirata
2022-10-23[ADT] APInt.cpp - remove <cstring> duplicate. NFC.Simon Pilgrim
2022-07-01[ISel] Match all bits when merge undefs for DAG combineXiang1 Zhang
2022-07-01Revert "[ISel] Match all bits when merge undef(s) for DAG combine"Xiang1 Zhang
2022-07-01[ISel] Match all bits when merge undef(s) for DAG combineXiang1 Zhang
2022-06-07[APInt] Remove truncOrSelf, zextOrSelf and sextOrSelfJay Foad
2022-05-19[APInt] Remove all uses of zextOrSelf, sextOrSelf and truncOrSelfJay Foad
2022-05-14[APInt] Allow extending and truncating to the same widthJay Foad
2022-03-14Implement literal suffixes for _BitIntAaron Ballman