13#ifndef LLVM_SUPPORT_DJB_H
14#define LLVM_SUPPORT_DJB_H
22 for (
unsigned char C : Buffer.
bytes())
StringRef - Represent a constant reference to a string, i.e.
iterator_range< const unsigned char * > bytes() const
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.
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...
uint32_t djbHash(StringRef Buffer, uint32_t H=5381)
The Bernstein hash function used by the DWARF accelerator tables.