LLVM 24.0.0git
llvm::CallGraphDOTInfo Class Reference

Public Member Functions

 CallGraphDOTInfo (Module *M, CallGraph *CG, function_ref< BlockFrequencyInfo *(Function &)> LookupBFI)
const AnalysisOptions & getOpts () const
Module * getModule () const
CallGraph * getCallGraph () const
uint64_t getFreq (const Function *F)
uint64_t getMaxFreq ()

Public Attributes

std::function< BlockFrequencyInfo *(Function &)> LookupBFI

Detailed Description

Definition at line 36 of file CallPrinter.cpp.

Constructor & Destructor Documentation

◆ CallGraphDOTInfo()

llvm::CallGraphDOTInfo::CallGraphDOTInfo ( Module * M,
CallGraph * CG,
function_ref< BlockFrequencyInfo *(Function &)> LookupBFI )
inline

Definition at line 47 of file CallPrinter.cpp.

References F, llvm::getAnalysisOptions(), if(), and LookupBFI.

Member Function Documentation

◆ getCallGraph()

◆ getFreq()

uint64_t llvm::CallGraphDOTInfo::getFreq ( const Function * F)
inline

Definition at line 74 of file CallPrinter.cpp.

References F.

Referenced by llvm::DOTGraphTraits< CallGraphDOTInfo * >::getNodeAttributes().

◆ getMaxFreq()

◆ getModule()

Module * llvm::CallGraphDOTInfo::getModule ( ) const
inline

◆ getOpts()

Member Data Documentation

◆ LookupBFI

std::function<BlockFrequencyInfo *(Function &)> llvm::CallGraphDOTInfo::LookupBFI

Definition at line 45 of file CallPrinter.cpp.

Referenced by CallGraphDOTInfo().


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