LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
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 251 of file GVN.h.

Member Typedef Documentation

◆ difference_type

Definition at line 257 of file GVN.h.

◆ iterator_category

Definition at line 255 of file GVN.h.

◆ pointer

Definition at line 258 of file GVN.h.

◆ reference

Definition at line 259 of file GVN.h.

◆ value_type

Definition at line 256 of file GVN.h.

Constructor & Destructor Documentation

◆ leader_iterator()

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

Definition at line 261 of file GVN.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 270 of file GVN.h.

References llvm::Other.

◆ operator*()

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

Definition at line 273 of file GVN.h.

◆ operator++()

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

Definition at line 262 of file GVN.h.

References assert().

◆ operator==()

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

Definition at line 267 of file GVN.h.

References llvm::Other.


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