LLVM 19.0.0git
Public Member Functions | List of all members
llvm::DOTFuncInfo Class Reference

#include "llvm/Analysis/CFGPrinter.h"

Public Member Functions

 DOTFuncInfo (const Function *F)
 
 DOTFuncInfo (const Function *F, const BlockFrequencyInfo *BFI, const BranchProbabilityInfo *BPI, uint64_t MaxFreq)
 
const BlockFrequencyInfogetBFI () const
 
const BranchProbabilityInfogetBPI () const
 
const FunctiongetFunction () const
 
uint64_t getMaxFreq () const
 
uint64_t getFreq (const BasicBlock *BB) const
 
void setHeatColors (bool ShowHeat)
 
bool showHeatColors ()
 
void setRawEdgeWeights (bool RawWeights)
 
bool useRawEdgeWeights ()
 
void setEdgeWeights (bool EdgeWeights)
 
bool showEdgeWeights ()
 

Detailed Description

Definition at line 59 of file CFGPrinter.h.

Constructor & Destructor Documentation

◆ DOTFuncInfo() [1/2]

llvm::DOTFuncInfo::DOTFuncInfo ( const Function F)
inline

Definition at line 70 of file CFGPrinter.h.

References F.

◆ DOTFuncInfo() [2/2]

llvm::DOTFuncInfo::DOTFuncInfo ( const Function F,
const BlockFrequencyInfo BFI,
const BranchProbabilityInfo BPI,
uint64_t  MaxFreq 
)
inline

Definition at line 72 of file CFGPrinter.h.

References F.

Member Function Documentation

◆ getBFI()

const BlockFrequencyInfo * llvm::DOTFuncInfo::getBFI ( ) const
inline

Definition at line 80 of file CFGPrinter.h.

◆ getBPI()

const BranchProbabilityInfo * llvm::DOTFuncInfo::getBPI ( ) const
inline

◆ getFreq()

uint64_t llvm::DOTFuncInfo::getFreq ( const BasicBlock BB) const
inline

◆ getFunction()

const Function * llvm::DOTFuncInfo::getFunction ( ) const
inline

◆ getMaxFreq()

uint64_t llvm::DOTFuncInfo::getMaxFreq ( ) const
inline

◆ setEdgeWeights()

void llvm::DOTFuncInfo::setEdgeWeights ( bool  EdgeWeights)
inline

Definition at line 100 of file CFGPrinter.h.

Referenced by viewCFG(), and writeCFGToDotFile().

◆ setHeatColors()

void llvm::DOTFuncInfo::setHeatColors ( bool  ShowHeat)
inline

Definition at line 92 of file CFGPrinter.h.

Referenced by viewCFG(), and writeCFGToDotFile().

◆ setRawEdgeWeights()

void llvm::DOTFuncInfo::setRawEdgeWeights ( bool  RawWeights)
inline

Definition at line 96 of file CFGPrinter.h.

Referenced by viewCFG(), and writeCFGToDotFile().

◆ showEdgeWeights()

bool llvm::DOTFuncInfo::showEdgeWeights ( )
inline

◆ showHeatColors()

bool llvm::DOTFuncInfo::showHeatColors ( )
inline

◆ useRawEdgeWeights()

bool llvm::DOTFuncInfo::useRawEdgeWeights ( )
inline

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