Home
last modified time | relevance | path

Searched refs:ModHash (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeWriter.h91 bool GenerateHash = false, ModuleHash *ModHash = nullptr);
101 const ModuleHash &ModHash);
133 ModuleHash *ModHash = nullptr);
144 const ModuleHash &ModHash);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp489 ModuleHash ModHash = {{0}}; in splitAndWriteThinLTOBitcode() local
491 /*GenerateHash=*/true, &ModHash); in splitAndWriteThinLTOBitcode()
504 W2.writeThinLinkBitcode(M, Index, ModHash); in splitAndWriteThinLTOBitcode()
566 ModuleHash ModHash = {{0}}; in writeThinLTOBitcode() local
568 /*GenerateHash=*/true, &ModHash); in writeThinLTOBitcode()
573 writeThinLinkBitcodeToFile(M, *ThinLinkOS, *Index, ModHash); in writeThinLTOBitcode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp156 auto ModHash = Index.getModuleHash(ModuleID); in computeLTOCacheKey() local
157 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in computeLTOCacheKey()
203 auto ModHash = Entry.getHash(); in computeLTOCacheKey() local
204 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in computeLTOCacheKey()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp258 ModuleHash *ModHash; member in __anon9ee8d7120111::ModuleBitcodeWriter
272 ModuleHash *ModHash = nullptr) in ModuleBitcodeWriter() argument
275 Buffer(Buffer), GenerateHash(GenerateHash), ModHash(ModHash), in ModuleBitcodeWriter()
4677 if (ModHash) in writeModuleHash()
4679 llvm::copy(Vals, std::begin(*ModHash)); in writeModuleHash()
4933 ModHash); in WriteBitcodeToFile()
4982 const ModuleHash *ModHash; member in __anon9ee8d7121711::ThinLinkBitcodeWriter
4988 const ModuleHash &ModHash) in ThinLinkBitcodeWriter() argument
4991 ModHash(&ModHash) {} in ThinLinkBitcodeWriter()
5116 ModHash); in writeThinLinkBitcode()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1708 static std::string getGlobalNameForLocal(StringRef Name, ModuleHash ModHash) {
1709 std::string Suffix = utostr((uint64_t(ModHash[0]) << 32) |
1710 ModHash[1]); // Take the first 64 bits
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp2951 for (auto &[ModPath, ModHash] : TheIndex->modulePaths()) in printModuleSummaryIndex()
2955 ModPath.empty() ? RegularLTOModuleName : std::string(ModPath), ModHash); in printModuleSummaryIndex()