LLVM 22.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

Enumerations

enum class  llvm::cas::ValidationResult { llvm::cas::Valid , llvm::cas::Recovered , llvm::cas::Skipped }
 Represents the result of validating the contents using validateOnDiskUnifiedCASDatabasesIfNeeded. More...

Functions

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.
Expected< ValidationResultllvm::cas::validateOnDiskUnifiedCASDatabasesIfNeeded (StringRef Path, bool CheckHash, bool AllowRecovery, bool ForceValidation, std::optional< StringRef > LLVMCasBinaryPath)
 Validate the data in Path, if needed to ensure correctness.