LLVM 20.0.0git
Public Types | Public Member Functions | Friends | List of all members
llvm::SDNode::user_iterator Class Reference

#include "llvm/CodeGen/SelectionDAGNodes.h"

Public Types

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

Public Member Functions

 user_iterator ()=default
 
bool operator== (const user_iterator &x) const
 
bool operator!= (const user_iterator &x) const
 
user_iteratoroperator++ ()
 
user_iterator operator++ (int)
 
SDNodeoperator* () const
 
SDNodeoperator-> () const
 
SDUsegetUse () const
 

Friends

class SDNode
 

Detailed Description

Definition at line 832 of file SelectionDAGNodes.h.

Member Typedef Documentation

◆ difference_type

Definition at line 841 of file SelectionDAGNodes.h.

◆ iterator_category

using llvm::SDNode::user_iterator::iterator_category = std::forward_iterator_tag

Definition at line 839 of file SelectionDAGNodes.h.

◆ pointer

Definition at line 842 of file SelectionDAGNodes.h.

◆ reference

Definition at line 843 of file SelectionDAGNodes.h.

◆ value_type

Definition at line 840 of file SelectionDAGNodes.h.

Constructor & Destructor Documentation

◆ user_iterator()

llvm::SDNode::user_iterator::user_iterator ( )
default

Member Function Documentation

◆ getUse()

SDUse & llvm::SDNode::user_iterator::getUse ( ) const
inline

Definition at line 866 of file SelectionDAGNodes.h.

◆ operator!=()

bool llvm::SDNode::user_iterator::operator!= ( const user_iterator x) const
inline

Definition at line 848 of file SelectionDAGNodes.h.

References operator==().

◆ operator*()

SDNode * llvm::SDNode::user_iterator::operator* ( ) const
inline

Definition at line 862 of file SelectionDAGNodes.h.

References llvm::SDUse::getUser().

Referenced by operator->().

◆ operator++() [1/2]

user_iterator & llvm::SDNode::user_iterator::operator++ ( )
inline

Definition at line 850 of file SelectionDAGNodes.h.

◆ operator++() [2/2]

user_iterator llvm::SDNode::user_iterator::operator++ ( int  )
inline

Definition at line 855 of file SelectionDAGNodes.h.

◆ operator->()

SDNode * llvm::SDNode::user_iterator::operator-> ( ) const
inline

Definition at line 864 of file SelectionDAGNodes.h.

References operator*().

◆ operator==()

bool llvm::SDNode::user_iterator::operator== ( const user_iterator x) const
inline

Definition at line 847 of file SelectionDAGNodes.h.

Referenced by operator!=().

Friends And Related Function Documentation

◆ SDNode

friend class SDNode
friend

Definition at line 833 of file SelectionDAGNodes.h.


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