Home
last modified time | relevance | path

Searched refs:FileCache (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project/lldb/source/Host/common/
H A DFileCache.cpp1 //===-- FileCache.cpp -----------------------------------------------------===//
9 #include "lldb/Host/FileCache.h"
17 FileCache *FileCache::m_instance = nullptr;
19 FileCache &FileCache::GetInstance() { in GetInstance()
21 m_instance = new FileCache(); in GetInstance()
26 lldb::user_id_t FileCache::OpenFile(const FileSpec &file_spec, in OpenFile()
43 bool FileCache::CloseFile(lldb::user_id_t fd, Status &error) { in CloseFile()
64 uint64_t FileCache in WriteFile()
[all...]
/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h22 class FileCache {
24 FileCache() = default;
29 static FileCache &GetInstance();
41 static FileCache *m_instance;
/llvm-project/clang-tools-extra/clangd/support/
H A DFileCache.cpp25 FileCache::FileCache(llvm::StringRef Path) in FileCache() function in clang::clangd::FileCache
31 void FileCache::read( in read()
H A DFileCache.h40 class FileCache {
43 FileCache(PathRef Path);
H A DCMakeLists.txt23 FileCache.cpp
/llvm-project/llvm/include/llvm/Support/
H A DCaching.h67 struct FileCache {
68 FileCache(FileCacheFunction CacheFn, const std::string &DirectoryPath)
70 FileCache() = default;
99 Expected<FileCache> localCache(
57 using FileCache = std::function<Expected<AddStreamFn>( global() variable
/llvm-project/clang-tools-extra/clangd/unittests/support/
H A DFileCacheTests.cpp23 class TestCache : public FileCache {
28 TestCache() : FileCache(testPath("foo.cc")) {} in TestCache()
/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h256 AddStreamFn AddStream, FileCache Cache)>;
271 AddStreamFn AddStream, FileCache Cache) {
380 Error run(AddStreamFn AddStream, FileCache Cache = {});
523 Error runThinLTO(AddStreamFn AddStream, FileCache Cache,
/llvm-project/lldb/include/lldb/Core/
H A DSourceManager.h141 typedef std::map<FileSpec, FileSP> FileCache;
142 FileCache m_file_cache; in GetLastFile()
126 typedef std::map<FileSpec, FileSP> FileCache; global() typedef
H A DDataFileCache.h93 llvm::FileCache m_cache_callback;
/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp31 std::vector<uint32_t> FileCache;
38 FileCache.clear(); in CUInfo()
40 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
69 if (!LineTable || DwarfFileIdx >= FileCache.size())
71 uint32_t &GsymFileIdx = FileCache[DwarfFileIdx]; in DWARFToGSYMFileIndex()
34 std::vector<uint32_t> FileCache; global() member
/llvm-project/clang-tools-extra/clangd/
H A DConfigProvider.cpp30 class FileConfigCache : public FileCache {
36 : FileCache(Path), Directory(Directory) {} in FileConfigCache()
H A DTidyProvider.cpp13 #include "support/FileCache.h"
32 class DotClangTidyCache : private FileCache {
38 DotClangTidyCache(PathRef Path) : FileCache(Path) {} in DotClangTidyCache()
/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/support/
H A DBUILD.gn16 "FileCache.cpp",
/llvm-project/lldb/include/
H A Dmodule.modulemap20 module FileCache { header "lldb/Host/FileCache.h" export * }
/llvm-project/llvm/lib/LTO/
H A DLTO.cpp1161 Error LTO::run(AddStreamFn AddStream, FileCache Cache) { in run()
1422 FileCache Cache; in emitFiles()
1433 AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite,
1448 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, in InProcessThinBackend()
1544 FileCache IRCache; in start()
1551 AddStreamFn CGAddStream, FileCache CGCache, AddStreamFn IRAddStream, in wait()
1552 FileCache IRCache) in wait()
1561 AddStreamFn CGAddStream, FileCache CGCache, unsigned Task, in createInProcessThinBackend()
1645 AddStreamFn AddStream, FileCache Cache, in start()
1657 AddStreamFn AddStream, FileCache Cach
[all...]
/llvm-project/lld/wasm/
H A DLTO.cpp193 FileCache cache;
/llvm-project/llvm/lib/Support/
H A DCaching.cpp29 Expected<FileCache> llvm::localCache(const Twine &CacheNameRef, in localCache()
170 return FileCache(Func, CacheDirectoryPathRef.str()); in localCache()
/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp20 #include "lldb/Host/FileCache.h"
226 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile()
247 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile()
263 !FileCache::GetInstance().CloseFile(fd_dst, error)) { in GetFile()
/llvm-project/llvm/utils/gn/secondary/lldb/source/Host/
H A DBUILD.gn23 "common/FileCache.cpp",
/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp258 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact()
263 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
/llvm-project/lldb/source/Host/
H A DCMakeLists.txt18 common/FileCache.cpp
/llvm-project/lldb/source/Core/
H A DSourceManager.cpp839 FileCache::iterator pos = m_file_cache.find(file_spec);
852 FileCache::const_iterator pos = m_file_cache.find(file_spec);
/llvm-project/lld/MachO/
H A DLTO.cpp200 FileCache cache; in compile()
/llvm-project/lld/COFF/
H A DLTO.cpp184 FileCache cache; in compile()

12