summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/MathExtrasTest.cpp
Commit message (Expand)AuthorAgeFilesLines
* [Alignment][NFC] Support compile time constantsGuillaume Chatelet2019-10-141-0/+19
* Revert "[Alignment][NFC] Allow constexpr Align"Guillaume Chatelet2019-10-031-19/+0
* [Alignment][NFC] Allow constexpr AlignGuillaume Chatelet2019-10-031-0/+19
* [Support] Added overflow checking add, sub and mul.JF Bastien2019-07-311-0/+127
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
* MathExtras UnitTest: Assert that isPowerOf2(0) is false. NFC.Zvi Rackover2017-07-031-0/+2
* Re-sort #include lines for unittests. This uses a slightly modifiedChandler Carruth2017-06-061-1/+1
* [MathExtras] Fix undefined behavior (shift by bit width)Benjamin Kramer2017-04-191-0/+5
* [Support] Add some helpers to generate bitmasks.Zachary Turner2017-04-191-0/+20
* [ADT/MathExtras] Make buildbot happy again.Davide Italiano2016-11-111-6/+6
* [ADT/MathExtras] Add tests for PowerOf2Floor (previously untested).Davide Italiano2016-11-111-0/+6
* [ADT/MathExtras] Introduce PowerOf2Ceil.Davide Italiano2016-11-111-0/+6
* Add tests for max/minIntN(64).Justin Lebar2016-07-171-0/+4
* Fix isShiftedInt and isShiftedUint for widths > 32.Justin Lebar2016-07-171-0/+38
* Don't do uint64_t(1) << 64 in maxUIntN.Justin Lebar2016-07-161-0/+1
* Add tests to Support/MathExtrasDylan McKay2016-06-021-0/+29
* MathExtrasTest.cpp: Use EXPECT_DOUBLE_EQ here, instead of EXPECT_FLOAT_EQ.NAKAMURA Takumi2016-03-141-1/+1
* Update to use new name alignTo().Rui Ueyama2016-01-141-9/+9
* [Support] Add saturating multiply-add support functionNathan Slingerland2016-01-121-0/+54
* [Support] Change SaturatingAdd()/SaturatingMultiply() to use pointer for retu...Nathan Slingerland2015-12-091-17/+17
* [Support] Add optional argument to SaturatingAdd() and SaturatingMultiply() t...Nathan Slingerland2015-11-231-1/+50
* [Support] Fix SaturatingMultiply<T>() to be correct (and fast), Re-enable Uni...Nathan Slingerland2015-11-231-0/+48
* Revert the revert 253497 and 253539 - These commits aren't the cause of the c...Daniel Sanders2015-11-201-0/+17
* Revert 253497 and 253539 to try to fix clang-cmake-mips buildbot.Daniel Sanders2015-11-201-17/+0
* [Support] Disable SaturatingMultiply() unit test while investigatingNathan Slingerland2015-11-191-19/+0
* [llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions (2nd try)Nathan Slingerland2015-11-181-0/+36
* Revert "[llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions"Nathan Slingerland2015-11-181-48/+0
* [llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper FunctionsNathan Slingerland2015-11-181-0/+48
* HHVM calling conventions.Maksim Panchenko2015-09-291-0/+5
* Try to fix the MSVC build.Benjamin Kramer2015-02-121-1/+1
* MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line wit...Benjamin Kramer2015-02-121-7/+4
* [Support] Remove Count{Leading,Trailing}Zeros_{32,64}.Michael J. Spencer2013-05-241-16/+12
* [Support][MathExtras] Fix literal type issues.Michael J. Spencer2013-05-241-36/+36
* [Support] Add type generic bit utilities to MathExtras.hMichael J. Spencer2013-05-241-0/+91
* Fixes warnings emitted by Visual Studio 2010 compiler.Oscar Fuentes2011-03-011-1/+1
* Fixed header comment.Misha Brukman2009-08-201-1/+1
* Make the constants fit.Bill Wendling2009-04-011-5/+5
* Added tests for math utility functions; fixed another test's header comment.Misha Brukman2009-04-011-0/+104
OpenPOWER on IntegriCloud