Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitcodeWriter.h91 bool GenerateHash = false, ModuleHash *ModHash = nullptr);
101 const ModuleHash &ModHash);
133 ModuleHash *ModHash = nullptr);
144 const ModuleHash &ModHash);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp396 ModuleHash ModHash = {{0}}; in splitAndWriteThinLTOBitcode() local
398 /*GenerateHash=*/true, &ModHash); in splitAndWriteThinLTOBitcode()
411 W2.writeThinLinkBitcode(M, Index, ModHash); in splitAndWriteThinLTOBitcode()
442 ModuleHash ModHash = {{0}}; in writeThinLTOBitcode() local
444 /*GenerateHash=*/true, &ModHash); in writeThinLTOBitcode()
449 WriteThinLinkBitcodeToFile(M, *ThinLinkOS, *Index, ModHash); in writeThinLTOBitcode()
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp250 auto ModHash = Index.getModuleHash(ModuleID); in ModuleCacheEntry() local
251 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in ModuleCacheEntry()
258 auto ModHash = Index.getModuleHash(Entry.first()); in ModuleCacheEntry() local
259 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in ModuleCacheEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp316 auto ModHash = Index.getModuleHash(ModuleID); in ModuleCacheEntry() local
318 if (all_of(ModHash, [](uint32_t V) { return V == 0; })) in ModuleCacheEntry()
361 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in ModuleCacheEntry()
368 auto ModHash = Index.getModuleHash(Entry.first()); in ModuleCacheEntry() local
369 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in ModuleCacheEntry()
DLTO.cpp144 auto ModHash = Index.getModuleHash(ModuleID); in computeCacheKey() local
145 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in computeCacheKey()
154 auto ModHash = Index.getModuleHash(Entry.first()); in computeCacheKey() local
155 Hasher.update(ArrayRef<uint8_t>((uint8_t *)&ModHash[0], sizeof(ModHash))); in computeCacheKey()
/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h448 static std::string getGlobalNameForLocal(StringRef Name, ModuleHash ModHash) { in getGlobalNameForLocal() argument
451 NewName += utohexstr(ModHash[0]); // Take the first 32 bits in getGlobalNameForLocal()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp251 ModuleHash *ModHash; member in __anonccef901f0111::ModuleBitcodeWriter
265 ModuleHash *ModHash = nullptr) in ModuleBitcodeWriter() argument
268 Buffer(Buffer), GenerateHash(GenerateHash), ModHash(ModHash), in ModuleBitcodeWriter()
3927 if (ModHash) in writeModuleHash()
3929 std::copy(std::begin(Vals), std::end(Vals), std::begin(*ModHash)); in writeModuleHash()
4143 bool GenerateHash, ModuleHash *ModHash) { in writeModule() argument
4155 GenerateHash, ModHash); in writeModule()
4171 bool GenerateHash, ModuleHash *ModHash) { in WriteBitcodeToFile() argument
4183 ModHash); in WriteBitcodeToFile()
4231 const ModuleHash *ModHash; member in __anonccef901f0d11::ThinLinkBitcodeWriter
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h1028 static std::string getGlobalNameForLocal(StringRef Name, ModuleHash ModHash) {
1031 NewName += utostr((uint64_t(ModHash[0]) << 32) |
1032 ModHash[1]); // Take the first 64 bits