LLVM  4.0.0
Functions | Variables
ProfileSummaryInfo.cpp File Reference
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/ProfileSummary.h"
Include dependency graph for ProfileSummaryInfo.cpp:

Go to the source code of this file.

Functions

static uint64_t getMinCountForPercentile (SummaryEntryVector &DS, uint64_t Percentile)
 
 INITIALIZE_PASS (ProfileSummaryInfoWrapperPass,"profile-summary-info","Profile summary info", false, true) ProfileSummaryInfoWrapperPass
 

Variables

static cl::opt< int > ProfileSummaryCutoffHot ("profile-summary-cutoff-hot", cl::Hidden, cl::init(999000), cl::ZeroOrMore, cl::desc("A count is hot if it exceeds the minimum count to"" reach this percentile of total counts."))
 
static cl::opt< int > ProfileSummaryCutoffCold ("profile-summary-cutoff-cold", cl::Hidden, cl::init(999999), cl::ZeroOrMore, cl::desc("A count is cold if it is below the minimum count"" to reach this percentile of total counts."))
 

Function Documentation

static uint64_t getMinCountForPercentile ( SummaryEntryVector DS,
uint64_t  Percentile 
)
static
INITIALIZE_PASS ( ProfileSummaryInfoWrapperPass  ,
"profile-summary-info ,
"Profile summary info ,
false  ,
true   
)

Variable Documentation

cl::opt<int> ProfileSummaryCutoffCold("profile-summary-cutoff-cold", cl::Hidden, cl::init(999999), cl::ZeroOrMore, cl::desc("A count is cold if it is below the minimum count"" to reach this percentile of total counts."))
static
cl::opt<int> ProfileSummaryCutoffHot("profile-summary-cutoff-hot", cl::Hidden, cl::init(999000), cl::ZeroOrMore, cl::desc("A count is hot if it exceeds the minimum count to"" reach this percentile of total counts."))
static