LLVM 22.0.0git
llvm::sandboxir::PredIterator 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 PredIteratoroperator++ ()
PredIterator operator++ (int)
LLVM_ABI bool operator== (const PredIterator &Other) const
bool operator!= (const PredIterator &Other) const

Friends

class DGNode
class MemDGNode

Detailed Description

Iterate over both def-use and mem dependencies.

Definition at line 53 of file DependencyGraph.h.

Member Typedef Documentation

◆ difference_type

Definition at line 77 of file DependencyGraph.h.

◆ iterator_category

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

Definition at line 81 of file DependencyGraph.h.

◆ pointer

◆ reference

◆ value_type

Member Function Documentation

◆ operator!=()

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

Definition at line 90 of file DependencyGraph.h.

References llvm::Other.

◆ operator*()

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

Definition at line 29 of file DependencyGraph.cpp.

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

◆ operator++() [1/2]

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

Definition at line 45 of file DependencyGraph.cpp.

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

◆ operator++() [2/2]

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

Definition at line 84 of file DependencyGraph.h.

◆ operator==()

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

Definition at line 68 of file DependencyGraph.cpp.

References assert(), and llvm::Other.

◆ DGNode

friend class DGNode
friend

Definition at line 67 of file DependencyGraph.h.

References DGNode.

Referenced by DGNode.

◆ MemDGNode

friend class MemDGNode
friend

Definition at line 68 of file DependencyGraph.h.

References LLVM_ABI, and MemDGNode.

Referenced by MemDGNode.


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