LLVM  14.0.0git
Namespaces | Functions | Variables
SummaryBasedOptimizations.cpp File Reference
#include "llvm/LTO/SummaryBasedOptimizations.h"
#include "llvm/Analysis/SyntheticCountsUtils.h"
#include "llvm/IR/ModuleSummaryIndex.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for SummaryBasedOptimizations.cpp:

Go to the source code of this file.

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 

Functions

static void initializeCounts (ModuleSummaryIndex &Index)
 

Variables

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

Function Documentation

◆ initializeCounts()

static void initializeCounts ( ModuleSummaryIndex Index)
static

Definition at line 30 of file SummaryBasedOptimizations.cpp.

References F, Index, llvm::InitialSyntheticCount, and S.

Referenced by llvm::computeSyntheticCounts().

Variable Documentation

◆ ThinLTOSynthesizeEntryCounts

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