LLVM 22.0.0git
llvm::CallGraphDOTInfo Class Reference

Public Member Functions

 CallGraphDOTInfo (Module *M, CallGraph *CG, function_ref< BlockFrequencyInfo *(Function &)> LookupBFI)
ModulegetModule () const
CallGraphgetCallGraph () const
uint64_t getFreq (const Function *F)
uint64_t getMaxFreq ()

Public Attributes

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

Detailed Description

Definition at line 55 of file CallPrinter.cpp.

Constructor & Destructor Documentation

◆ CallGraphDOTInfo()

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

Definition at line 65 of file CallPrinter.cpp.

References CallMultiGraph, F, if(), and LookupBFI.

Member Function Documentation

◆ getCallGraph()

◆ getFreq()

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

Definition at line 90 of file CallPrinter.cpp.

References F.

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

◆ getMaxFreq()

◆ getModule()

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

Member Data Documentation

◆ LookupBFI

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

Definition at line 63 of file CallPrinter.cpp.

Referenced by CallGraphDOTInfo().


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