Searched refs:EntryPath (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | Caching.cpp | 39 SmallString<64> EntryPath; in localCache() local 40 sys::path::append(EntryPath, CacheDirectoryPath, "llvmcache-" + Key); in localCache() 45 Twine(EntryPath), FD, sys::fs::OF_UpdateAtime, &ResultPath); in localCache() 48 MemoryBuffer::getOpenFile(FD, EntryPath, in localCache() 66 report_fatal_error(Twine("Failed to open cache file ") + EntryPath + in localCache() 74 std::string EntryPath; in localCache() member 78 sys::fs::TempFile TempFile, std::string EntryPath, in localCache() 81 TempFile(std::move(TempFile)), EntryPath(std::move(EntryPath)), in localCache() 107 Error E = TempFile.keep(EntryPath); in localCache() 114 EntryPath); in localCache() [all …]
|
D | ThinLTOCodeGenerator.cpp | 289 SmallString<128> EntryPath; member in __anon82cddfac0111::ModuleCacheEntry 389 sys::path::append(EntryPath, CachePath, in ModuleCacheEntry() 394 StringRef getEntryPath() { return EntryPath; } in getEntryPath() 398 if (EntryPath.empty()) in tryLoadingBuffer() 403 Twine(EntryPath), FD, sys::fs::OF_UpdateAtime, &ResultPath); in tryLoadingBuffer() 407 MemoryBuffer::getOpenFile(FD, EntryPath, in tryLoadingBuffer() 416 if (EntryPath.empty()) in write() 421 SmallString<128> CachePath(EntryPath); in write() 436 EC = sys::fs::rename(TempFilename, EntryPath); in write()
|
/external/llvm/lib/LTO/ |
D | ThinLTOCodeGenerator.cpp | 220 SmallString<128> EntryPath; member in __anon4061e1740111::ModuleCacheEntry 277 sys::path::append(EntryPath, CachePath, toHex(Hasher.result())); in ModuleCacheEntry() 281 StringRef getEntryPath() { return EntryPath; } in getEntryPath() 285 if (EntryPath.empty()) in tryLoadingBuffer() 287 return MemoryBuffer::getFile(EntryPath); in tryLoadingBuffer() 293 if (EntryPath.empty()) in write() 310 EC = sys::fs::rename(TempFilename, EntryPath); in write() 313 raw_fd_ostream OS(EntryPath, EC, sys::fs::F_None); in write() 315 report_fatal_error(Twine("Failed to open ") + EntryPath + in write() 319 auto ReloadedBufferOrErr = MemoryBuffer::getFile(EntryPath); in write() [all …]
|