14 #ifndef LLVM_SUPPORT_DJB_H 15 #define LLVM_SUPPORT_DJB_H 23 for (
unsigned char C : Buffer.
bytes())
33 #endif // LLVM_SUPPORT_DJB_H
This class represents lattice values for constants.
iterator_range< const unsigned char * > bytes() const
uint32_t djbHash(StringRef Buffer, uint32_t H=5381)
The Bernstein hash function used by the DWARF accelerator tables.
uint32_t caseFoldingDjbHash(StringRef Buffer, uint32_t H=5381)
Computes the Bernstein hash after folding the input according to the Dwarf 5 standard case folding ru...
StringRef - Represent a constant reference to a string, i.e.