LLVM 23.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 290 of file GVN.h.

Member Typedef Documentation

◆ difference_type

Definition at line 296 of file GVN.h.

◆ iterator_category

Definition at line 294 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 300 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 309 of file GVN.h.

References leader_iterator().

◆ operator*()

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

Definition at line 312 of file GVN.h.

◆ operator++()

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

Definition at line 301 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 306 of file GVN.h.

References leader_iterator().


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