LLVM  14.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 2835 of file SelectionDAGNodes.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 2844 of file SelectionDAGNodes.h.

◆ iterator_category

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

Definition at line 2842 of file SelectionDAGNodes.h.

◆ pointer

Definition at line 2845 of file SelectionDAGNodes.h.

◆ reference

Definition at line 2846 of file SelectionDAGNodes.h.

◆ value_type

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

◆ getOperand()

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

Definition at line 2876 of file SelectionDAGNodes.h.

◆ operator!=()

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

Definition at line 2851 of file SelectionDAGNodes.h.

References operator==(), and x.

◆ operator*()

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

Definition at line 2853 of file SelectionDAGNodes.h.

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 2858 of file SelectionDAGNodes.h.

◆ operator++() [2/2]

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

Definition at line 2862 of file SelectionDAGNodes.h.

◆ operator-()

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

Definition at line 2865 of file SelectionDAGNodes.h.

References assert(), and Other.

◆ operator->()

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

Definition at line 2856 of file SelectionDAGNodes.h.

References operator*().

◆ operator==()

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

Definition at line 2848 of file SelectionDAGNodes.h.

References x.

Referenced by operator!=().


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