LLVM 20.0.0git
|
#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 () |
ProfiledCallGraphNode * | getEntryNode () |
void | addProfiledFunction (FunctionId Name) |
Definition at line 61 of file ProfiledCallGraph.h.
Definition at line 63 of file ProfiledCallGraph.h.
|
inline |
Definition at line 66 of file ProfiledCallGraph.h.
References assert(), and llvm::sampleprof::FunctionSamples::ProfileIsCS.
|
inline |
Definition at line 80 of file ProfiledCallGraph.h.
References addProfiledFunction(), llvm::sampleprof::FunctionSamples::findCallTargetMapAt(), llvm::ContextTrieNode::getAllChildContext(), llvm::sampleprof::FunctionSamples::getFunction(), llvm::sampleprof::FunctionSamples::getHeadSamplesEstimate(), and llvm::SampleContextTracker::getRootContext().
|
inline |
Definition at line 137 of file ProfiledCallGraph.h.
References llvm::sampleprof::ProfiledCallGraphNode::Edges, and Name.
Referenced by ProfiledCallGraph().
|
inline |
Definition at line 133 of file ProfiledCallGraph.h.
References llvm::sampleprof::ProfiledCallGraphNode::Edges.
Referenced by llvm::GraphTraits< ProfiledCallGraph * >::nodes_begin().
|
inline |
Definition at line 134 of file ProfiledCallGraph.h.
References llvm::sampleprof::ProfiledCallGraphNode::Edges.
Referenced by llvm::GraphTraits< ProfiledCallGraph * >::nodes_end().
|
inline |
Definition at line 135 of file ProfiledCallGraph.h.
Referenced by llvm::GraphTraits< ProfiledCallGraph * >::getEntryNode().