Home
last modified time | relevance | path

Searched refs:xxHash64 (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Support/
H A DxxhashTest.cpp15 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 Dxxhash.h45 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 Dxxhash.cpp70 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 DICF.cpp273 sc->eqClass[0] = xxHash64(sc->getContents()); in run()
H A DWriter.cpp1910 hash = xxHash64(outputFileData); in writeBuildId()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp341 xxHash64({Buffer.getBufferStart(), Buffer.getBufferEnd()}); in commit()
H A DGSIStreamBuilder.cpp79 return xxHash64(Val.RecordData); in getHashValue()
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp1127 [&](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 DInputSection.cpp254 uint32_t hash = config->dedupLiterals ? xxHash64(s.substr(0, size)) : 0; in splitIntoPieces()
H A DICF.cpp454 isec->icfEqClass[0] = xxHash64(isec->data) | (1ull << 31); in foldIdenticalSections()
/llvm-project-15.0.7/lld/ELF/
H A DInputSection.cpp1361 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 DICF.cpp495 s->eqClass[0] = xxHash64(s->rawData) | (1U << 31); in run()
H A DWriter.cpp2976 write64le(dest, xxHash64(arr)); in writeBuildId()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DBackground.cpp157 uint64_t Key = llvm::xxHash64(Path); in indexFileTask()
/llvm-project-15.0.7/lld/wasm/
H A DInputChunks.cpp448 pieces.emplace_back(off, xxHash64(s.substr(0, size)), true); in splitStrings()
/llvm-project-15.0.7/llvm/lib/Debuginfod/
H A DDebuginfod.cpp45 static std::string uniqueKey(llvm::StringRef S) { return utostr(xxHash64(S)); } in uniqueKey()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp560 uint64_t Hash{llvm::xxHash64(Content)}; in digest()
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp483 uint32_t TruncatedHash = uint32_t(xxHash64(FE->getName())); in MicrosoftMangleContextImpl()