#include <random>
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
|
| llvm |
| This class represents lattice values for constants.
|
|
|
template<typename T , typename GenT > |
T | llvm::uniform (GenT &Gen, T Min, T Max) |
| Return a uniformly distributed random value between Min and Max . More...
|
|
template<typename T , typename GenT > |
T | llvm::uniform (GenT &Gen) |
| Return a uniformly distributed random value of type T . More...
|
|
template<typename GenT , typename RangeT , typename ElT = typename std::remove_reference< decltype(*std::begin(std::declval<RangeT>()))>::type> |
ReservoirSampler< ElT, GenT > | llvm::makeSampler (GenT &RandGen, RangeT &&Items) |
|
template<typename GenT , typename T > |
ReservoirSampler< T, GenT > | llvm::makeSampler (GenT &RandGen, const T &Item, uint64_t Weight) |
|
template<typename T , typename GenT > |
ReservoirSampler< T, GenT > | llvm::makeSampler (GenT &RandGen) |
|