llvm-capstone/libcxx/include/__numeric
Anton Rydahl aea7929b0a
[libc++] Unify __is_trivial_equality_predicate and __is_trivial_plus_operation into __desugars_to (#68642)
When working on an OpenMP offloading backend for standard parallel
algorithms (https://github.com/llvm/llvm-project/pull/66968) we noticed
the need of a generalization of `__is_trivial_plus_operation`. This patch
merges `__is_trivial_equality_predicate` and `__is_trivial_plus_operation`
into `__desugars_to`, and in the future we might extend the latter to support
other binary operations as well.

Co-authored-by: Louis Dionne <ldionne.2@gmail.com>
2023-11-23 13:55:55 -05:00
..
accumulate.h Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
adjacent_difference.h Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
exclusive_scan.h Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
gcd_lcm.h [libc++][hardening][NFC] Introduce _LIBCPP_ASSERT_UNCATEGORIZED. 2023-06-28 15:10:31 -07:00
inclusive_scan.h [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
inner_product.h Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
iota.h [libc++][NFC] Rename the constexpr macros 2022-08-19 15:35:02 +02:00
midpoint.h [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
partial_sum.h Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
pstl_reduce.h [libc++][PSTL] Overhaul exceptions handling 2023-10-06 23:01:30 +02:00
pstl_transform_reduce.h [libc++] Unify __is_trivial_equality_predicate and __is_trivial_plus_operation into __desugars_to (#68642) 2023-11-23 13:55:55 -05:00
reduce.h [libc++][PSTL] Add a GCD backend 2023-07-12 13:27:33 -07:00
transform_exclusive_scan.h [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
transform_inclusive_scan.h [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
transform_reduce.h [libc++][PSTL] Implement std::reduce and std::transform_reduce 2023-06-01 08:52:08 -07:00