class ProfiledCallGraph
Declaration
class ProfiledCallGraph { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:62
Member Variables
- private llvm::sampleprof::ProfiledCallGraphNode Root
- private StringMap<llvm::sampleprof::ProfiledCallGraphNode> ProfiledFunctions
Method Overview
- public ProfiledCallGraph(llvm::sampleprof::SampleProfileMap & ProfileMap)
- public ProfiledCallGraph(llvm::SampleContextTracker & ContextTracker)
- private void addProfiledCall(llvm::StringRef CallerName, llvm::StringRef CalleeName, uint64_t Weight = 0)
- private void addProfiledCalls(const llvm::sampleprof::FunctionSamples & Samples)
- public void addProfiledFunction(llvm::StringRef Name)
- public llvm::sampleprof::ProfiledCallGraph::iterator begin()
- public llvm::sampleprof::ProfiledCallGraph::iterator end()
- public llvm::sampleprof::ProfiledCallGraphNode * getEntryNode()
Methods
¶ProfiledCallGraph(
llvm::sampleprof::SampleProfileMap&
ProfileMap)
ProfiledCallGraph(
llvm::sampleprof::SampleProfileMap&
ProfileMap)
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:67
Parameters
- llvm::sampleprof::SampleProfileMap& ProfileMap
¶ProfiledCallGraph(
llvm::SampleContextTracker& ContextTracker)
ProfiledCallGraph(
llvm::SampleContextTracker& ContextTracker)
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:76
Parameters
- llvm::SampleContextTracker& ContextTracker
¶void addProfiledCall(llvm::StringRef CallerName,
llvm::StringRef CalleeName,
uint64_t Weight = 0)
void addProfiledCall(llvm::StringRef CallerName,
llvm::StringRef CalleeName,
uint64_t Weight = 0)
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:139
Parameters
- llvm::StringRef CallerName
- llvm::StringRef CalleeName
- uint64_t Weight = 0
¶void addProfiledCalls(
const llvm::sampleprof::FunctionSamples&
Samples)
void addProfiledCalls(
const llvm::sampleprof::FunctionSamples&
Samples)
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:158
Parameters
- const llvm::sampleprof::FunctionSamples& Samples
¶void addProfiledFunction(llvm::StringRef Name)
void addProfiledFunction(llvm::StringRef Name)
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:129
Parameters
- llvm::StringRef Name
¶llvm::sampleprof::ProfiledCallGraph::iterator
begin()
llvm::sampleprof::ProfiledCallGraph::iterator
begin()
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:126
¶llvm::sampleprof::ProfiledCallGraph::iterator
end()
llvm::sampleprof::ProfiledCallGraph::iterator
end()
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:127
¶llvm::sampleprof::ProfiledCallGraphNode*
getEntryNode()
llvm::sampleprof::ProfiledCallGraphNode*
getEntryNode()
Declared at: llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h:128