LLVM 22.0.0git
llvm::cas Namespace Reference

Namespaces

namespace  builtin
namespace  ondisk

Classes

class  ActionCache
 A cache from a key (that describes an action) to the result of performing that action. More...
class  BuiltinObjectHasher
 Hasher for stored objects in builtin CAS. More...
class  CacheKey
 A key for caching an operation. More...
class  CASContext
 Context for CAS identifiers. More...
class  CASID
 Unique identifier for a CAS object. More...
class  MappedFileRegionArena
 Allocator for an owned mapped file region that supports thread-safe and process-safe bump pointer allocation. More...
class  ObjectHandle
 Handle to a loaded object in a ObjectStore instance. More...
class  ObjectProxy
 Reference to an abstract hierarchical node, with data and references. More...
class  ObjectRef
 Reference to an object in an ObjectStore instance. More...
class  ObjectStore
 Content-addressable storage for objects. More...
class  ReferenceBase
 Base class for references to things in ObjectStore. More...

Functions

std::unique_ptr< ActionCachecreateInMemoryActionCache ()
 Create an action cache in memory.
std::unique_ptr< ObjectStorecreateInMemoryCAS ()

Function Documentation

◆ createInMemoryActionCache()

std::unique_ptr< ActionCache > llvm::cas::createInMemoryActionCache ( )

Create an action cache in memory.

Definition at line 97 of file ActionCaches.cpp.

◆ createInMemoryCAS()

std::unique_ptr< ObjectStore > llvm::cas::createInMemoryCAS ( )

Definition at line 324 of file InMemoryCAS.cpp.