LLVM 22.0.0git
llvm::GVNPass::LeaderMap::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_iteratoroperator++ ()
bool operator== (const leader_iterator &Other) const
bool operator!= (const leader_iterator &Other) const
reference operator* () const

Detailed Description

Definition at line 278 of file GVN.h.

Member Typedef Documentation

◆ difference_type

Definition at line 284 of file GVN.h.

◆ iterator_category

Definition at line 282 of file GVN.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ leader_iterator()

llvm::GVNPass::LeaderMap::leader_iterator::leader_iterator ( const LeaderListNode * C)
inline

Definition at line 288 of file GVN.h.

References llvm::CallingConv::C.

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

Member Function Documentation

◆ operator!=()

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

Definition at line 297 of file GVN.h.

References leader_iterator(), and llvm::Other.

◆ operator*()

reference llvm::GVNPass::LeaderMap::leader_iterator::operator* ( ) const
inline

Definition at line 300 of file GVN.h.

◆ operator++()

leader_iterator & llvm::GVNPass::LeaderMap::leader_iterator::operator++ ( )
inline

Definition at line 289 of file GVN.h.

References assert(), and leader_iterator().

◆ operator==()

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

Definition at line 294 of file GVN.h.

References leader_iterator(), and llvm::Other.


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