LLVM  5.0.0
Classes | Namespaces | Macros | Typedefs | Functions | Variables
MachineBlockFrequencyInfo.cpp File Reference
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/Analysis/BlockFrequencyInfoImpl.h"
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/GraphWriter.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for MachineBlockFrequencyInfo.cpp:

Go to the source code of this file.

Classes

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

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

#define DEBUG_TYPE   "machine-block-freq"
 

Typedefs

typedef BFIDOTGraphTraitsBase
< MachineBlockFrequencyInfo,
MachineBranchProbabilityInfo > 
llvm::MBFIDOTGraphTraitsBase
 

Functions

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

Variables

static cl::opt< GVDAGType > 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< GVDAGType > 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.")))
 
cl::opt< std::string > ViewBlockFreqFuncName
 
cl::opt< unsigned > ViewHotFreqPercent
 
 DEBUG_TYPE
 
Machine Block Frequency Analysis
 
Machine Block Frequency true
 

Macro Definition Documentation

#define DEBUG_TYPE   "machine-block-freq"

Definition at line 29 of file MachineBlockFrequencyInfo.cpp.

Function Documentation

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

Variable Documentation

Machine Block Frequency Analysis

Definition at line 156 of file MachineBlockFrequencyInfo.cpp.

DEBUG_TYPE

Definition at line 156 of file MachineBlockFrequencyInfo.cpp.

Machine Block Frequency true

Definition at line 156 of file MachineBlockFrequencyInfo.cpp.

cl::opt<std::string> ViewBlockFreqFuncName
cl::opt<GVDAGType> 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.")))

Referenced by getGVDT().

cl::opt<unsigned> ViewHotFreqPercent
cl::opt<GVDAGType> 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.")))
static