LLVM 22.0.0git
llvm::GraphTraits< ValueInfo > Struct Reference

GraphTraits definition to build SCC for the index. More...

#include "llvm/IR/ModuleSummaryIndex.h"

Inheritance diagram for llvm::GraphTraits< ValueInfo >:
[legend]

Public Types

typedef ValueInfo NodeRef
using EdgeRef = FunctionSummary::EdgeTy &
using ChildIteratorType
using ChildEdgeIteratorType

Static Public Member Functions

static NodeRef valueInfoFromEdge (FunctionSummary::EdgeTy &P)
static NodeRef getEntryNode (ValueInfo V)
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)
static NodeRef edge_dest (EdgeRef E)

Detailed Description

GraphTraits definition to build SCC for the index.

Definition at line 1975 of file ModuleSummaryIndex.h.

Member Typedef Documentation

◆ ChildEdgeIteratorType

using llvm::GraphTraits< ValueInfo >::ChildEdgeIteratorType

◆ ChildIteratorType

using llvm::GraphTraits< ValueInfo >::ChildIteratorType
Initial value:

Definition at line 1982 of file ModuleSummaryIndex.h.

◆ EdgeRef

Definition at line 1977 of file ModuleSummaryIndex.h.

◆ NodeRef

typedef ValueInfo llvm::GraphTraits< ValueInfo >::NodeRef

Definition at line 1976 of file ModuleSummaryIndex.h.

Member Function Documentation

◆ child_begin()

◆ child_edge_begin()

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

Definition at line 2011 of file ModuleSummaryIndex.h.

References llvm::cast(), llvm::FunctionSummary::ExternalNode, F, and N.

◆ child_edge_end()

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

Definition at line 2020 of file ModuleSummaryIndex.h.

References llvm::cast(), llvm::FunctionSummary::ExternalNode, F, and N.

◆ child_end()

◆ edge_dest()

NodeRef llvm::GraphTraits< ValueInfo >::edge_dest ( EdgeRef E)
inlinestatic

Definition at line 2029 of file ModuleSummaryIndex.h.

References E().

◆ getEntryNode()

NodeRef llvm::GraphTraits< ValueInfo >::getEntryNode ( ValueInfo V)
inlinestatic

Definition at line 1989 of file ModuleSummaryIndex.h.

◆ valueInfoFromEdge()

NodeRef llvm::GraphTraits< ValueInfo >::valueInfoFromEdge ( FunctionSummary::EdgeTy & P)
inlinestatic

Definition at line 1979 of file ModuleSummaryIndex.h.

References P.

Referenced by child_begin(), and child_end().


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