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 3154 of file SelectionDAGNodes.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 3163 of file SelectionDAGNodes.h.

◆ iterator_category

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

Definition at line 3161 of file SelectionDAGNodes.h.

◆ pointer

Definition at line 3164 of file SelectionDAGNodes.h.

◆ reference

Definition at line 3165 of file SelectionDAGNodes.h.

◆ value_type

Definition at line 3162 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 3196 of file SelectionDAGNodes.h.

◆ getOperand()

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

Definition at line 3195 of file SelectionDAGNodes.h.

◆ operator!=()

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

Definition at line 3170 of file SelectionDAGNodes.h.

References operator==().

◆ operator*()

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

Definition at line 3172 of file SelectionDAGNodes.h.

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 3177 of file SelectionDAGNodes.h.

◆ operator++() [2/2]

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

Definition at line 3181 of file SelectionDAGNodes.h.

◆ operator-()

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

Definition at line 3184 of file SelectionDAGNodes.h.

References assert(), and llvm::Other.

◆ operator->()

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

Definition at line 3175 of file SelectionDAGNodes.h.

References operator*().

◆ operator==()

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

Definition at line 3167 of file SelectionDAGNodes.h.

Referenced by operator!=().


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