/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/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;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Caching.h | 57 using FileCache = std::function<Expected<AddStreamFn>( variable 72 Expected<FileCache> localCache(
|
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/ |
H A D | LTO.h | 202 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 D | SourceManager.h | 126 typedef std::map<FileSpec, FileSP> FileCache; typedef 127 FileCache m_file_cache;
|
H A D | DataFileCache.h | 93 llvm::FileCache m_cache_callback;
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | DwarfTransformer.cpp | 34 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 D | module.modulemap | 20 module FileCache { header "lldb/Host/FileCache.h" export * }
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Caching.cpp | 29 Expected<FileCache> llvm::localCache(const Twine &CacheNameRef, in localCache()
|
/freebsd/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTO.cpp | 1140 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 D | PlatformPOSIX.cpp | 223 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 D | Debuginfod.cpp | 258 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact() 263 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | SourceManager.cpp | 804 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 D | DataFileCache.cpp | 62 llvm::Expected<llvm::FileCache> cache_or_err = in DataFileCache()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | LTO.cpp | 199 FileCache cache;
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | LTO.cpp | 182 FileCache cache; in compile()
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Platform.cpp | 642 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 D | LTO.cpp | 317 FileCache cache; in compile()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/ |
H A D | llvm-lto2.cpp | 453 FileCache Cache; in run()
|
/freebsd/lib/clang/liblldb/ |
H A D | Makefile | 250 SRCS+= Host/common/FileCache.cpp
|