LLVM 23.0.0git
llvm::sandboxir::SuccIterator Class Reference

Iterate over both def-use and mem dependencies. More...

#include "llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h"

Public Types

using difference_type = std::ptrdiff_t
using value_type = DGNode *
using pointer = value_type *
using reference = value_type &
using iterator_category = std::input_iterator_tag

Public Member Functions

LLVM_ABI value_type operator* ()
LLVM_ABI SuccIteratoroperator++ ()
SuccIterator operator++ (int)
LLVM_ABI bool operator== (const SuccIterator &Other) const
bool operator!= (const SuccIterator &Other) const

Friends

class DGNode
class MemDGNode

Detailed Description

Iterate over both def-use and mem dependencies.

Definition at line 94 of file DependencyGraph.h.

Member Typedef Documentation

◆ difference_type

Definition at line 120 of file DependencyGraph.h.

◆ iterator_category

using llvm::sandboxir::SuccIterator::iterator_category = std::input_iterator_tag

Definition at line 124 of file DependencyGraph.h.

◆ pointer

◆ reference

◆ value_type

Member Function Documentation

◆ operator!=()

bool llvm::sandboxir::SuccIterator::operator!= ( const SuccIterator & Other) const
inline

Definition at line 133 of file DependencyGraph.h.

References llvm::Other.

◆ operator*()

SuccIterator::value_type llvm::sandboxir::SuccIterator::operator* ( )

Definition at line 86 of file DependencyGraph.cpp.

References assert(), llvm::cast(), and llvm::isa().

◆ operator++() [1/2]

SuccIterator & llvm::sandboxir::SuccIterator::operator++ ( )

Definition at line 102 of file DependencyGraph.cpp.

References assert(), llvm::cast(), and llvm::isa().

◆ operator++() [2/2]

SuccIterator llvm::sandboxir::SuccIterator::operator++ ( int )
inline

Definition at line 127 of file DependencyGraph.h.

◆ operator==()

bool llvm::sandboxir::SuccIterator::operator== ( const SuccIterator & Other) const

Definition at line 125 of file DependencyGraph.cpp.

References assert(), and llvm::Other.

◆ DGNode

friend class DGNode
friend

Definition at line 110 of file DependencyGraph.h.

References DGNode.

Referenced by DGNode.

◆ MemDGNode

friend class MemDGNode
friend

Definition at line 111 of file DependencyGraph.h.

References LLVM_ABI, and MemDGNode.

Referenced by MemDGNode.


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