LLVM  15.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 307 of file GenericCycleInfo.h.

Member Typedef Documentation

◆ ChildIteratorType

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

Definition at line 311 of file GenericCycleInfo.h.

◆ NodeRef

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

Definition at line 308 of file GenericCycleInfo.h.

◆ nodes_iterator

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

Definition at line 310 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 315 of file GenericCycleInfo.h.

◆ child_end()

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

Definition at line 318 of file GenericCycleInfo.h.

◆ getEntryNode()

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

Definition at line 313 of file GenericCycleInfo.h.


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