Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DCaching.cpp44 SmallString<64> EntryPath; in localCache() local
45 sys::path::append(EntryPath, CacheDirectoryPath, "llvmcache-" + Key); in localCache()
49 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in localCache()
53 MemoryBuffer::getOpenFile(*FDOrErr, EntryPath, in localCache()
74 EntryPath + ": " + EC.message() + "\n"); in localCache()
85 sys::fs::TempFile TempFile, std::string EntryPath, in localCache()
87 : CachedFileStream(std::move(OS), std::move(EntryPath)), in localCache()
164 AddBuffer, std::move(*Temp), std::string(EntryPath.str()), in localCache()
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp353 SmallString<128> EntryPath; member in __anon613676a90111::ModuleCacheEntry
392 sys::path::append(EntryPath, CachePath, "llvmcache-" + Key); in ModuleCacheEntry()
396 StringRef getEntryPath() { return EntryPath; } in getEntryPath()
400 if (EntryPath.empty()) in tryLoadingBuffer()
404 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in tryLoadingBuffer()
408 *FDOrErr, EntryPath, /*FileSize=*/-1, /*RequiresNullTerminator=*/false); in tryLoadingBuffer()
415 if (EntryPath.empty()) in write()
420 SmallString<128> CachePath(EntryPath); in write()
425 llvm::writeFileAtomically(TempFilename, EntryPath, in write()