Halide 19.0.0
Halide compiler and libraries
|
#include <hashmap.h>
Public Member Functions | |
bool | init (void *user_context, const uint8_t *cache_key, size_t cache_key_size, uint32_t key_hash, const uint8_t *cache_value, size_t cache_value_size, copy_value_func copy_value) |
void | destroy (void *user_context, destroy_value_func destroy_value) |
Public Attributes | |
CacheEntry * | next |
CacheEntry * | more_recent |
CacheEntry * | less_recent |
uint8_t * | metadata_storage |
size_t | key_size |
uint8_t * | key |
uint32_t | hash |
uint32_t | in_use_count |
size_t | value_size |
uint8_t * | value |
|
inline |
Definition at line 64 of file hashmap.h.
References hash, hashmap_malloc, in_use_count, key, key_size, less_recent, metadata_storage, more_recent, next, value, and value_size.
Referenced by Halide::Runtime::Internal::HashMap::store().
|
inline |
Definition at line 114 of file hashmap.h.
References hashmap_free, metadata_storage, value, and value_size.
Referenced by Halide::Runtime::Internal::HashMap::cleanup(), and Halide::Runtime::Internal::HashMap::prune().
CacheEntry* Halide::Runtime::Internal::CacheEntry::next |
Definition at line 42 of file hashmap.h.
Referenced by Halide::Runtime::Internal::HashMap::cleanup(), init(), Halide::Runtime::Internal::HashMap::lookup(), Halide::Runtime::Internal::HashMap::prune(), and Halide::Runtime::Internal::HashMap::store().
CacheEntry* Halide::Runtime::Internal::CacheEntry::more_recent |
Definition at line 43 of file hashmap.h.
Referenced by init(), Halide::Runtime::Internal::HashMap::lookup(), Halide::Runtime::Internal::HashMap::prune(), and Halide::Runtime::Internal::HashMap::store().
CacheEntry* Halide::Runtime::Internal::CacheEntry::less_recent |
Definition at line 44 of file hashmap.h.
Referenced by init(), Halide::Runtime::Internal::HashMap::lookup(), Halide::Runtime::Internal::HashMap::prune(), and Halide::Runtime::Internal::HashMap::store().
uint8_t* Halide::Runtime::Internal::CacheEntry::metadata_storage |
size_t Halide::Runtime::Internal::CacheEntry::key_size |
Definition at line 46 of file hashmap.h.
Referenced by init(), and Halide::Runtime::Internal::HashMap::lookup().
uint8_t* Halide::Runtime::Internal::CacheEntry::key |
Definition at line 47 of file hashmap.h.
Referenced by init(), and Halide::Runtime::Internal::HashMap::lookup().
uint32_t Halide::Runtime::Internal::CacheEntry::hash |
Definition at line 48 of file hashmap.h.
Referenced by init(), Halide::Runtime::Internal::HashMap::lookup(), and Halide::Runtime::Internal::HashMap::prune().
uint32_t Halide::Runtime::Internal::CacheEntry::in_use_count |
Definition at line 49 of file hashmap.h.
Referenced by init(), Halide::Runtime::Internal::HashMap::lookup(), Halide::Runtime::Internal::HashMap::prune(), and Halide::Runtime::Internal::HashMap::store().
size_t Halide::Runtime::Internal::CacheEntry::value_size |
Definition at line 52 of file hashmap.h.
Referenced by destroy(), init(), Halide::Runtime::Internal::HashMap::lookup(), and Halide::Runtime::Internal::HashMap::prune().
uint8_t* Halide::Runtime::Internal::CacheEntry::value |
Definition at line 53 of file hashmap.h.
Referenced by destroy(), init(), and Halide::Runtime::Internal::HashMap::lookup().