LLVM 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::SDNodeIterator 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

bool operator== (const SDNodeIterator &x) const
 
bool operator!= (const SDNodeIterator &x) const
 
pointer operator* () const
 
pointer operator-> () const
 
SDNodeIteratoroperator++ ()
 
SDNodeIterator operator++ (int)
 
size_t operator- (SDNodeIterator Other) const
 
unsigned getOperand () const
 
const SDNodegetNode () const
 

Static Public Member Functions

static SDNodeIterator begin (const SDNode *N)
 
static SDNodeIterator end (const SDNode *N)
 

Detailed Description

Definition at line 3115 of file SelectionDAGNodes.h.

Member Typedef Documentation

◆ difference_type

using llvm::SDNodeIterator::difference_type = std::ptrdiff_t

Definition at line 3124 of file SelectionDAGNodes.h.

◆ iterator_category

using llvm::SDNodeIterator::iterator_category = std::forward_iterator_tag

Definition at line 3122 of file SelectionDAGNodes.h.

◆ pointer

Definition at line 3125 of file SelectionDAGNodes.h.

◆ reference

Definition at line 3126 of file SelectionDAGNodes.h.

◆ value_type

Definition at line 3123 of file SelectionDAGNodes.h.

Member Function Documentation

◆ begin()

static SDNodeIterator llvm::SDNodeIterator::begin ( const SDNode N)
inlinestatic

◆ end()

static SDNodeIterator llvm::SDNodeIterator::end ( const SDNode N)
inlinestatic

◆ getNode()

const SDNode * llvm::SDNodeIterator::getNode ( ) const
inline

Definition at line 3157 of file SelectionDAGNodes.h.

◆ getOperand()

unsigned llvm::SDNodeIterator::getOperand ( ) const
inline

Definition at line 3156 of file SelectionDAGNodes.h.

◆ operator!=()

bool llvm::SDNodeIterator::operator!= ( const SDNodeIterator x) const
inline

Definition at line 3131 of file SelectionDAGNodes.h.

References operator==().

◆ operator*()

pointer llvm::SDNodeIterator::operator* ( ) const
inline

Definition at line 3133 of file SelectionDAGNodes.h.

Referenced by operator->().

◆ operator++() [1/2]

SDNodeIterator & llvm::SDNodeIterator::operator++ ( )
inline

Definition at line 3138 of file SelectionDAGNodes.h.

◆ operator++() [2/2]

SDNodeIterator llvm::SDNodeIterator::operator++ ( int  )
inline

Definition at line 3142 of file SelectionDAGNodes.h.

◆ operator-()

size_t llvm::SDNodeIterator::operator- ( SDNodeIterator  Other) const
inline

Definition at line 3145 of file SelectionDAGNodes.h.

References assert(), and llvm::Other.

◆ operator->()

pointer llvm::SDNodeIterator::operator-> ( ) const
inline

Definition at line 3136 of file SelectionDAGNodes.h.

References operator*().

◆ operator==()

bool llvm::SDNodeIterator::operator== ( const SDNodeIterator x) const
inline

Definition at line 3128 of file SelectionDAGNodes.h.

Referenced by operator!=().


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