LLVM  13.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 2596 of file SelectionDAGNodes.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 2605 of file SelectionDAGNodes.h.

◆ iterator_category

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

Definition at line 2603 of file SelectionDAGNodes.h.

◆ pointer

Definition at line 2606 of file SelectionDAGNodes.h.

◆ reference

Definition at line 2607 of file SelectionDAGNodes.h.

◆ value_type

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

◆ getOperand()

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

Definition at line 2637 of file SelectionDAGNodes.h.

◆ operator!=()

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

Definition at line 2612 of file SelectionDAGNodes.h.

References operator==(), and x.

◆ operator*()

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

Definition at line 2614 of file SelectionDAGNodes.h.

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 2619 of file SelectionDAGNodes.h.

◆ operator++() [2/2]

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

Definition at line 2623 of file SelectionDAGNodes.h.

◆ operator-()

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

Definition at line 2626 of file SelectionDAGNodes.h.

References assert(), and Other.

◆ operator->()

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

Definition at line 2617 of file SelectionDAGNodes.h.

References operator*().

◆ operator==()

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

Definition at line 2609 of file SelectionDAGNodes.h.

References x.

Referenced by operator!=().


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