LLVM 22.0.0git
MachineBlockFrequencyInfo.cpp File Reference

Go to the source code of this file.

Classes

struct  llvm::GraphTraits< MachineBlockFrequencyInfo * >
struct  llvm::DOTGraphTraits< MachineBlockFrequencyInfo * >

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Macros

#define DEBUG_TYPE   "machine-block-freq"

Typedefs

using llvm::MBFIDOTGraphTraitsBase

Functions

static GVDAGType getGVDT ()
 INITIALIZE_PASS_BEGIN (MachineBlockFrequencyInfoWrapperPass, DEBUG_TYPE, "Machine Block Frequency Analysis", true, true) INITIALIZE_PASS_END(MachineBlockFrequencyInfoWrapperPass

Variables

static cl::opt< GVDAGTypellvm::ViewMachineBlockFreqPropagationDAG ("view-machine-block-freq-propagation-dags", cl::Hidden, cl::desc("Pop up a window to show a dag displaying how machine block " "frequencies propagate through the CFG."), cl::values(clEnumValN(GVDT_None, "none", "do not display graphs."), clEnumValN(GVDT_Fraction, "fraction", "display a graph using the " "fractional block frequency representation."), clEnumValN(GVDT_Integer, "integer", "display a graph using the raw " "integer fractional block frequency representation."), clEnumValN(GVDT_Count, "count", "display a graph using the real " "profile count if available.")))
cl::opt< GVDAGTypellvm::ViewBlockLayoutWithBFI ("view-block-layout-with-bfi", cl::Hidden, cl::desc("Pop up a window to show a dag displaying MBP layout and associated " "block frequencies of the CFG."), cl::values(clEnumValN(GVDT_None, "none", "do not display graphs."), clEnumValN(GVDT_Fraction, "fraction", "display a graph using the " "fractional block frequency representation."), clEnumValN(GVDT_Integer, "integer", "display a graph using the raw " "integer fractional block frequency representation."), clEnumValN(GVDT_Count, "count", "display a graph using the real " "profile count if available.")))
static cl::opt< boolllvm::PrintMachineBlockFreq ("print-machine-bfi", cl::init(false), cl::Hidden, cl::desc("Print the machine block frequency info."))
 DEBUG_TYPE
Machine Block Frequency Analysis
Machine Block Frequency true

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-block-freq"

Definition at line 30 of file MachineBlockFrequencyInfo.cpp.

Function Documentation

◆ getGVDT()

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( MachineBlockFrequencyInfoWrapperPass ,
DEBUG_TYPE ,
"Machine Block Frequency Analysis" ,
true ,
true  )

Variable Documentation

◆ Analysis

Machine Block Frequency Analysis

Definition at line 189 of file MachineBlockFrequencyInfo.cpp.

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 188 of file MachineBlockFrequencyInfo.cpp.

◆ true

Machine Block Frequency true

Definition at line 189 of file MachineBlockFrequencyInfo.cpp.