LLVM 19.0.0git
Public Types | Static Public Member Functions | List of all members
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 >:
Inheritance graph
[legend]

Public Types

typedef ValueInfo NodeRef
 
using EdgeRef = FunctionSummary::EdgeTy &
 
using ChildIteratorType = mapped_iterator< std::vector< FunctionSummary::EdgeTy >::iterator, decltype(&valueInfoFromEdge)>
 
using ChildEdgeIteratorType = std::vector< FunctionSummary::EdgeTy >::iterator
 

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 1852 of file ModuleSummaryIndex.h.

Member Typedef Documentation

◆ ChildEdgeIteratorType

using llvm::GraphTraits< ValueInfo >::ChildEdgeIteratorType = std::vector<FunctionSummary::EdgeTy>::iterator

Definition at line 1863 of file ModuleSummaryIndex.h.

◆ ChildIteratorType

using llvm::GraphTraits< ValueInfo >::ChildIteratorType = mapped_iterator<std::vector<FunctionSummary::EdgeTy>::iterator, decltype(&valueInfoFromEdge)>

Definition at line 1859 of file ModuleSummaryIndex.h.

◆ EdgeRef

Definition at line 1854 of file ModuleSummaryIndex.h.

◆ NodeRef

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

Definition at line 1853 of file ModuleSummaryIndex.h.

Member Function Documentation

◆ child_begin()

static ChildIteratorType llvm::GraphTraits< ValueInfo >::child_begin ( NodeRef  N)
inlinestatic

Definition at line 1867 of file ModuleSummaryIndex.h.

References llvm::FunctionSummary::ExternalNode, F, and N.

◆ child_edge_begin()

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

Definition at line 1887 of file ModuleSummaryIndex.h.

References llvm::FunctionSummary::ExternalNode, F, and N.

◆ child_edge_end()

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

Definition at line 1896 of file ModuleSummaryIndex.h.

References llvm::FunctionSummary::ExternalNode, F, and N.

◆ child_end()

static ChildIteratorType llvm::GraphTraits< ValueInfo >::child_end ( NodeRef  N)
inlinestatic

Definition at line 1877 of file ModuleSummaryIndex.h.

References llvm::FunctionSummary::ExternalNode, F, and N.

◆ edge_dest()

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

Definition at line 1905 of file ModuleSummaryIndex.h.

References E.

◆ getEntryNode()

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

Definition at line 1865 of file ModuleSummaryIndex.h.

◆ valueInfoFromEdge()

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

Definition at line 1856 of file ModuleSummaryIndex.h.

References P.


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