LLVM 18.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 (StringRef Name) |
Definition at line 62 of file ProfiledCallGraph.h.
Definition at line 64 of file ProfiledCallGraph.h.
|
inline |
Definition at line 67 of file ProfiledCallGraph.h.
References assert(), and llvm::sampleprof::FunctionSamples::ProfileIsCS.
|
inline |
Definition at line 81 of file ProfiledCallGraph.h.
References addProfiledFunction(), llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), llvm::sampleprof::FunctionSamples::findCallTargetMapAt(), llvm::ContextTrieNode::getAllChildContext(), llvm::SampleContextTracker::getFuncNameFor(), llvm::sampleprof::FunctionSamples::getHeadSamplesEstimate(), llvm::sampleprof::FunctionSamples::getName(), and llvm::SampleContextTracker::getRootContext().
|
inline |
Definition at line 140 of file ProfiledCallGraph.h.
References llvm::sampleprof::ProfiledCallGraphNode::Edges, and Name.
Referenced by ProfiledCallGraph().
|
inline |
Definition at line 136 of file ProfiledCallGraph.h.
References llvm::sampleprof::ProfiledCallGraphNode::Edges.
Referenced by llvm::GraphTraits< ProfiledCallGraph * >::nodes_begin().
|
inline |
Definition at line 137 of file ProfiledCallGraph.h.
References llvm::sampleprof::ProfiledCallGraphNode::Edges.
Referenced by llvm::GraphTraits< ProfiledCallGraph * >::nodes_end().
|
inline |
Definition at line 138 of file ProfiledCallGraph.h.
Referenced by llvm::GraphTraits< ProfiledCallGraph * >::getEntryNode().