LLVM 20.0.0git
|
#include "llvm/CGData/CodeGenData.h"
Public Member Functions | |
StreamCacheData (unsigned Size, const FileCache &OrigCache, const Twine &CachePrefix) | |
StreamCacheData ()=delete | |
std::unique_ptr< SmallVector< StringRef > > | getResult () |
Retrieve results from either the cache or the stream. | |
Public Attributes | |
SmallVector< SmallString< 0 > > | Outputs |
Backing buffer for serialized data stream. | |
AddStreamFn | AddStream |
Callback function to add serialized data to the stream. | |
SmallVector< std::unique_ptr< MemoryBuffer > > | Files |
Backing buffer for cached data. | |
FileCache | Cache |
Cache mechanism for storing data. | |
Definition at line 199 of file CodeGenData.h.
|
inline |
Definition at line 209 of file CodeGenData.h.
References AddStream, Cache, llvm::FileCache::getCacheDirectoryPath(), llvm::FileCache::isValid(), llvm::localCache(), Outputs, and llvm::report_fatal_error().
|
delete |
|
inline |
Retrieve results from either the cache or the stream.
Definition at line 232 of file CodeGenData.h.
AddStreamFn llvm::cgdata::StreamCacheData::AddStream |
Callback function to add serialized data to the stream.
Definition at line 203 of file CodeGenData.h.
Referenced by StreamCacheData().
FileCache llvm::cgdata::StreamCacheData::Cache |
Cache mechanism for storing data.
Definition at line 207 of file CodeGenData.h.
Referenced by StreamCacheData().
SmallVector<std::unique_ptr<MemoryBuffer> > llvm::cgdata::StreamCacheData::Files |
Backing buffer for cached data.
Definition at line 205 of file CodeGenData.h.
Referenced by getResult().
SmallVector<SmallString<0> > llvm::cgdata::StreamCacheData::Outputs |
Backing buffer for serialized data stream.
Definition at line 201 of file CodeGenData.h.
Referenced by getResult(), and StreamCacheData().