44using namespace support;
47 return (
X << R) | (
X >> (64 - R));
71 size_t Len =
Data.size();
73 const unsigned char *
P =
Data.bytes_begin();
74 const unsigned char *
const BEnd =
Data.bytes_end();
78 const unsigned char *
const Limit = BEnd - 32;
107 while (
reinterpret_cast<uintptr_t
>(
P) + 8 <=
108 reinterpret_cast<uintptr_t
>(BEnd)) {
115 if (
reinterpret_cast<uintptr_t
>(
P) + 4 <=
reinterpret_cast<uintptr_t
>(BEnd)) {
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
static ManagedStatic< cl::opt< uint64_t >, CreateSeed > Seed
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
uint64_t read64le(const void *P)
uint32_t read32le(const void *P)
This is an optimization pass for GlobalISel generic memory operations.
uint64_t xxHash64(llvm::StringRef Data)
static uint64_t mergeRound(uint64_t Acc, uint64_t Val)
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
static uint64_t rotl64(uint64_t X, size_t R)
static uint64_t round(uint64_t Acc, uint64_t Input)