Home
last modified time | relevance | path

Searched refs:EntryPath (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp38 SmallString<64> EntryPath; in localCache() local
39 sys::path::append(EntryPath, CacheDirectoryPath, "llvmcache-" + Key); in localCache()
43 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in localCache()
47 MemoryBuffer::getOpenFile(*FDOrErr, EntryPath, in localCache()
67 report_fatal_error(Twine("Failed to open cache file ") + EntryPath + in localCache()
75 std::string EntryPath; in localCache() member
79 sys::fs::TempFile TempFile, std::string EntryPath, in localCache()
82 TempFile(std::move(TempFile)), EntryPath(std::move(EntryPath)), in localCache()
108 Error E = TempFile.keep(EntryPath); in localCache()
115 EntryPath); in localCache()
[all …]
DThinLTOCodeGenerator.cpp308 SmallString<128> EntryPath; member in __anon9856171d0111::ModuleCacheEntry
347 sys::path::append(EntryPath, CachePath, "llvmcache-" + Key); in ModuleCacheEntry()
351 StringRef getEntryPath() { return EntryPath; } in getEntryPath()
355 if (EntryPath.empty()) in tryLoadingBuffer()
359 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in tryLoadingBuffer()
363 *FDOrErr, EntryPath, /*FileSize=*/-1, /*RequiresNullTerminator=*/false); in tryLoadingBuffer()
370 if (EntryPath.empty()) in write()
375 SmallString<128> CachePath(EntryPath); in write()
380 llvm::writeFileAtomically(TempFilename, EntryPath, in write()