Default configuration for configurable aspects of ValueMap.
Declared in <llvm/IR/ValueMap.h>
template<
typename KeyT,
typename MutexT = sys::Mutex>
struct ValueMapConfig;
User Configs should inherit from this class to be as compatible as possible with future versions of ValueMap.
| Name | Description |
|---|---|
ExtraData | Extra per-map state passed to Config callbacks; empty by default. |
| Name | Description |
|---|---|
mutex_type | Mutex type used when Config requests locking around CallbackVH updates. |
| Name | Description |
|---|---|
Unnamed enum | Compile-time flags that control how ValueMap reacts to key changes. |
| Name | Description |
|---|---|
getMutex | Return a mutex to acquire around CallbackVH-driven map changes, or null. |
onDelete | Called when a key is deleted; default implementation does nothing. |
onRAUW | Called when a key is RAUWd; default implementation does nothing. |