| /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() 64 uint64_t FileCache::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile() 92 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 | 85 struct FileCache { struct 86 FileCache(FileCacheFunction CacheFn, const std::string &DirectoryPath) in FileCache() argument 88 FileCache() = default; 117 LLVM_ABI Expected<FileCache> localCache( argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 272 AddStreamFn AddStream, FileCache Cache)>; 287 AddStreamFn AddStream, FileCache Cache) { in operator() 418 LLVM_ABI Error run(AddStreamFn AddStream, FileCache Cache = {}); 562 Error runThinLTO(AddStreamFn AddStream, FileCache Cache,
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Caching.cpp | 29 Expected<FileCache> llvm::localCache(const Twine &CacheNameRef, in localCache() 175 return FileCache(Func, CacheDirectoryPathRef.str()); in localCache()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
| H A D | SourceManager.h | 141 typedef std::map<FileSpec, FileSP> FileCache; typedef 142 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 | 31 std::vector<uint32_t> FileCache; member 38 FileCache.clear(); in CUInfo() 40 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX); in CUInfo() 69 if (!LineTable || DwarfFileIdx >= FileCache.size()) in DWARFToGSYMFileIndex() 71 uint32_t &GsymFileIdx = FileCache[DwarfFileIdx]; in DWARFToGSYMFileIndex()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CGData/ |
| H A D | CodeGenData.h | 208 FileCache Cache; 210 StreamCacheData(unsigned Size, const FileCache &OrigCache, in StreamCacheData()
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTO.cpp | 1167 Error LTO::run(AddStreamFn AddStream, FileCache Cache) { in run() 1479 FileCache Cache; 1486 AddStreamFn AddStream, FileCache Cache, lto::IndexWriteCallback OnWrite, in InProcessThinBackend() 1494 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, in runThinLTOBackendThread() 1590 FileCache IRCache; 1597 AddStreamFn CGAddStream, FileCache CGCache, AddStreamFn IRAddStream, in FirstRoundThinBackend() 1598 FileCache IRCache) in FirstRoundThinBackend() 1607 AddStreamFn CGAddStream, FileCache CGCache, unsigned Task, in runThinLTOBackendThread() 1691 AddStreamFn AddStream, FileCache Cache, in SecondRoundThinBackend() 1703 AddStreamFn AddStream, FileCache Cache, unsigned Task, BitcodeModule BM, in runThinLTOBackendThread() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/ |
| H A D | module.modulemap | 20 module FileCache { header "lldb/Host/FileCache.h" export * }
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
| H A D | PlatformPOSIX.cpp | 226 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile() 247 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile() 263 !FileCache::GetInstance().CloseFile(fd_dst, error)) { in GetFile()
|
| /freebsd/contrib/llvm-project/llvm/lib/Debuginfod/ |
| H A D | Debuginfod.cpp | 268 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact() 273 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | SourceManager.cpp | 835 FileCache::iterator pos = m_file_cache.find(file_spec); in AddSourceFileImpl() 848 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; in compile()
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | LTO.cpp | 187 FileCache cache; in compile()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | Platform.cpp | 645 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile() 651 return FileCache::GetInstance().CloseFile(fd, error); in CloseFile() 668 return FileCache::GetInstance().ReadFile(fd, offset, dst, dst_len, error); in ReadFile() 678 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error); in WriteFile()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | LTO.cpp | 322 FileCache cache; in compile()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 485 FileCache Cache; in run()
|
| /freebsd/lib/clang/liblldb/ |
| H A D | Makefile | 258 SRCS+= Host/common/FileCache.cpp
|