LLVM  10.0.0svn
Functions | Variables
SummaryBasedOptimizations.cpp File Reference
#include "llvm/LTO/SummaryBasedOptimizations.h"
#include "llvm/Analysis/SyntheticCountsUtils.h"
#include "llvm/IR/ModuleSummaryIndex.h"
Include dependency graph for SummaryBasedOptimizations.cpp:

Go to the source code of this file.

Functions

static void initializeCounts (ModuleSummaryIndex &Index)
 

Variables

cl::opt< boolThinLTOSynthesizeEntryCounts ("thinlto-synthesize-entry-counts", cl::init(false), cl::Hidden, cl::desc("Synthesize entry counts based on the summary"))
 
cl::opt< int > InitialSyntheticCount
 Initial synthetic count assigned to functions. More...
 

Function Documentation

◆ initializeCounts()

static void initializeCounts ( ModuleSummaryIndex Index)
static

Variable Documentation

◆ InitialSyntheticCount

cl::opt<int> InitialSyntheticCount

Initial synthetic count assigned to functions.

Referenced by initializeCounts().

◆ ThinLTOSynthesizeEntryCounts

cl::opt<bool> ThinLTOSynthesizeEntryCounts("thinlto-synthesize-entry-counts", cl::init(false), cl::Hidden, cl::desc("Synthesize entry counts based on the summary"))