Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/source/Host/common/
H A DFileCache.cpp17 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 DFileCache.h22 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 DFileCache.cpp24 FileCache::FileCache(llvm::StringRef Path) in FileCache() function in clang::clangd::FileCache
30 void FileCache::read( in read()
H A DFileCache.h39 class FileCache {
42 FileCache(PathRef Path);
H A DCMakeLists.txt21 FileCache.cpp
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCaching.h55 using FileCache = variable
70 Expected<FileCache> localCache(
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/
H A DFileCacheTests.cpp22 class TestCache : public FileCache {
27 TestCache() : FileCache(testPath("foo.cc")) {} in TestCache()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DSourceManager.h108 typedef std::map<FileSpec, FileSP> FileCache; typedef
109 FileCache m_file_cache;
H A DDataFileCache.h82 llvm::FileCache m_cache_callback;
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp31 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 DLTO.h196 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 DBUILD.gn14 "FileCache.cpp",
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DConfigProvider.cpp29 class FileConfigCache : public FileCache {
35 : FileCache(Path), Directory(Directory) {} in FileConfigCache()
H A DTidyProvider.cpp30 class DotClangTidyCache : private FileCache {
36 DotClangTidyCache(PathRef Path) : FileCache(Path) {} in DotClangTidyCache()
/llvm-project-15.0.7/lldb/include/lldb/
H A Dmodule.modulemap20 module FileCache { header "Host/FileCache.h" export * }
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTO.cpp1000 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 DCaching.cpp29 Expected<FileCache> llvm::localCache(Twine CacheNameRef, in localCache()
/llvm-project-15.0.7/lld/wasm/
H A DLTO.cpp129 FileCache cache; in compile()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp222 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 DDebuginfod.cpp176 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 DBUILD.gn21 "common/FileCache.cpp",
/llvm-project-15.0.7/lld/MachO/
H A DLTO.cpp116 FileCache cache; in compile()
/llvm-project-15.0.7/lld/COFF/
H A DLTO.cpp166 FileCache cache; in compile()
/llvm-project-15.0.7/lldb/source/Core/
H A DSourceManager.cpp717 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 DCMakeLists.txt16 common/FileCache.cpp

12