LLVM 24.0.0git
BuiltinUnifiedCASDatabases.h File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::cas

Functions

LLVM_ABI Expected< std::pair< std::unique_ptr< ObjectStore >, std::unique_ptr< ActionCache > > > llvm::cas::createOnDiskUnifiedCASDatabases (StringRef Path)
 Create on-disk ObjectStore and ActionCache instances based on ondisk::UnifiedOnDiskCache, with built-in hashing.
LLVM_ABI Expected< ValidationResult > llvm::cas::validateOnDiskUnifiedCASDatabasesIfNeeded (StringRef Path, bool CheckHash, bool ForceValidation)
 Validate the builtin on-disk CAS in Path in-process, if needed.
LLVM_ABI Expected< ValidationResult > llvm::cas::recoverOnDiskUnifiedCASDatabases (StringRef Path)
 Recover the builtin on-disk CAS in Path after a failed validation.