LLVM 22.0.0git
llvm::sampleprof::ProfiledCallGraph Class Reference

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

Public Types

using iterator = ProfiledCallGraphNode::iterator

Public Member Functions

 ProfiledCallGraph (SampleProfileMap &ProfileMap, uint64_t IgnoreColdCallThreshold=0)
 ProfiledCallGraph (SampleContextTracker &ContextTracker, uint64_t IgnoreColdCallThreshold=0)
iterator begin ()
iterator end ()
ProfiledCallGraphNodegetEntryNode ()
void addProfiledFunction (FunctionId Name)

Detailed Description

Definition at line 61 of file ProfiledCallGraph.h.

Member Typedef Documentation

◆ iterator

Constructor & Destructor Documentation

◆ ProfiledCallGraph() [1/2]

llvm::sampleprof::ProfiledCallGraph::ProfiledCallGraph ( SampleProfileMap & ProfileMap,
uint64_t IgnoreColdCallThreshold = 0 )
inline

Definition at line 66 of file ProfiledCallGraph.h.

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

◆ ProfiledCallGraph() [2/2]

Member Function Documentation

◆ addProfiledFunction()

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

Definition at line 137 of file ProfiledCallGraph.h.

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: