LLVM API Documentation

Classes | Namespaces | Defines | Enumerations | Functions | Variables
BlockFrequencyInfo.cpp File Reference
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/Analysis/BlockFrequencyInfoImpl.h"
#include "llvm/Analysis/BranchProbabilityInfo.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/IR/CFG.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/GraphWriter.h"
Include dependency graph for BlockFrequencyInfo.cpp:

Go to the source code of this file.

Classes

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

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#define DEBUG_TYPE   "block-freq"

Enumerations

enum  GVDAGType {
  GVDT_None, GVDT_Fraction, GVDT_Integer, GVDT_None,
  GVDT_Fraction, GVDT_Integer
}

Functions

 INITIALIZE_PASS_BEGIN (BlockFrequencyInfo,"block-freq","Block Frequency Analysis", true, true) INITIALIZE_PASS_END(BlockFrequencyInfo

Variables

static cl::opt< GVDAGTypeViewBlockFreqPropagationDAG ("view-block-freq-propagation-dags", cl::Hidden, cl::desc("Pop up a window to show a dag displaying how block ""frequencies propagation 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."), clEnumValEnd))
block freq
block Block Frequency Analysis
block Block Frequency true

Define Documentation

#define DEBUG_TYPE   "block-freq"

Definition at line 27 of file BlockFrequencyInfo.cpp.


Enumeration Type Documentation

enum GVDAGType
Enumerator:
GVDT_None 
GVDT_Fraction 
GVDT_Integer 
GVDT_None 
GVDT_Fraction 
GVDT_Integer 

Definition at line 30 of file BlockFrequencyInfo.cpp.


Function Documentation

INITIALIZE_PASS_BEGIN ( BlockFrequencyInfo  ,
"block-freq ,
"Block Frequency Analysis ,
true  ,
true   
)

Variable Documentation

block Block Frequency Analysis
block freq

Definition at line 112 of file BlockFrequencyInfo.cpp.

Referenced by llvm::SpillPlacement::Node::addBias().

block Block Frequency true

Definition at line 112 of file BlockFrequencyInfo.cpp.

cl::opt<GVDAGType> ViewBlockFreqPropagationDAG("view-block-freq-propagation-dags", cl::Hidden, cl::desc("Pop up a window to show a dag displaying how block ""frequencies propagation 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."),clEnumValEnd)) [static]