LLVM 24.0.0git
llvm::GVNLeaderMap::leader_iterator Class Reference

#include "llvm/Transforms/Scalar/GVN.h"

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = const LeaderTableEntry
using difference_type = std::ptrdiff_t
using pointer = value_type *
using reference = value_type &

Public Member Functions

 leader_iterator (const LeaderListNode *C)
leader_iterator & operator++ ()
bool operator== (const leader_iterator &Other) const
bool operator!= (const leader_iterator &Other) const
reference operator* () const

Detailed Description

Definition at line 144 of file GVN.h.

Member Typedef Documentation

◆ difference_type

Definition at line 150 of file GVN.h.

◆ iterator_category

using llvm::GVNLeaderMap::leader_iterator::iterator_category = std::forward_iterator_tag

Definition at line 148 of file GVN.h.

◆ pointer

Definition at line 151 of file GVN.h.

◆ reference

Definition at line 152 of file GVN.h.

◆ value_type

Constructor & Destructor Documentation

◆ leader_iterator()

llvm::GVNLeaderMap::leader_iterator::leader_iterator ( const LeaderListNode * C)
inline

Definition at line 154 of file GVN.h.

References C().

Referenced by operator!=(), operator++(), and operator==().

Member Function Documentation

◆ operator!=()

bool llvm::GVNLeaderMap::leader_iterator::operator!= ( const leader_iterator & Other) const
inline

Definition at line 163 of file GVN.h.

References leader_iterator(), and llvm::Other.

◆ operator*()

reference llvm::GVNLeaderMap::leader_iterator::operator* ( ) const
inline

Definition at line 166 of file GVN.h.

◆ operator++()

leader_iterator & llvm::GVNLeaderMap::leader_iterator::operator++ ( )
inline

Definition at line 155 of file GVN.h.

References assert(), and leader_iterator().

◆ operator==()

bool llvm::GVNLeaderMap::leader_iterator::operator== ( const leader_iterator & Other) const
inline

Definition at line 160 of file GVN.h.

References leader_iterator(), and llvm::Other.


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