Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DCaching.h57 using FileCache = std::function<Expected<AddStreamFn>( variable
72 Expected<FileCache> localCache(
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h200 AddStreamFn AddStream, FileCache Cache)>;
298 Error run(AddStreamFn AddStream, FileCache Cache = nullptr);
432 Error runThinLTO(AddStreamFn AddStream, FileCache Cache,
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp32 std::vector<uint32_t> FileCache; member
39 FileCache.clear(); in CUInfo()
41 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo()
70 if (!LineTable || DwarfFileIdx >= FileCache.size()) in DWARFToGSYMFileIndex()
72 uint32_t &GsymFileIdx = FileCache[DwarfFileIdx]; in DWARFToGSYMFileIndex()
/freebsd-14.2/contrib/llvm-project/lldb/include/
H A Dmodule.modulemap20 module FileCache { header "lldb/Host/FileCache.h" export * }
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DCaching.cpp29 Expected<FileCache> llvm::localCache(const Twine &CacheNameRef, in localCache()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp1126 Error LTO::run(AddStreamFn AddStream, FileCache Cache) { in run()
1414 FileCache Cache;
1428 AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite, in InProcessThinBackend()
1443 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, in runThinLTOBackendThread()
1552 AddStreamFn AddStream, FileCache Cache) { in createInProcessThinBackend()
1638 AddStreamFn AddStream, FileCache Cache) { in createWriteIndexesThinBackend()
1646 Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache, in runThinLTO()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp258 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact()
263 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
/freebsd-14.2/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-14.2/contrib/llvm-project/lld/MachO/
H A DLTO.cpp199 FileCache cache; in compile()
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DLTO.cpp181 FileCache cache; in compile()
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DPlatform.cpp676 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile()
682 return FileCache::GetInstance().CloseFile(fd, error); in CloseFile()
699 return FileCache::GetInstance().ReadFile(fd, offset, dst, dst_len, error); in ReadFile()
709 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error); in WriteFile()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DLTO.cpp315 FileCache cache; in compile()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp431 FileCache Cache; in run()
/freebsd-14.2/lib/clang/liblldb/
H A DMakefile243 SRCS+= Host/common/FileCache.cpp