LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 56 of file CallPrinter.cpp.

Constructor & Destructor Documentation

◆ CallGraphDOTInfo()

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

Member Function Documentation

◆ getCallGraph()

CallGraph * llvm::CallGraphDOTInfo::getCallGraph ( ) const
inline

◆ getFreq()

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

Definition at line 91 of file CallPrinter.cpp.

References F.

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

◆ getMaxFreq()

uint64_t llvm::CallGraphDOTInfo::getMaxFreq ( )
inline

◆ getModule()

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

Member Data Documentation

◆ LookupBFI

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

Definition at line 64 of file CallPrinter.cpp.


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