LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst > Class Template Reference

#include "llvm/Analysis/RegionInfo.h"

Inheritance diagram for llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >:
Inheritance graph
[legend]

Public Types

using Self = block_iterator_wrapper< IsConst >
 
using value_type = typename super::value_type
 
- Public Types inherited from llvm::df_iterator< std::conditional_t< IsConst, const BlockT, BlockT > * >
using iterator_category = std::conditional_t< false, std::input_iterator_tag, std::forward_iterator_tag >
 
using value_type = typename GT::NodeRef
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = const value_type &
 

Public Member Functions

 block_iterator_wrapper (value_type Entry, value_type Exit)
 
 block_iterator_wrapper ()
 
 block_iterator_wrapper (super I)
 
BlockT * operator* () const
 
- Public Member Functions inherited from llvm::df_iterator< std::conditional_t< IsConst, const BlockT, BlockT > * >
bool operator== (const df_iterator &x) const
 
bool operator!= (const df_iterator &x) const
 
reference operator* () const
 
NodeRef operator-> () const
 
df_iteratoroperator++ ()
 
df_iterator operator++ (int)
 
df_iteratorskipChildren ()
 Skips all children of the current node and traverses to next node.
 
bool nodeVisited (NodeRef Node) const
 
unsigned getPathLength () const
 getPathLength - Return the length of the path from the entry node to the current node, counting both nodes.
 
NodeRef getPath (unsigned n) const
 getPath - Return the n'th node in the path from the entry node to the current node.
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::df_iterator< std::conditional_t< IsConst, const BlockT, BlockT > * >
static df_iterator begin (const std::conditional_t< IsConst, const BlockT, BlockT > * &G)
 
static df_iterator begin (const std::conditional_t< IsConst, const BlockT, BlockT > * &G, df_iterator_default_set< typename GraphTraits< std::conditional_t< IsConst, const BlockT, BlockT > * >::NodeRef > &S)
 
static df_iterator end (const std::conditional_t< IsConst, const BlockT, BlockT > * &G)
 
static df_iterator end (const std::conditional_t< IsConst, const BlockT, BlockT > * &G, df_iterator_default_set< typename GraphTraits< std::conditional_t< IsConst, const BlockT, BlockT > * >::NodeRef > &S)
 
- Public Attributes inherited from llvm::df_iterator_storage< SetType, External >
SetType Visited
 

Detailed Description

template<class Tr>
template<bool IsConst>
class llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >

Definition at line 572 of file RegionInfo.h.

Member Typedef Documentation

◆ Self

template<class Tr >
template<bool IsConst>
using llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >::Self = block_iterator_wrapper<IsConst>

Definition at line 579 of file RegionInfo.h.

◆ value_type

template<class Tr >
template<bool IsConst>
using llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >::value_type = typename super::value_type

Definition at line 580 of file RegionInfo.h.

Constructor & Destructor Documentation

◆ block_iterator_wrapper() [1/3]

template<class Tr >
template<bool IsConst>
llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >::block_iterator_wrapper ( value_type  Entry,
value_type  Exit 
)
inline

◆ block_iterator_wrapper() [2/3]

template<class Tr >
template<bool IsConst>
llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >::block_iterator_wrapper ( )
inline

Definition at line 592 of file RegionInfo.h.

◆ block_iterator_wrapper() [3/3]

template<class Tr >
template<bool IsConst>
llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >::block_iterator_wrapper ( super  I)
inline

Definition at line 594 of file RegionInfo.h.

Member Function Documentation

◆ operator*()

template<class Tr >
template<bool IsConst>
BlockT * llvm::RegionBase< Tr >::block_iterator_wrapper< IsConst >::operator* ( ) const
inline

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