llvm::GraphTraits<ValueInfo>

GraphTraits specialization so ValueInfo can be used as a call-graph node.

Synopsis

Declared in <llvm/IR/ModuleSummaryIndex.h>

template<>
struct GraphTraits<ValueInfo>;

Type Aliases

NameDescription
ChildEdgeIteratorType Iterator over the raw call-graph edges of a function summary.
ChildIteratorType Iterator over child ValueInfo nodes reached by call-graph edges.
EdgeRef Reference to a call-graph edge (callee ValueInfo plus CalleeInfo).
NodeRef Graph node type for a value in the module summary index.

Static Member Functions

NameDescription
child_begin Return an iterator to the first callee of N.
child_edge_begin Return an iterator to the first call-graph edge of N.
child_edge_end Return an iterator past the last call-graph edge of N.
child_end Return an iterator past the last callee of N.
edge_dest Return the destination ValueInfo of call-graph edge E.
getEntryNode Return V as the entry node for graph algorithms.
valueInfoFromEdge Return the callee ValueInfo from a call-graph edge.

Derived Classes

NameDescription
GraphTraits<ModuleSummaryIndex*> GraphTraits specialization so ModuleSummaryIndex can be traversed as a graph.