LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::CallGraphDOTInfo Class Reference
Collaboration diagram for llvm::CallGraphDOTInfo:
Collaboration graph
[legend]

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 50 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 85 of file CallPrinter.cpp.

References F.

◆ getMaxFreq()

uint64_t llvm::CallGraphDOTInfo::getMaxFreq ( )
inline

Definition at line 87 of file CallPrinter.cpp.

◆ getModule()

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

Definition at line 81 of file CallPrinter.cpp.

References M.

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

Member Data Documentation

◆ LookupBFI

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

Definition at line 58 of file CallPrinter.cpp.


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