Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h22 class FileCache {
24 FileCache() = default;
29 static FileCache &GetInstance();
41 static FileCache *m_instance;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DCaching.h57 using FileCache = std::function<Expected<AddStreamFn>( variable
72 Expected<FileCache> localCache(
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h202 AddStreamFn AddStream, FileCache Cache)>;
300 Error run(AddStreamFn AddStream, FileCache Cache = nullptr);
434 Error runThinLTO(AddStreamFn AddStream, FileCache Cache,
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DSourceManager.h126 typedef std::map<FileSpec, FileSP> FileCache; typedef
127 FileCache m_file_cache;
H A DDataFileCache.h93 llvm::FileCache m_cache_callback;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp34 std::vector<uint32_t> FileCache; member
41 FileCache.clear(); in CUInfo()
43 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
72 if (!LineTable || DwarfFileIdx >= FileCache.size()) in DWARFToGSYMFileIndex()
74 uint32_t &GsymFileIdx = FileCache[DwarfFileIdx]; in DWARFToGSYMFileIndex()
/freebsd/contrib/llvm-project/lldb/include/
H A Dmodule.modulemap20 module FileCache { header "lldb/Host/FileCache.h" export * }
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCaching.cpp29 Expected<FileCache> llvm::localCache(const Twine &CacheNameRef, in localCache()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp1140 Error LTO::run(AddStreamFn AddStream, FileCache Cache) { in run()
1431 FileCache Cache;
1445 AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite, in InProcessThinBackend()
1460 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, in runThinLTOBackendThread()
1569 AddStreamFn AddStream, FileCache Cache) { in createInProcessThinBackend()
1670 AddStreamFn AddStream, FileCache Cache) { in createWriteIndexesThinBackend()
1678 Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache, in runThinLTO()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp223 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile()
244 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile()
259 !FileCache::GetInstance().CloseFile(fd_dst, error)) { in GetFile()
/freebsd/contrib/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp258 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact()
263 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSourceManager.cpp804 FileCache::iterator pos = m_file_cache.find(file_spec); in AddSourceFileImpl()
817 FileCache::const_iterator pos = m_file_cache.find(file_spec); in FindSourceFile()
H A DDataFileCache.cpp62 llvm::Expected<llvm::FileCache> cache_or_err = in DataFileCache()
/freebsd/contrib/llvm-project/lld/MachO/
H A DLTO.cpp199 FileCache cache;
/freebsd/contrib/llvm-project/lld/COFF/
H A DLTO.cpp182 FileCache cache; in compile()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPlatform.cpp642 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile()
648 return FileCache::GetInstance().CloseFile(fd, error); in CloseFile()
665 return FileCache::GetInstance().ReadFile(fd, offset, dst, dst_len, error); in ReadFile()
675 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error); in WriteFile()
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.cpp317 FileCache cache; in compile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp453 FileCache Cache; in run()
/freebsd/lib/clang/liblldb/
H A DMakefile250 SRCS+= Host/common/FileCache.cpp