Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DCaching.cpp39 SmallString<64> EntryPath; in localCache() local
40 sys::path::append(EntryPath, CacheDirectoryPath, "llvmcache-" + Key); in localCache()
44 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in localCache()
48 MemoryBuffer::getOpenFile(*FDOrErr, EntryPath, in localCache()
68 report_fatal_error(Twine("Failed to open cache file ") + EntryPath + in localCache()
76 std::string EntryPath; in localCache() member
80 sys::fs::TempFile TempFile, std::string EntryPath, in localCache()
83 TempFile(std::move(TempFile)), EntryPath(std::move(EntryPath)), in localCache()
109 Error E = TempFile.keep(EntryPath); in localCache()
116 EntryPath); in localCache()
[all …]
H A DThinLTOCodeGenerator.cpp324 SmallString<128> EntryPath; member in __anon0e9ce3dd0111::ModuleCacheEntry
363 sys::path::append(EntryPath, CachePath, "llvmcache-" + Key); in ModuleCacheEntry()
367 StringRef getEntryPath() { return EntryPath; } in getEntryPath()
371 if (EntryPath.empty()) in tryLoadingBuffer()
375 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in tryLoadingBuffer()
379 *FDOrErr, EntryPath, /*FileSize=*/-1, /*RequiresNullTerminator=*/false); in tryLoadingBuffer()
386 if (EntryPath.empty()) in write()
391 SmallString<128> CachePath(EntryPath); in write()
396 llvm::writeFileAtomically(TempFilename, EntryPath, in write()