| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | xxhashTest.cpp | 15 EXPECT_EQ(0x33bf00a859c4ba3fU, xxHash64("foo")); in TEST() 16 EXPECT_EQ(0x48a37c90ad27a659U, xxHash64("bar")); in TEST() 18 xxHash64("0123456789abcdefghijklmnopqrstuvwxyz")); in TEST()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | xxhash.h | 45 uint64_t xxHash64(llvm::StringRef Data); 46 uint64_t xxHash64(llvm::ArrayRef<uint8_t> Data);
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | xxhash.cpp | 70 uint64_t llvm::xxHash64(StringRef Data) { in xxHash64() function in llvm 135 uint64_t llvm::xxHash64(ArrayRef<uint8_t> Data) { in xxHash64() function in llvm 136 return xxHash64({(const char *)Data.data(), Data.size()}); in xxHash64()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | ICF.cpp | 273 sc->eqClass[0] = xxHash64(sc->getContents()); in run()
|
| H A D | Writer.cpp | 1910 hash = xxHash64(outputFileData); in writeBuildId()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | PDBFileBuilder.cpp | 341 xxHash64({Buffer.getBufferStart(), Buffer.getBufferEnd()}); in commit()
|
| H A D | GSIStreamBuilder.cpp | 79 return xxHash64(Val.RecordData); in getHashValue()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | Writer.cpp | 1127 [&](size_t j) { hashes[j] = xxHash64(chunks[j]); }, i)); in writeUuid() 1132 hashes[chunks.size()] = xxHash64(sys::path::filename(config->finalOutput)); in writeUuid() 1133 uint64_t digest = xxHash64({reinterpret_cast<uint8_t *>(hashes.data()), in writeUuid()
|
| H A D | InputSection.cpp | 254 uint32_t hash = config->dedupLiterals ? xxHash64(s.substr(0, size)) : 0; in splitIntoPieces()
|
| H A D | ICF.cpp | 454 isec->icfEqClass[0] = xxHash64(isec->data) | (1ull << 31); in foldIdenticalSections()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | InputSection.cpp | 1361 pieces.emplace_back(p - s.begin(), xxHash64(StringRef(p, size)), live); in splitStrings() 1367 pieces.emplace_back(p - s.begin(), xxHash64(StringRef(p, size)), live); in splitStrings() 1383 pieces[j] = {i, (uint32_t)xxHash64(data.slice(i, entSize)), live}; in splitNonStrings()
|
| H A D | ICF.cpp | 495 s->eqClass[0] = xxHash64(s->rawData) | (1U << 31); in run()
|
| H A D | Writer.cpp | 2976 write64le(dest, xxHash64(arr)); in writeBuildId()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Background.cpp | 157 uint64_t Key = llvm::xxHash64(Path); in indexFileTask()
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | InputChunks.cpp | 448 pieces.emplace_back(off, xxHash64(s.substr(0, size)), true); in splitStrings()
|
| /llvm-project-15.0.7/llvm/lib/Debuginfod/ |
| H A D | Debuginfod.cpp | 45 static std::string uniqueKey(llvm::StringRef S) { return utostr(xxHash64(S)); } in uniqueKey()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SourceCode.cpp | 560 uint64_t Hash{llvm::xxHash64(Content)}; in digest()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 483 uint32_t TruncatedHash = uint32_t(xxHash64(FE->getName())); in MicrosoftMangleContextImpl()
|