LLVM  14.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. More...
 
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 617 of file ScheduleDAG.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 626 of file ScheduleDAG.h.

◆ iterator_category

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

Definition at line 624 of file ScheduleDAG.h.

◆ pointer

Definition at line 627 of file ScheduleDAG.h.

◆ reference

Definition at line 628 of file ScheduleDAG.h.

◆ value_type

Definition at line 625 of file ScheduleDAG.h.

Member Function Documentation

◆ begin()

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

Definition at line 648 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 649 of file ScheduleDAG.h.

References N.

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

◆ getNode()

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

Definition at line 654 of file ScheduleDAG.h.

◆ getOperand()

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

Definition at line 653 of file ScheduleDAG.h.

◆ getSDep()

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

Definition at line 663 of file ScheduleDAG.h.

Referenced by isArtificialDep(), and isCtrlDep().

◆ isArtificialDep()

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

Definition at line 660 of file ScheduleDAG.h.

References getSDep(), and llvm::SDep::isArtificial().

◆ isCtrlDep()

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

Tests if this is not an SDep::Data dependence.

Definition at line 657 of file ScheduleDAG.h.

References getSDep(), and llvm::SDep::isCtrl().

◆ operator!=()

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

Definition at line 633 of file ScheduleDAG.h.

References operator==(), and x.

◆ operator*()

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

Definition at line 635 of file ScheduleDAG.h.

Referenced by operator->().

◆ operator++() [1/2]

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

Definition at line 640 of file ScheduleDAG.h.

◆ operator++() [2/2]

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

Definition at line 644 of file ScheduleDAG.h.

◆ operator->()

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

Definition at line 638 of file ScheduleDAG.h.

References operator*().

◆ operator==()

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

Definition at line 630 of file ScheduleDAG.h.

References x.

Referenced by operator!=().


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