Guillaume Chatelet
|
90b08b77ef
[Alignment][NFC] Support compile time constants
|
5 年之前 |
Guillaume Chatelet
|
4ddc21624e
Revert "[Alignment][NFC] Allow constexpr Align"
|
5 年之前 |
Guillaume Chatelet
|
3a0e85180c
[Alignment][NFC] Allow constexpr Align
|
5 年之前 |
JF Bastien
|
44846c4c50
[Support] Added overflow checking add, sub and mul.
|
6 年之前 |
Chandler Carruth
|
6b547686c5
Update the file headers across all of the LLVM projects in the monorepo
|
6 年之前 |
Zvi Rackover
|
5a8feb7893
MathExtras UnitTest: Assert that isPowerOf2(0) is false. NFC.
|
8 年之前 |
Chandler Carruth
|
3c0d60785c
Re-sort #include lines for unittests. This uses a slightly modified
|
8 年之前 |
Benjamin Kramer
|
5c42a4d473
[MathExtras] Fix undefined behavior (shift by bit width)
|
8 年之前 |
Zachary Turner
|
dc88b88a05
[Support] Add some helpers to generate bitmasks.
|
8 年之前 |
Davide Italiano
|
582d2b4b31
[ADT/MathExtras] Make buildbot happy again.
|
8 年之前 |
Davide Italiano
|
07ca53dbb5
[ADT/MathExtras] Add tests for PowerOf2Floor (previously untested).
|
8 年之前 |
Davide Italiano
|
17ff1559b1
[ADT/MathExtras] Introduce PowerOf2Ceil.
|
8 年之前 |
Justin Lebar
|
5e704c77a9
Add tests for max/minIntN(64).
|
9 年之前 |
Justin Lebar
|
c71e1994e1
Fix isShiftedInt and isShiftedUint for widths > 32.
|
9 年之前 |
Justin Lebar
|
0616793d5c
Don't do uint64_t(1) << 64 in maxUIntN.
|
9 年之前 |
Dylan McKay
|
e4d291c532
Add tests to Support/MathExtras
|
9 年之前 |
NAKAMURA Takumi
|
0440e817b9
MathExtrasTest.cpp: Use EXPECT_DOUBLE_EQ here, instead of EXPECT_FLOAT_EQ.
|
9 年之前 |
Rui Ueyama
|
3edb0ec229
Update to use new name alignTo().
|
9 年之前 |
Nathan Slingerland
|
21314fb768
[Support] Add saturating multiply-add support function
|
9 年之前 |
Nathan Slingerland
|
09a7daad01
[Support] Change SaturatingAdd()/SaturatingMultiply() to use pointer for returning overflow state
|
9 年之前 |
Nathan Slingerland
|
0197bd6d5e
[Support] Add optional argument to SaturatingAdd() and SaturatingMultiply() to indicate that overflow occurred
|
9 年之前 |
Nathan Slingerland
|
f2bc179203
[Support] Fix SaturatingMultiply<T>() to be correct (and fast), Re-enable Unit Tests
|
9 年之前 |
Daniel Sanders
|
0bee4edf8c
Revert the revert 253497 and 253539 - These commits aren't the cause of the clang-cmake-mips failures.
|
9 年之前 |
Daniel Sanders
|
0a3cc8fdf5
Revert 253497 and 253539 to try to fix clang-cmake-mips buildbot.
|
9 年之前 |
Nathan Slingerland
|
0171b5136f
[Support] Disable SaturatingMultiply() unit test while investigating
|
9 年之前 |
Nathan Slingerland
|
156d5ee497
[llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions (2nd try)
|
9 年之前 |
Nathan Slingerland
|
d4cf58476e
Revert "[llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions"
|
9 年之前 |
Nathan Slingerland
|
4918b66f84
[llvm-profdata] Add SaturatingAdd/SaturatingMultiply Helper Functions
|
9 年之前 |
Maksim Panchenko
|
3b3752c898
HHVM calling conventions.
|
10 年之前 |
Benjamin Kramer
|
3d24eee47b
Try to fix the MSVC build.
|
10 年之前 |