Lines Matching refs:hash_value
26 // -- 'hash_value' is a function designed to be overloaded for each
34 // within the implementation of a 'hash_value' routine or similar context.
68 /// using llvm::hash_value;
69 /// llvm::hash_code code = hash_value(x);
92 /// Allow a hash_code to be directly run through hash_value.
93 friend size_t hash_value(const hash_code &code) { return code.value; }
105 hash_value(T value);
110 template <typename T> hash_code hash_value(const T *ptr);
114 hash_code hash_value(const std::pair<T, U> &arg);
118 hash_code hash_value(const std::basic_string<T> &arg);
337 /// first be passed to hash_value, and the resulting hash_codes combined.
368 /// This variant is enabled when we must first call hash_value and use the
373 using ::llvm::hash_value;
374 return hash_value(value);
593 /// attempts to call a \see hash_value overload (via ADL) for the type. For
597 /// The result is suitable for returning from a user's hash_value
599 /// *not* call this routine, they should instead call 'hash_value'.
606 // Implementation details for implementations of hash_value overloads provided
615 /// "hash_value('4')" and "hash_value('0' + 4)" should be the same.
631 hash_value(T value) {
638 template <typename T> hash_code hash_value(const T *ptr) {
646 hash_code hash_value(const std::pair<T, U> &arg) {
653 hash_code hash_value(const std::basic_string<T> &arg) {