|
LLVM 24.0.0git
|
This file contains the declaration of the ObjectStore class. More...
#include "llvm/ADT/StringRef.h"#include "llvm/CAS/CASID.h"#include "llvm/CAS/CASReference.h"#include "llvm/CAS/ValidationResult.h"#include "llvm/Support/Error.h"#include "llvm/Support/FileSystem.h"#include <cstddef>Go to the source code of this file.
Classes | |
| class | llvm::cas::ObjectStore |
| Content-addressable storage for objects. More... | |
| class | llvm::cas::ObjectProxy |
| Reference to an abstract hierarchical node, with data and references. More... | |
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
| namespace | llvm::cas |
Macros | |
| #define | MAKE_CAS_HANDLE_CONSTRUCTOR(HandleKind) |
| Allow ObjectStore implementations to create internal handles. | |
Functions | |
| LLVM_ABI std::unique_ptr< ObjectStore > | llvm::cas::createInMemoryCAS () |
| Create an in memory CAS. | |
| LLVM_ABI bool | llvm::cas::isOnDiskCASEnabled () |
| LLVM_ABI Expected< std::unique_ptr< ObjectStore > > | llvm::cas::createOnDiskCAS (const Twine &Path) |
Create a persistent on-disk path at Path. | |
| LLVM_ABI Expected< std::pair< std::shared_ptr< ObjectStore >, std::shared_ptr< ActionCache > > > | llvm::cas::createPluginCASDatabases (StringRef PluginPath, StringRef OnDiskPath, ArrayRef< std::pair< std::string, std::string > > PluginArgs) |
Create ObjectStore and ActionCache instances backed by a plugin that implements the C API in "llvm-c/CAS/PluginAPI_functions.h". | |
| LLVM_ABI Expected< ValidationResult > | llvm::cas::validatePluginCASDatabasesIfNeeded (StringRef PluginPath, StringRef OnDiskPath, ArrayRef< std::pair< std::string, std::string > > PluginArgs, bool CheckHash, bool ForceValidation) |
Validate the on-disk data of a plugin-backed CAS in-process if needed, by calling the plugin's llcas_cas_validate_if_needed. | |
| LLVM_ABI Expected< ValidationResult > | llvm::cas::recoverPluginCASDatabases (StringRef PluginPath, StringRef OnDiskPath, ArrayRef< std::pair< std::string, std::string > > PluginArgs) |
Recover the on-disk data of a plugin-backed CAS after a failed validatePluginCASDatabasesIfNeeded, by calling the plugin's llcas_cas_recover_ondisk_data. | |
This file contains the declaration of the ObjectStore class.
Definition in file ObjectStore.h.
| #define MAKE_CAS_HANDLE_CONSTRUCTOR | ( | HandleKind | ) |
Allow ObjectStore implementations to create internal handles.
Definition at line 219 of file ObjectStore.h.