This class defines the default behavior for configurable aspects of ValueMap<>. User Configs should inherit from this class to be as compatible as possible with future versions of ValueMap.
Synopsis
Declared in <llvm/IR/ValueMap.h>
template<
typename KeyT,
typename MutexT = sys::Mutex>
struct ValueMapConfig;
Types
Name |
Type Aliases
Name |
Enums
Name |
Description |
If FollowRAUW is true, the ValueMap will update mappings on RAUW. If it's false, the ValueMap will leave the original mapping in place. |
Static Member Functions
Name |
Description |
Returns a mutex that should be acquired around any changes to the map. This is only acquired from the CallbackVH (and held around calls to onRAUW and onDelete) and not inside other ValueMap methods. NULL means that no mutex is necessary. |
|
Created with MrDocs