summaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/APIntTest.cpp
AgeCommit message (Expand)Author
2025-05-22[APInt] APInt::clearBitsSlowCase - fix cut+paste typo when merging lo/himasks...Simon Pilgrim
2025-05-19[APInt] Added APInt::clearBits() method (#137098)Liam Semeria
2025-01-17add power function to APInt (#122788)Iman Hosseini
2024-10-15[APInt] Fix getAllOnes() with zero width (#112227)Nikita Popov
2024-09-20[UnitTests] Fix APInt signed flags (NFC)Nikita Popov
2024-09-02[APInt] Add default-disabled assertion to APInt constructor (#106524)Nikita Popov
2024-05-13[ADT] Introduce `APInt::clearHighBits` (#91938)Yingwei Zheng
2024-04-22[llvm] Add support for zero-width integers in MathExtras.h (#87193)Théo Degioanni
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] APIntTest - use APInt::getMaxValue/getSignedMinValue/getSignedMaxValue ...Simon Pilgrim
2024-03-15[ADT][APInt] add sfloordiv_ov APInt's member function (#84720)long.chen
2024-03-14[ADT] Add implementations for avgFloor and avgCeil to APInt (#84431)Atousa Duprat
2024-03-12[ADT] Add APIntOps::abds signed absolute difference and rename absdiff -> abd...Simon Pilgrim
2024-03-05[clang] Use separator for large numeric values in overflow diagnostic (#80939)Atousa Duprat
2024-02-19[APInt] Add APIntOps::absdiff to compute the absolute difference of 2 unsigne...Simon Pilgrim
2023-06-27[Align] Add isAligned taking an APIntGuillaume Chatelet
2023-05-31[APInt] Support zero-width extract in extractBitsAsZExtValue()Nikita Popov
2023-05-19Add control of hex casing in APInt::toStringThomas Preud'homme
2023-02-20Migrate away from the soft-deprecated functions in APInt.h (NFC)Kazu Hirata
2023-02-16[ADT] Provide C++20-style bit functionsKazu Hirata
2023-01-03[APInt] Add APInt::isOneBitSet helper.Simon Pilgrim
2022-12-15[APInt] Fix a bug in the unit testing introduced in 55968109dPeter Rong
2022-12-15[APInt] provide a safe API for zext value and sext value.Peter Rong
2022-12-10[APInt] Convert GetMostSignificantDifferentBit to std::optionalKrzysztof Parzyszek
2022-12-08[SCEV] Convert Optional to std::optionalKrzysztof Parzyszek
2022-12-02[llvm/unittests] Use std::nullopt instead of None (NFC)Kazu Hirata
2022-11-01Fix DenseMap with APInt keysWeverything
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-25[llvm] Don't use Optional::{hasValue,getValue} (NFC)Kazu Hirata
2022-05-19[APInt] Deprecate truncOrSelf, zextOrSelf and sextOrSelfJay Foad
2022-05-14[APInt] Allow extending and truncating to the same widthJay Foad
2022-02-08Fix signed/unsigned comparison warnings on ppc buildbotsSimon Pilgrim
2022-02-08Fix signed/unsigned comparison warnings on ppc buildbotsSimon Pilgrim
2022-02-08[ADT] Add APInt/MathExtras isShiftedMask variant returning mask offset/lengthSimon Pilgrim
2021-11-30[ADT] Remove 0-width Asserts in APInt.getZExtValueSchuyler Eldridge
2021-10-19[ADT] Add APInt::isNegatedPowerOf2() helperSimon Pilgrim
2021-10-18[ADT] Fix Wshift-overflow gcc warning in isPowerOf2 unit testSimon Pilgrim
2021-10-18[ADT] Add some basic APInt::isPowerOf2() unit test coverageSimon Pilgrim
2021-10-16[APInt] Fix 1-bit edge case in smul_ov()Nikita Popov
2021-10-06[APInt] Fix isAllOnes and extractBits for zero width values.Chris Lattner
2021-10-05[APInt] Make insertBits and concat work with zero width APInts.Chris Lattner
2021-09-13[APInt] Add a concat method, use LLVM_UNLIKELY to help optimizer.Chris Lattner
2021-09-13[APInt] Add APIntOps::ScaleBitMask helperSimon Pilgrim
2021-09-09[APInt] Enable APInt to support zero bit integers.Chris Lattner
2021-09-09[APInt] Normalize naming on keep constructors / predicate methods.Chris Lattner
2021-09-08[APInt.h] Reduce the APInt header file interface a bit. NFCChris Lattner