llvm::ValueMapIteratorImpl

Forward iterator that unwraps ValueMapCallbackVH keys to KeyT.

Synopsis

Declared in <llvm/IR/ValueMap.h>

template<
    typename DenseMapT,
    typename KeyT,
    bool IsConst>
class ValueMapIteratorImpl;

Types

NameDescription
ValueTypeProxy Proxy that presents an unwrapped key and a reference to the mapped value.

Type Aliases

NameDescription
difference_type Signed distance type between iterators.
iterator_category Category tag identifying this as a forward iterator.
pointer Pointer to a value_type (not used for actual storage).
reference Reference to a value_type (not used for actual storage).
value_type Value type referred to by the iterator (unwrapped key and mapped value).

Member Functions

NameDescription
ValueMapIteratorImpl [constructor]Constructors
base Return the underlying DenseMap iterator.
operator* Return a proxy to the current key/value entry.
operator++ Increment operators
operator-> Return a proxy used for -> access to the current entry.
operator== Return true if both iterators refer to the same entry.
operator!= Return true if the iterators refer to different entries.