LLVM 20.0.0git
|
A class for ranging over the incoming edges incident to a vertex. More...
#include "llvm/XRay/Graph.h"
Public Types | |
using | iterator = NeighborEdgeIteratorT< isConst, isOut > |
using | const_iterator = NeighborEdgeIteratorT< true, isOut > |
using | GraphT = std::conditional_t< isConst, const Graph, Graph > |
using | InternalEdgeMapT = std::conditional_t< isConst, const EdgeMapT, EdgeMapT > |
Public Member Functions | |
iterator | begin () |
const_iterator | cbegin () const |
const_iterator | begin () const |
iterator | end () |
const_iterator | cend () const |
const_iterator | end () const |
size_type | size () const |
bool | empty () const |
InOutEdgeView (GraphT &G, VertexIdentifier A) | |
A class for ranging over the incoming edges incident to a vertex.
Like all views in this class it provides methods to get the beginning and past the range iterators for the range, as well as methods to determine the number of elements in the range and whether the range is empty.
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::const_iterator = NeighborEdgeIteratorT<true, isOut> |
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::GraphT = std::conditional_t<isConst, const Graph, Graph> |
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::InternalEdgeMapT = std::conditional_t<isConst, const EdgeMapT, EdgeMapT> |
using llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::iterator = NeighborEdgeIteratorT<isConst, isOut> |
|
inline |
|
inline |
Definition at line 212 of file Graph.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().
|
inline |
Definition at line 226 of file Graph.h.
References llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cbegin().
|
inline |
Definition at line 219 of file Graph.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().
Referenced by llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::begin().
|
inline |
Definition at line 234 of file Graph.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().
Referenced by llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::end().
|
inline |
Definition at line 251 of file Graph.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::count().
|
inline |
Definition at line 228 of file Graph.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().
|
inline |
Definition at line 241 of file Graph.h.
References llvm::xray::Graph< VertexAttribute, EdgeAttribute, VI >::InOutEdgeView< isConst, isOut >::cend().
|
inline |
Definition at line 243 of file Graph.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), and I.