LLVM 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::SUnitIterator Class Reference

#include "llvm/CodeGen/ScheduleDAG.h"

Public Types

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

Public Member Functions

bool operator== (const SUnitIterator &x) const
 
bool operator!= (const SUnitIterator &x) const
 
pointer operator* () const
 
pointer operator-> () const
 
SUnitIteratoroperator++ ()
 
SUnitIterator operator++ (int)
 
unsigned getOperand () const
 
const SUnitgetNode () const
 
bool isCtrlDep () const
 Tests if this is not an SDep::Data dependence.
 
bool isArtificialDep () const
 
const SDepgetSDep () const
 

Static Public Member Functions

static SUnitIterator begin (SUnit *N)
 
static SUnitIterator end (SUnit *N)
 

Detailed Description

Definition at line 643 of file ScheduleDAG.h.

Member Typedef Documentation

◆ difference_type

using llvm::SUnitIterator::difference_type = std::ptrdiff_t

Definition at line 652 of file ScheduleDAG.h.

◆ iterator_category

using llvm::SUnitIterator::iterator_category = std::forward_iterator_tag

Definition at line 650 of file ScheduleDAG.h.

◆ pointer

Definition at line 653 of file ScheduleDAG.h.

◆ reference

Definition at line 654 of file ScheduleDAG.h.

◆ value_type

Definition at line 651 of file ScheduleDAG.h.

Member Function Documentation

◆ begin()

static SUnitIterator llvm::SUnitIterator::begin ( SUnit N)
inlinestatic

Definition at line 674 of file ScheduleDAG.h.

References N.

Referenced by llvm::GraphTraits< SUnit * >::child_begin().

◆ end()

static SUnitIterator llvm::SUnitIterator::end ( SUnit N)
inlinestatic

Definition at line 675 of file ScheduleDAG.h.

References N.

Referenced by llvm::GraphTraits< SUnit * >::child_end().

◆ getNode()

const SUnit * llvm::SUnitIterator::getNode ( ) const
inline

Definition at line 680 of file ScheduleDAG.h.

◆ getOperand()

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

Definition at line 679 of file ScheduleDAG.h.

◆ getSDep()

const SDep & llvm::SUnitIterator::getSDep ( ) const
inline

Definition at line 689 of file ScheduleDAG.h.

Referenced by isArtificialDep(), and isCtrlDep().

◆ isArtificialDep()

bool llvm::SUnitIterator::isArtificialDep ( ) const
inline

◆ isCtrlDep()

bool llvm::SUnitIterator::isCtrlDep ( ) const
inline

◆ operator!=()

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

Definition at line 659 of file ScheduleDAG.h.

References operator==().

◆ operator*()

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

Definition at line 661 of file ScheduleDAG.h.

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 666 of file ScheduleDAG.h.

◆ operator++() [2/2]

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

Definition at line 670 of file ScheduleDAG.h.

◆ operator->()

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

Definition at line 664 of file ScheduleDAG.h.

References operator*().

◆ operator==()

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

Definition at line 656 of file ScheduleDAG.h.

Referenced by operator!=().


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