clang 23.0.0git
llvm::GraphTraits< CGNode * > Struct Reference

Non-const versions of the GraphTraits specializations for CompilationGraph. More...

Inheritance diagram for llvm::GraphTraits< CGNode * >:
[legend]

Public Types

using NodeRef = CGNode *
using ChildIteratorType
using ChildEdgeIteratorType = CGNode::iterator

Static Public Member Functions

static NodeRef CGGetTargetNode (CGEdge *E)
static NodeRef getEntryNode (NodeRef N)
static ChildIteratorType child_begin (NodeRef N)
static ChildIteratorType child_end (NodeRef N)
static ChildEdgeIteratorType child_edge_begin (NodeRef N)
static ChildEdgeIteratorType child_edge_end (NodeRef N)

Detailed Description

Non-const versions of the GraphTraits specializations for CompilationGraph.

Definition at line 962 of file ModulesDriver.cpp.

Member Typedef Documentation

◆ ChildEdgeIteratorType

using llvm::GraphTraits< CGNode * >::ChildEdgeIteratorType = CGNode::iterator

Definition at line 969 of file ModulesDriver.cpp.

◆ ChildIteratorType

using llvm::GraphTraits< CGNode * >::ChildIteratorType
Initial value:
mapped_iterator<CGNode::iterator, decltype(&CGGetTargetNode)>
static NodeRef CGGetTargetNode(CGEdge *E)

Definition at line 967 of file ModulesDriver.cpp.

◆ NodeRef

using llvm::GraphTraits< CGNode * >::NodeRef = CGNode *

Definition at line 963 of file ModulesDriver.cpp.

Member Function Documentation

◆ CGGetTargetNode()

NodeRef llvm::GraphTraits< CGNode * >::CGGetTargetNode ( CGEdge * E)
inlinestatic

Definition at line 965 of file ModulesDriver.cpp.

Referenced by child_begin(), and child_end().

◆ child_begin()

ChildIteratorType llvm::GraphTraits< CGNode * >::child_begin ( NodeRef N)
inlinestatic

Definition at line 973 of file ModulesDriver.cpp.

References CGGetTargetNode().

◆ child_edge_begin()

ChildEdgeIteratorType llvm::GraphTraits< CGNode * >::child_edge_begin ( NodeRef N)
inlinestatic

Definition at line 981 of file ModulesDriver.cpp.

◆ child_edge_end()

ChildEdgeIteratorType llvm::GraphTraits< CGNode * >::child_edge_end ( NodeRef N)
inlinestatic

Definition at line 984 of file ModulesDriver.cpp.

◆ child_end()

ChildIteratorType llvm::GraphTraits< CGNode * >::child_end ( NodeRef N)
inlinestatic

Definition at line 977 of file ModulesDriver.cpp.

References CGGetTargetNode().

◆ getEntryNode()

NodeRef llvm::GraphTraits< CGNode * >::getEntryNode ( NodeRef N)
inlinestatic

Definition at line 971 of file ModulesDriver.cpp.


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