Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
81fe1fbf4abd00b24e078a80cb15a2d2c1343f11
/
llvm
/
unittests
/
Support
/
MathExtrasTest.cpp
fa00e34
MathExtras UnitTest: Assert that isPowerOf2(0) is false. NFC.
by Zvi Rackover
· 8 years ago
9a67b07
Re-sort #include lines for unittests. This uses a slightly modified
by Chandler Carruth
· 8 years ago
e25268d
[MathExtras] Fix undefined behavior (shift by bit width)
by Benjamin Kramer
· 8 years ago
f19b0c7f
[Support] Add some helpers to generate bitmasks.
by Zachary Turner
· 8 years ago
0970ddb
[ADT/MathExtras] Make buildbot happy again.
by Davide Italiano
· 9 years ago
62ede4e
[ADT/MathExtras] Add tests for PowerOf2Floor (previously untested).
by Davide Italiano
· 9 years ago
1fb1b9c
[ADT/MathExtras] Introduce PowerOf2Ceil.
by Davide Italiano
· 9 years ago
1e50e3b
Add tests for max/minIntN(64).
by Justin Lebar
· 9 years ago
cbba3c4
Fix isShiftedInt and isShiftedUint for widths > 32.
by Justin Lebar
· 9 years ago
8d56f47
Don't do uint64_t(1) << 64 in maxUIntN.
by Justin Lebar
· 9 years ago
a9ba12d
Add tests to Support/MathExtras
by Dylan McKay
· 9 years ago
fa99425
MathExtrasTest.cpp: Use EXPECT_DOUBLE_EQ here, instead of EXPECT_FLOAT_EQ.
by NAKAMURA Takumi
· 10 years ago
da00f2f
Update to use new name alignTo().
by Rui Ueyama
· 10 years ago
7bee316
[Support] Add saturating multiply-add support function
by Nathan Slingerland
· 10 years ago
644badb
[Support] Change SaturatingAdd()/SaturatingMultiply() to use pointer for returning overflow state
by Nathan Slingerland
· 10 years ago
2e1d85a
[Support] Add optional argument to SaturatingAdd() and SaturatingMultiply() to indicate that overflow occurred
by Nathan Slingerland
· 10 years ago
8a06548
[Support] Fix SaturatingMultiply<T>() to be correct (and fast), Re-enable Unit Tests
by Nathan Slingerland
· 10 years ago
be9db3c
Revert the revert 253497 and 253539 - These commits aren't the cause of the clang-cmake-mips failures.
by Daniel Sanders
· 10 years ago
ad6c04d
Revert 253497 and 253539 to try to fix clang-cmake-mips buildbot.
by Daniel Sanders
· 10 years ago
00aecfc
[Support] Disable SaturatingMultiply() unit test while investigating
by Nathan Slingerland
· 10 years ago
617c600
[llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions (2nd try)
by Nathan Slingerland
· 10 years ago
a75d256
Revert "[llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions"
by Nathan Slingerland
· 10 years ago
fda1b81
[llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions
by Nathan Slingerland
· 10 years ago
cce239c
HHVM calling conventions.
by Maksim Panchenko
· 10 years ago
193c94b
Try to fix the MSVC build.
by Benjamin Kramer
· 11 years ago
5f6a907
MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line with countTrailingZeros
by Benjamin Kramer
· 11 years ago
a8db3f6
[Support] Remove Count{Leading,Trailing}Zeros_{32,64}.
by Michael J. Spencer
· 12 years ago
795ecd2
[Support][MathExtras] Fix literal type issues.
by Michael J. Spencer
· 12 years ago
eb91eac
[Support] Add type generic bit utilities to MathExtras.h
by Michael J. Spencer
· 12 years ago
98a3c80
Fixes warnings emitted by Visual Studio 2010 compiler.
by Oscar Fuentes
· 15 years ago
5851edb
Fixed header comment.
by Misha Brukman
· 16 years ago
66b3fff
Make the constants fit.
by Bill Wendling
· 16 years ago
1757a81
Added tests for math utility functions; fixed another test's header comment.
by Misha Brukman
· 16 years ago