11#ifndef PROTEUS_JITSTOREDCACHE_HPP
12#define PROTEUS_JITSTOREDCACHE_HPP
16#include <llvm/Support/MemoryBufferRef.h>
34 std::unique_ptr<CompiledLibrary>
lookup(
HashT &HashValue);
36 void store(
HashT &HashValue, MemoryBufferRef ObjBufRef);
44 uint64_t Accesses = 0;
45 const std::string StorageDirectory;
46 const std::string Label;
47 const std::string DistributedRank;
Definition Hashing.hpp:20
Definition StorageCache.hpp:30
std::unique_ptr< CompiledLibrary > lookup(HashT &HashValue)
Definition StorageCache.cpp:41
void store(HashT &HashValue, MemoryBufferRef ObjBufRef)
Definition StorageCache.cpp:66
void printStats()
Definition StorageCache.cpp:86
void storeDynamicLibrary(HashT &HashValue, const SmallString< 128 > &Path)
Definition StorageCache.cpp:76
Definition StorageCache.cpp:24