/llvm-project/lldb/source/Host/common/ |
H A D | FileCache.cpp | 1 //===-- 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 D | FileCache.h | 22 class FileCache { 24 FileCache() = default; 29 static FileCache &GetInstance(); 41 static FileCache *m_instance;
|
/llvm-project/clang-tools-extra/clangd/support/ |
H A D | FileCache.cpp | 25 FileCache::FileCache(llvm::StringRef Path) in FileCache() function in clang::clangd::FileCache 31 void FileCache::read( in read()
|
H A D | FileCache.h | 40 class FileCache { 43 FileCache(PathRef Path);
|
H A D | CMakeLists.txt | 23 FileCache.cpp
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | Caching.h | 67 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 D | FileCacheTests.cpp | 23 class TestCache : public FileCache { 28 TestCache() : FileCache(testPath("foo.cc")) {} in TestCache()
|
/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTO.h | 256 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 D | SourceManager.h | 141 typedef std::map<FileSpec, FileSP> FileCache; 142 FileCache m_file_cache; in GetLastFile() 126 typedef std::map<FileSpec, FileSP> FileCache; global() typedef
|
H A D | DataFileCache.h | 93 llvm::FileCache m_cache_callback;
|
/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | DwarfTransformer.cpp | 31 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 D | ConfigProvider.cpp | 30 class FileConfigCache : public FileCache { 36 : FileCache(Path), Directory(Directory) {} in FileConfigCache()
|
H A D | TidyProvider.cpp | 13 #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 D | BUILD.gn | 16 "FileCache.cpp",
|
/llvm-project/lldb/include/ |
H A D | module.modulemap | 20 module FileCache { header "lldb/Host/FileCache.h" export * }
|
/llvm-project/llvm/lib/LTO/ |
H A D | LTO.cpp | 1161 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 D | LTO.cpp | 193 FileCache cache;
|
/llvm-project/llvm/lib/Support/ |
H A D | Caching.cpp | 29 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 D | PlatformPOSIX.cpp | 20 #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 D | BUILD.gn | 23 "common/FileCache.cpp",
|
/llvm-project/llvm/lib/Debuginfod/ |
H A D | Debuginfod.cpp | 258 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact() 263 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
|
/llvm-project/lldb/source/Host/ |
H A D | CMakeLists.txt | 18 common/FileCache.cpp
|
/llvm-project/lldb/source/Core/ |
H A D | SourceManager.cpp | 839 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 D | LTO.cpp | 200 FileCache cache; in compile()
|
/llvm-project/lld/COFF/ |
H A D | LTO.cpp | 184 FileCache cache; in compile()
|