Home
last modified time | relevance | path

Searched refs:FileCache (Results 1 – 21 of 21) 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()
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 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.h85 struct FileCache { struct
86 FileCache(FileCacheFunction CacheFn, const std::string &DirectoryPath) in FileCache() function
88 FileCache() = default;
117 LLVM_ABI Expected<FileCache> localCache( argument
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h272 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 DCaching.cpp29 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 DSourceManager.h141 typedef std::map<FileSpec, FileSP> FileCache; typedef
142 FileCache m_file_cache;
H A DDataFileCache.h93 llvm::FileCache m_cache_callback;
/freebsd/contrib/llvm-project/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()
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 DCodeGenData.h208 FileCache Cache;
210 StreamCacheData(unsigned Size, const FileCache &OrigCache, in StreamCacheData()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp1167 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 Dmodule.modulemap20 module FileCache { header "lldb/Host/FileCache.h" export * }
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp226 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 DDebuginfod.cpp268 Expected<FileCache> CacheOrErr = in getCachedOrDownloadArtifact()
273 FileCache Cache = *CacheOrErr; in getCachedOrDownloadArtifact()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DSourceManager.cpp835 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 DDataFileCache.cpp62 llvm::Expected<llvm::FileCache> cache_or_err = in DataFileCache()
/freebsd/contrib/llvm-project/lld/MachO/
H A DLTO.cpp199 FileCache cache; in compile()
/freebsd/contrib/llvm-project/lld/COFF/
H A DLTO.cpp187 FileCache cache; in compile()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPlatform.cpp645 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 DLTO.cpp322 FileCache cache; in compile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp485 FileCache Cache; in run()
/freebsd/lib/clang/liblldb/
H A DMakefile258 SRCS+= Host/common/FileCache.cpp