LLVM 20.0.0git
Classes | Public Types | Public Member Functions | List of all members
llvm::ValueMapIterator< DenseMapT, KeyT > Class Template Reference

#include "llvm/IR/ValueMap.h"

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

 ValueMapIterator ()
 
 ValueMapIterator (BaseT I)
 
BaseT base () const
 
ValueTypeProxy operator* () const
 
ValueTypeProxy operator-> () const
 
bool operator== (const ValueMapIterator &RHS) const
 
bool operator!= (const ValueMapIterator &RHS) const
 
ValueMapIteratoroperator++ ()
 
ValueMapIterator operator++ (int)
 

Detailed Description

template<typename DenseMapT, typename KeyT>
class llvm::ValueMapIterator< DenseMapT, KeyT >

Definition at line 325 of file ValueMap.h.

Member Typedef Documentation

◆ difference_type

template<typename DenseMapT , typename KeyT >
using llvm::ValueMapIterator< DenseMapT, KeyT >::difference_type = std::ptrdiff_t

Definition at line 334 of file ValueMap.h.

◆ iterator_category

template<typename DenseMapT , typename KeyT >
using llvm::ValueMapIterator< DenseMapT, KeyT >::iterator_category = std::forward_iterator_tag

Definition at line 332 of file ValueMap.h.

◆ pointer

template<typename DenseMapT , typename KeyT >
using llvm::ValueMapIterator< DenseMapT, KeyT >::pointer = value_type *

Definition at line 335 of file ValueMap.h.

◆ reference

template<typename DenseMapT , typename KeyT >
using llvm::ValueMapIterator< DenseMapT, KeyT >::reference = value_type &

Definition at line 336 of file ValueMap.h.

◆ value_type

template<typename DenseMapT , typename KeyT >
using llvm::ValueMapIterator< DenseMapT, KeyT >::value_type = std::pair<KeyT, typename DenseMapT::mapped_type>

Definition at line 333 of file ValueMap.h.

Constructor & Destructor Documentation

◆ ValueMapIterator() [1/2]

template<typename DenseMapT , typename KeyT >
llvm::ValueMapIterator< DenseMapT, KeyT >::ValueMapIterator ( )
inline

Definition at line 338 of file ValueMap.h.

References I.

◆ ValueMapIterator() [2/2]

template<typename DenseMapT , typename KeyT >
llvm::ValueMapIterator< DenseMapT, KeyT >::ValueMapIterator ( BaseT  I)
inline

Definition at line 339 of file ValueMap.h.

References I.

Member Function Documentation

◆ base()

template<typename DenseMapT , typename KeyT >
BaseT llvm::ValueMapIterator< DenseMapT, KeyT >::base ( ) const
inline

Definition at line 341 of file ValueMap.h.

References I.

◆ operator!=()

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

Definition at line 366 of file ValueMap.h.

References I, and RHS.

◆ operator*()

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

Definition at line 354 of file ValueMap.h.

References I.

Referenced by llvm::ValueMapIterator< DenseMapT, KeyT >::operator->().

◆ operator++() [1/2]

template<typename DenseMapT , typename KeyT >
ValueMapIterator & llvm::ValueMapIterator< DenseMapT, KeyT >::operator++ ( )
inline

Definition at line 370 of file ValueMap.h.

References I.

◆ operator++() [2/2]

template<typename DenseMapT , typename KeyT >
ValueMapIterator llvm::ValueMapIterator< DenseMapT, KeyT >::operator++ ( int  )
inline

Definition at line 374 of file ValueMap.h.

◆ operator->()

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

◆ operator==()

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

Definition at line 363 of file ValueMap.h.

References I, and RHS.


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