LLVM  16.0.0git
Public Types | Public Member Functions | List of all members
llvm::sampleprof::ProfiledCallGraph Class Reference

#include "llvm/Transforms/IPO/ProfiledCallGraph.h"

Public Types

using iterator = ProfiledCallGraphNode::iterator
 

Public Member Functions

 ProfiledCallGraph (SampleProfileMap &ProfileMap)
 
 ProfiledCallGraph (SampleContextTracker &ContextTracker)
 
iterator begin ()
 
iterator end ()
 
ProfiledCallGraphNodegetEntryNode ()
 
void addProfiledFunction (StringRef Name)
 

Detailed Description

Definition at line 62 of file ProfiledCallGraph.h.

Member Typedef Documentation

◆ iterator

Definition at line 64 of file ProfiledCallGraph.h.

Constructor & Destructor Documentation

◆ ProfiledCallGraph() [1/2]

llvm::sampleprof::ProfiledCallGraph::ProfiledCallGraph ( SampleProfileMap ProfileMap)
inline

Definition at line 67 of file ProfiledCallGraph.h.

References assert(), and llvm::sampleprof::FunctionSamples::ProfileIsCS.

◆ ProfiledCallGraph() [2/2]

llvm::sampleprof::ProfiledCallGraph::ProfiledCallGraph ( SampleContextTracker ContextTracker)
inline

Member Function Documentation

◆ addProfiledFunction()

void llvm::sampleprof::ProfiledCallGraph::addProfiledFunction ( StringRef  Name)
inline

Definition at line 129 of file ProfiledCallGraph.h.

References llvm::sampleprof::ProfiledCallGraphNode::Edges.

Referenced by ProfiledCallGraph().

◆ begin()

iterator llvm::sampleprof::ProfiledCallGraph::begin ( )
inline

◆ end()

iterator llvm::sampleprof::ProfiledCallGraph::end ( )
inline

◆ getEntryNode()

ProfiledCallGraphNode* llvm::sampleprof::ProfiledCallGraph::getEntryNode ( )
inline

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