|
LLVM 23.0.0git
|
#include "llvm/Transforms/Utils/KCFIHash.h"#include "llvm/Support/Endian.h"#include "llvm/Support/ErrorHandling.h"Go to the source code of this file.
Functions | |
| static uint64_t | rotl64 (uint64_t X, size_t R) |
| static uint64_t | round (uint64_t Acc, uint64_t Input) |
| static uint64_t | mergeRound (uint64_t Acc, uint64_t Val) |
| static uint64_t | avalanche (uint64_t H) |
| static uint64_t | xxHash64 (const uint8_t *P, size_t Len) |
Variables | |
| constexpr uint64_t | PRIME64_1 = 11400714785074694791ULL |
| constexpr uint64_t | PRIME64_2 = 14029467366897019727ULL |
| constexpr uint64_t | PRIME64_3 = 1609587929392839161ULL |
| constexpr uint64_t | PRIME64_4 = 9650029242287828579ULL |
| constexpr uint64_t | PRIME64_5 = 2870177450012600261ULL |
Definition at line 43 of file KCFIHash.cpp.
References H, PRIME64_2, and PRIME64_3.
Referenced by xxHash64().
Definition at line 36 of file KCFIHash.cpp.
References PRIME64_1, PRIME64_4, and round().
Referenced by xxHash64().
Definition at line 29 of file KCFIHash.cpp.
References PRIME64_1, PRIME64_2, and rotl64().
Referenced by llvm::sampleprof::DefaultFunctionPruningStrategy::Erase(), llvm::getHeatColor(), mergeRound(), round_fn(), llvm::APInt::sqrt(), and xxHash64().
Definition at line 52 of file KCFIHash.cpp.
References avalanche(), mergeRound(), P, PRIME64_1, PRIME64_2, PRIME64_3, PRIME64_4, PRIME64_5, llvm::support::endian::read32le(), llvm::support::endian::read64le(), rotl64(), and round().
|
constexpr |
Definition at line 23 of file KCFIHash.cpp.
|
constexpr |
Definition at line 24 of file KCFIHash.cpp.
|
constexpr |
Definition at line 25 of file KCFIHash.cpp.
|
constexpr |
Definition at line 26 of file KCFIHash.cpp.
|
constexpr |
Definition at line 27 of file KCFIHash.cpp.