LLVM 20.0.0git
|
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 | |
value_type | operator* () |
PredIterator & | operator++ () |
PredIterator | operator++ (int) |
bool | operator== (const PredIterator &Other) const |
bool | operator!= (const PredIterator &Other) const |
Friends | |
class | DGNode |
class | MemDGNode |
Iterate over both def-use and mem dependencies.
Definition at line 58 of file DependencyGraph.h.
using llvm::sandboxir::PredIterator::difference_type = std::ptrdiff_t |
Definition at line 76 of file DependencyGraph.h.
using llvm::sandboxir::PredIterator::iterator_category = std::input_iterator_tag |
Definition at line 80 of file DependencyGraph.h.
Definition at line 78 of file DependencyGraph.h.
Definition at line 79 of file DependencyGraph.h.
Definition at line 77 of file DependencyGraph.h.
|
inline |
Definition at line 89 of file DependencyGraph.h.
References llvm::Other.
PredIterator::value_type llvm::sandboxir::PredIterator::operator* | ( | ) |
Definition at line 17 of file DependencyGraph.cpp.
References assert(), and llvm::sandboxir::DependencyGraph::getNode().
PredIterator & llvm::sandboxir::PredIterator::operator++ | ( | ) |
Definition at line 33 of file DependencyGraph.cpp.
References assert(), and llvm::sandboxir::skipNonInstr().
|
inline |
Definition at line 83 of file DependencyGraph.h.
bool llvm::sandboxir::PredIterator::operator== | ( | const PredIterator & | Other | ) | const |
Definition at line 56 of file DependencyGraph.cpp.
References assert(), and llvm::Other.
|
friend |
Definition at line 72 of file DependencyGraph.h.
|
friend |
Definition at line 73 of file DependencyGraph.h.