| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | FileCache.cpp | 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() 63 uint64_t FileCache::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile() 90 uint64_t FileCache::ReadFile(lldb::user_id_t fd, uint64_t offset, void *dst, in ReadFile()
|
| /llvm-project-15.0.7/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-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | FileCache.cpp | 24 FileCache::FileCache(llvm::StringRef Path) in FileCache() function in clang::clangd::FileCache 30 void FileCache::read( in read()
|
| H A D | FileCache.h | 39 class FileCache { 42 FileCache(PathRef Path);
|
| H A D | CMakeLists.txt | 21 FileCache.cpp
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Caching.h | 55 using FileCache = variable 70 Expected<FileCache> localCache(
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/ |
| H A D | FileCacheTests.cpp | 22 class TestCache : public FileCache { 27 TestCache() : FileCache(testPath("foo.cc")) {} in TestCache()
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | SourceManager.h | 108 typedef std::map<FileSpec, FileSP> FileCache; typedef 109 FileCache m_file_cache;
|
| H A D | DataFileCache.h | 82 llvm::FileCache m_cache_callback;
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | DwarfTransformer.cpp | 31 std::vector<uint32_t> FileCache; member 38 FileCache.clear(); in CUInfo() 40 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo() 70 assert(DwarfFileIdx < FileCache.size()); in DWARFToGSYMFileIndex() 71 uint32_t &GsymFileIdx = FileCache[DwarfFileIdx]; in DWARFToGSYMFileIndex()
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 196 AddStreamFn AddStream, FileCache Cache)>; 278 Error run(AddStreamFn AddStream, FileCache Cache = nullptr); 410 Error runThinLTO(AddStreamFn AddStream, FileCache Cache,
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/support/ |
| H A D | BUILD.gn | 14 "FileCache.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ConfigProvider.cpp | 29 class FileConfigCache : public FileCache { 35 : FileCache(Path), Directory(Directory) {} in FileConfigCache()
|
| H A D | TidyProvider.cpp | 30 class DotClangTidyCache : private FileCache { 36 DotClangTidyCache(PathRef Path) : FileCache(Path) {} in DotClangTidyCache()
|
| /llvm-project-15.0.7/lldb/include/lldb/ |
| H A D | module.modulemap | 20 module FileCache { header "Host/FileCache.h" export * }
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTO.cpp | 1000 Error LTO::run(AddStreamFn AddStream, FileCache Cache) { in run() 1216 FileCache Cache; 1230 AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite, in InProcessThinBackend() 1245 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, in runThinLTOBackendThread() 1353 AddStreamFn AddStream, FileCache Cache) { in createInProcessThinBackend() 1430 AddStreamFn AddStream, FileCache Cache) { in createWriteIndexesThinBackend() 1437 Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache, in runThinLTO()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Caching.cpp | 29 Expected<FileCache> llvm::localCache(Twine CacheNameRef, in localCache()
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | LTO.cpp | 129 FileCache cache; in compile()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/POSIX/ |
| H A D | PlatformPOSIX.cpp | 222 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile() 243 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile() 258 !FileCache::GetInstance().CloseFile(fd_dst, error)) { in GetFile()
|
| /llvm-project-15.0.7/llvm/lib/Debuginfod/ |
| H A D | Debuginfod.cpp | 176 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact() 181 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Host/ |
| H A D | BUILD.gn | 21 "common/FileCache.cpp",
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | LTO.cpp | 116 FileCache cache; in compile()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | LTO.cpp | 166 FileCache cache; in compile()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | SourceManager.cpp | 717 FileCache::iterator pos = m_file_cache.find(file_spec); in AddSourceFile() 729 FileCache::const_iterator pos = m_file_cache.find(file_spec); in FindSourceFile()
|
| /llvm-project-15.0.7/lldb/source/Host/ |
| H A D | CMakeLists.txt | 16 common/FileCache.cpp
|