|
gem5 [DEVELOP-FOR-25.0]
|
Functions | |
| template<typename... T> | |
| constexpr size_t | hash_combine (T... hashes) |
| constexpr size_t | hash_refine (size_t x) |
| template<typename T> | |
| constexpr auto | make_hash_for (const T &) |
| template<typename T> | |
| constexpr auto | hash_value (const T &v) |
Variables | |
| static constexpr uint64_t | C = 0xbea225f9eb34556d |
| template<typename, typename = void> | |
| constexpr bool | is_hash_enabled = false |
| template<typename T> | |
| constexpr bool | is_hash_enabled< T, std::void_t< decltype(hash< T >()(std::declval< T >()))> > = true |
|
constexpr |
Definition at line 64 of file hash_helpers.hh.
References gem5::ArmISA::a, gem5::ArmISA::b, and C.
Referenced by gem5::stl_helpers::hash_impl::hash< std::tuple< T... > >::operator()(), and gem5::stl_helpers::hash_impl::hash< T, std::enable_if_t< !is_std_hash_enabled_v< T > &&is_iterable_v< T > > >::operator()().
|
constexpr |
Definition at line 83 of file hash_helpers.hh.
References C, and gem5::RiscvISA::x.
Referenced by gem5::stl_helpers::hash_impl::hash< std::tuple< T... > >::operator()(), and gem5::stl_helpers::hash_impl::hash< T, std::enable_if_t< !is_std_hash_enabled_v< T > &&is_iterable_v< T > > >::operator()().
|
constexpr |
Definition at line 111 of file hash_helpers.hh.
References make_hash_for(), and gem5::ArmISA::v.
Referenced by gem5::stl_helpers::hash_impl::hash< std::pair< T, U > >::operator()(), gem5::stl_helpers::hash_impl::hash< std::tuple< T... > >::operator()(), and gem5::stl_helpers::hash_impl::hash< T, std::enable_if_t< !is_std_hash_enabled_v< T > &&is_iterable_v< T > > >::operator()().
|
constexpr |
Definition at line 105 of file hash_helpers.hh.
Referenced by hash_value().
|
staticconstexpr |
Definition at line 62 of file hash_helpers.hh.
Referenced by hash_combine(), and hash_refine().
|
constexpr |
Definition at line 159 of file hash_helpers.hh.
|
constexpr |
Definition at line 162 of file hash_helpers.hh.