LLVM 20.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 352 of file GenericCycleInfo.h.

Member Typedef Documentation

◆ ChildIteratorType

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

Definition at line 356 of file GenericCycleInfo.h.

◆ NodeRef

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

Definition at line 353 of file GenericCycleInfo.h.

◆ nodes_iterator

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

Definition at line 355 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 360 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 363 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 358 of file GenericCycleInfo.h.


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