LLVM 19.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::CycleGraphTraits< CycleRefT, ChildIteratorT > Struct Template Reference

GraphTraits for iterating over a sub-tree of the CycleT tree. More...

#include "llvm/ADT/GenericCycleInfo.h"

Inheritance diagram for llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >:
Inheritance graph
[legend]

Public Types

using NodeRef = CycleRefT
 
using nodes_iterator = ChildIteratorT
 
using ChildIteratorType = nodes_iterator
 

Static Public Member Functions

static NodeRef getEntryNode (NodeRef Graph)
 
static ChildIteratorType child_begin (NodeRef Ref)
 
static ChildIteratorType child_end (NodeRef Ref)
 

Detailed Description

template<typename CycleRefT, typename ChildIteratorT>
struct llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >

GraphTraits for iterating over a sub-tree of the CycleT tree.

Definition at line 317 of file GenericCycleInfo.h.

Member Typedef Documentation

◆ ChildIteratorType

template<typename CycleRefT , typename ChildIteratorT >
using llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >::ChildIteratorType = nodes_iterator

Definition at line 321 of file GenericCycleInfo.h.

◆ NodeRef

template<typename CycleRefT , typename ChildIteratorT >
using llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >::NodeRef = CycleRefT

Definition at line 318 of file GenericCycleInfo.h.

◆ nodes_iterator

template<typename CycleRefT , typename ChildIteratorT >
using llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >::nodes_iterator = ChildIteratorT

Definition at line 320 of file GenericCycleInfo.h.

Member Function Documentation

◆ child_begin()

template<typename CycleRefT , typename ChildIteratorT >
static ChildIteratorType llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >::child_begin ( NodeRef  Ref)
inlinestatic

Definition at line 325 of file GenericCycleInfo.h.

References llvm::Ref.

◆ child_end()

template<typename CycleRefT , typename ChildIteratorT >
static ChildIteratorType llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >::child_end ( NodeRef  Ref)
inlinestatic

Definition at line 328 of file GenericCycleInfo.h.

References llvm::Ref.

◆ getEntryNode()

template<typename CycleRefT , typename ChildIteratorT >
static NodeRef llvm::CycleGraphTraits< CycleRefT, ChildIteratorT >::getEntryNode ( NodeRef  Graph)
inlinestatic

Definition at line 323 of file GenericCycleInfo.h.


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