LLVM  14.0.0git
Namespaces | Typedefs | Functions | Variables
StableHashing.h File Reference
#include "llvm/ADT/StringRef.h"
Include dependency graph for StableHashing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This file implements support for optimizing divisions by a constant.
 
 llvm::hashing
 
 llvm::hashing::detail
 

Typedefs

using llvm::stable_hash = uint64_t
 An opaque object representing a stable hash code. More...
 

Functions

void llvm::hashing::detail::stable_hash_append (stable_hash &Hash, const char Value)
 
void llvm::hashing::detail::stable_hash_append (stable_hash &Hash, stable_hash Value)
 
stable_hash llvm::stable_hash_combine (stable_hash A, stable_hash B)
 
stable_hash llvm::stable_hash_combine (stable_hash A, stable_hash B, stable_hash C)
 
stable_hash llvm::stable_hash_combine (stable_hash A, stable_hash B, stable_hash C, stable_hash D)
 
template<typename InputIteratorT >
stable_hash llvm::stable_hash_combine_range (InputIteratorT First, InputIteratorT Last)
 Compute a stable_hash for a sequence of values. More...
 
stable_hash llvm::stable_hash_combine_array (const stable_hash *P, size_t C)
 
stable_hash llvm::stable_hash_combine_string (const StringRef &S)
 
stable_hash llvm::stable_hash_combine_string (const char *C)
 

Variables

const uint64_t llvm::hashing::detail::FNV_PRIME_64 = 1099511628211u
 
const uint64_t llvm::hashing::detail::FNV_OFFSET_64 = 14695981039346656037u