class RandomNumberGenerator
Declaration
class RandomNumberGenerator { /* full declaration omitted */ };
Description
A random number generator. Instances of this class should not be shared across threads. The seed should be set by passing the -rng-seed= <uint64 > option. Use Module::createRNG to create a new RNG instance for use with that module.
Declared at: llvm/include/llvm/Support/RandomNumberGenerator.h:32
Method Overview
- public static constexpr llvm::RandomNumberGenerator::result_type max()
- public static constexpr llvm::RandomNumberGenerator::result_type min()
Methods
¶static constexpr llvm::RandomNumberGenerator::
result_type
max()
static constexpr llvm::RandomNumberGenerator::
result_type
max()
Declared at: llvm/include/llvm/Support/RandomNumberGenerator.h:47
¶static constexpr llvm::RandomNumberGenerator::
result_type
min()
static constexpr llvm::RandomNumberGenerator::
result_type
min()
Declared at: llvm/include/llvm/Support/RandomNumberGenerator.h:46