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

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 224 of file GVN.cpp.

Member Typedef Documentation

◆ difference_type

Definition at line 230 of file GVN.cpp.

◆ iterator_category

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

Definition at line 228 of file GVN.cpp.

◆ pointer

Definition at line 231 of file GVN.cpp.

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ leader_iterator()

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

Definition at line 234 of file GVN.cpp.

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 243 of file GVN.cpp.

References leader_iterator(), and llvm::Other.

◆ operator*()

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

Definition at line 246 of file GVN.cpp.

◆ operator++()

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

Definition at line 235 of file GVN.cpp.

References assert(), and leader_iterator().

◆ operator==()

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

Definition at line 240 of file GVN.cpp.

References leader_iterator(), and llvm::Other.


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