llvm-project/libcxx/include/__random
Laramie Leavitt b07880454b [libc++] Replace modulus operations in std::seed_seq::generate with conditional checks.
Abseil benchmarks suggest that the conditional checks result in faster code (4-5x)
as they are compiled into conditional move instructions (cmov on x86).

Reviewed By: #libc, philnik, Mordante

Spies: pengfei, Mordante, philnik, libcxx-commits

Differential Revision: https://reviews.llvm.org/D125329
2022-05-24 10:29:25 +02:00
..
bernoulli_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
binomial_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
cauchy_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
chi_squared_distribution.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
clamp_to_integral.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
default_random_engine.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
discard_block_engine.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
discrete_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
exponential_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
extreme_value_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
fisher_f_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
gamma_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
generate_canonical.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
geometric_distribution.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
independent_bits_engine.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
is_seed_sequence.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
is_valid.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
knuth_b.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
linear_congruential_engine.h [libc++] Define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER whenever we enable warnings in the test suite 2022-03-15 17:17:54 -04:00
log2.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
lognormal_distribution.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
mersenne_twister_engine.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
negative_binomial_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
normal_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
piecewise_constant_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
piecewise_linear_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
poisson_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
random_device.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
ranlux.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
seed_seq.h [libc++] Replace modulus operations in std::seed_seq::generate with conditional checks. 2022-05-24 10:29:25 +02:00
shuffle_order_engine.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
student_t_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
subtract_with_carry_engine.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00
uniform_int_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
uniform_random_bit_generator.h [libc++] Replace _LIBCPP_HAS_NO_CONCEPTS with _LIBCPP_STD_VER > 17. NFCI. 2022-03-13 12:32:06 -04:00
uniform_real_distribution.h [libc++] Explicitly reject URNG types with signed result_types. 2022-03-02 10:28:48 -05:00
weibull_distribution.h [libc++] Revert "Protect users from relying on detail headers" & related changes 2022-03-01 08:20:24 -05:00