LLVM 22.0.0git
llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst > Class Template Reference

#include "llvm/IR/ValueMap.h"

Inheritance diagram for llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >:
[legend]

Classes

struct  ValueTypeProxy

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = std::pair<KeyT, typename DenseMapT::mapped_type>
using difference_type = std::ptrdiff_t
using pointer = value_type *
using reference = value_type &

Public Member Functions

 ValueMapIteratorImpl ()=default
 ValueMapIteratorImpl (BaseT I)
template<bool C = IsConst, typename = std::enable_if_t<C>>
 ValueMapIteratorImpl (const ValueMapIteratorImpl< DenseMapT, KeyT, false > &Other)
BaseT base () const
ValueTypeProxy operator* () const
ValueTypeProxy operator-> () const
bool operator== (const ValueMapIteratorImpl &RHS) const
bool operator!= (const ValueMapIteratorImpl &RHS) const
ValueMapIteratorImploperator++ ()
ValueMapIteratorImpl operator++ (int)

Detailed Description

template<typename DenseMapT, typename KeyT, bool IsConst>
class llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >

Definition at line 322 of file ValueMap.h.

Member Typedef Documentation

◆ difference_type

template<typename DenseMapT, typename KeyT, bool IsConst>
using llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::difference_type = std::ptrdiff_t

Definition at line 332 of file ValueMap.h.

◆ iterator_category

template<typename DenseMapT, typename KeyT, bool IsConst>
using llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::iterator_category = std::forward_iterator_tag

Definition at line 330 of file ValueMap.h.

◆ pointer

template<typename DenseMapT, typename KeyT, bool IsConst>
using llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::pointer = value_type *

Definition at line 333 of file ValueMap.h.

◆ reference

template<typename DenseMapT, typename KeyT, bool IsConst>
using llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::reference = value_type &

Definition at line 334 of file ValueMap.h.

◆ value_type

template<typename DenseMapT, typename KeyT, bool IsConst>
using llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::value_type = std::pair<KeyT, typename DenseMapT::mapped_type>

Definition at line 331 of file ValueMap.h.

Constructor & Destructor Documentation

◆ ValueMapIteratorImpl() [1/3]

template<typename DenseMapT, typename KeyT, bool IsConst>
llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueMapIteratorImpl ( )
default

◆ ValueMapIteratorImpl() [2/3]

template<typename DenseMapT, typename KeyT, bool IsConst>
llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueMapIteratorImpl ( BaseT I)
inline

Definition at line 337 of file ValueMap.h.

◆ ValueMapIteratorImpl() [3/3]

template<typename DenseMapT, typename KeyT, bool IsConst>
template<bool C = IsConst, typename = std::enable_if_t<C>>
llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::ValueMapIteratorImpl ( const ValueMapIteratorImpl< DenseMapT, KeyT, false > & Other)
inline

Definition at line 341 of file ValueMap.h.

Member Function Documentation

◆ base()

template<typename DenseMapT, typename KeyT, bool IsConst>
BaseT llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::base ( ) const
inline

Definition at line 345 of file ValueMap.h.

◆ operator!=()

template<typename DenseMapT, typename KeyT, bool IsConst>
bool llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::operator!= ( const ValueMapIteratorImpl< DenseMapT, KeyT, IsConst > & RHS) const
inline

Definition at line 366 of file ValueMap.h.

◆ operator*()

template<typename DenseMapT, typename KeyT, bool IsConst>
ValueTypeProxy llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename DenseMapT, typename KeyT, bool IsConst>
ValueMapIteratorImpl & llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::operator++ ( )
inline

Definition at line 368 of file ValueMap.h.

◆ operator++() [2/2]

template<typename DenseMapT, typename KeyT, bool IsConst>
ValueMapIteratorImpl llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::operator++ ( int )
inline

Definition at line 372 of file ValueMap.h.

◆ operator->()

template<typename DenseMapT, typename KeyT, bool IsConst>
ValueTypeProxy llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::operator-> ( ) const
inline

Definition at line 363 of file ValueMap.h.

◆ operator==()

template<typename DenseMapT, typename KeyT, bool IsConst>
bool llvm::ValueMapIteratorImpl< DenseMapT, KeyT, IsConst >::operator== ( const ValueMapIteratorImpl< DenseMapT, KeyT, IsConst > & RHS) const
inline

Definition at line 365 of file ValueMap.h.


The documentation for this class was generated from the following file: