20 return (
X << R) | (
X >> (64 - R));
57 const uint8_t *
const Limit = BEnd - 32;
85 while (
reinterpret_cast<uintptr_t
>(
P) + 8 <=
86 reinterpret_cast<uintptr_t
>(BEnd)) {
92 if (
reinterpret_cast<uintptr_t
>(
P) + 4 <=
reinterpret_cast<uintptr_t
>(BEnd)) {
108 if (Name ==
"FNV-1a")
131 MangledTypeName.
size()));
135 for (
unsigned char C : MangledTypeName) {
static uint64_t mergeRound(uint64_t Acc, uint64_t Val)
static uint64_t avalanche(uint64_t H)
static uint64_t rotl64(uint64_t X, size_t R)
static uint64_t round(uint64_t Acc, uint64_t Input)
Represent a constant reference to a string, i.e.
constexpr size_t size() const
Get the string size.
constexpr const char * data() const
Get a pointer to the start of the string (which may not be null terminated).
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
@ C
The default llvm calling convention, compatible with C.
uint64_t read64le(const void *P)
uint32_t read32le(const void *P)
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI KCFIHashAlgorithm parseKCFIHashAlgorithm(StringRef Name)
Parse a KCFI hash algorithm name.
LLVM_ABI StringRef stringifyKCFIHashAlgorithm(KCFIHashAlgorithm Algorithm)
Convert a KCFI hash algorithm enum to its string representation.
LLVM_ABI uint32_t getKCFITypeID(StringRef MangledTypeName, KCFIHashAlgorithm Algorithm)
Compute KCFI type ID from mangled type name.
static const uint64_t PRIME64_3
static const uint64_t PRIME64_1
static const uint64_t PRIME64_2
static const uint64_t PRIME64_4
static const uint64_t PRIME64_5