Lines Matching defs:hash_value
27 // -- 'hash_value' is a function designed to be overloaded for each
35 // within the implementation of a 'hash_value' routine or similar context.
75 /// using llvm::hash_value;
76 /// llvm::hash_code code = hash_value(x);
99 /// \brief Allow a hash_code to be directly run through hash_value.
100 friend size_t hash_value(const hash_code &code) { return code.value; }
112 hash_value(T value);
117 template <typename T> hash_code hash_value(const T *ptr);
121 hash_code hash_value(const std::pair<T, U> &arg);
125 hash_code hash_value(const std::basic_string<T> &arg);
345 /// first be passed to hash_value, and the resulting hash_codes combined.
376 /// This variant is enabled when we must first call hash_value and use the
381 using ::llvm::hash_value;
382 return hash_value(value);
653 /// attempts to call a \see hash_value overload (via ADL) for the type. For
657 /// The result is suitable for returning from a user's hash_value
659 /// *not* call this routine, they should instead call 'hash_value'.
712 // Implementation details for implementations of hash_value overloads provided
721 /// "hash_value('4')" and "hash_value('0' + 4)" should be the same.
737 hash_value(T value) {
743 template <typename T> hash_code hash_value(const T *ptr) {
751 hash_code hash_value(const std::pair<T, U> &arg) {
758 hash_code hash_value(const std::basic_string<T> &arg) {