|
LLVM 24.0.0git
|
Iteration over child cycles, yielding handles. More...
#include "llvm/ADT/GenericCycleInfo.h"
Public Member Functions | |
| const_child_iterator ()=default | |
| const_child_iterator (const GenericCycleInfo &CI, unsigned Index) | |
| CycleRef | operator* () const |
| const_child_iterator & | operator++ () |
| bool | operator== (const const_child_iterator &Other) const |
| Public Member Functions inherited from llvm::iterator_facade_base< const_child_iterator, std::forward_iterator_tag, CycleRef, std::ptrdiff_t, CycleRef, CycleRef > | |
| const_child_iterator | operator+ (std::ptrdiff_t n) const |
| const_child_iterator | operator- (std::ptrdiff_t n) const |
| const_child_iterator & | operator++ () |
| const_child_iterator & | operator-- () |
| bool | operator!= (const const_child_iterator &RHS) const |
| bool | operator> (const const_child_iterator &RHS) const |
| bool | operator<= (const const_child_iterator &RHS) const |
| bool | operator>= (const const_child_iterator &RHS) const |
| PointerProxy | operator-> () const |
| ReferenceProxy | operator[] (std::ptrdiff_t n) const |
Public Attributes | |
| const GenericCycleInfo * | CI = nullptr |
| unsigned | Index = 0 |
Additional Inherited Members | |
| Public Types inherited from llvm::iterator_facade_base< const_child_iterator, std::forward_iterator_tag, CycleRef, std::ptrdiff_t, CycleRef, CycleRef > | |
| enum | |
| using | iterator_category |
| using | value_type |
| using | difference_type |
| using | pointer |
| using | reference |
Iteration over child cycles, yielding handles.
The first child (if any) immediately follows this cycle in the preorder array, and each next sibling follows the previous child's subtree.
Definition at line 169 of file GenericCycleInfo.h.
|
default |
Referenced by operator++(), and operator==().
|
inline |
Definition at line 176 of file GenericCycleInfo.h.
References CI, llvm::GenericCycleInfo< ContextT >::GenericCycleInfo(), and Index.
|
inline |
Definition at line 179 of file GenericCycleInfo.h.
References Index.
|
inline |
Definition at line 180 of file GenericCycleInfo.h.
References CI, const_child_iterator(), and Index.
|
inline |
Definition at line 184 of file GenericCycleInfo.h.
References const_child_iterator(), Index, and llvm::Other.
| const GenericCycleInfo* llvm::GenericCycleInfo< ContextT >::const_child_iterator::CI = nullptr |
Definition at line 172 of file GenericCycleInfo.h.
Referenced by const_child_iterator(), and operator++().
| unsigned llvm::GenericCycleInfo< ContextT >::const_child_iterator::Index = 0 |
Definition at line 173 of file GenericCycleInfo.h.
Referenced by const_child_iterator(), operator*(), operator++(), and operator==().