LLVM  14.0.0git
Functions | Variables
ProfileSummaryInfo.cpp File Reference
#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/InitializePasses.h"
#include "llvm/ProfileData/ProfileCommon.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for ProfileSummaryInfo.cpp:

Go to the source code of this file.

Functions

 INITIALIZE_PASS (ProfileSummaryInfoWrapperPass, "profile-summary-info", "Profile summary info", false, true) ProfileSummaryInfoWrapperPass
 

Variables

cl::opt< intProfileSummaryCutoffHot
 
cl::opt< intProfileSummaryCutoffCold
 
cl::opt< unsigned > ProfileSummaryHugeWorkingSetSizeThreshold
 
cl::opt< unsigned > ProfileSummaryLargeWorkingSetSizeThreshold
 
cl::opt< intProfileSummaryHotCount
 
cl::opt< intProfileSummaryColdCount
 
static cl::opt< bool > PartialProfile ("partial-profile", cl::Hidden, cl::init(false), cl::desc("Specify the current profile is used as a partial profile."))
 
cl::opt< bool > ScalePartialSampleProfileWorkingSetSize ("scale-partial-sample-profile-working-set-size", cl::Hidden, cl::init(true), cl::desc("If true, scale the working set size of the partial sample profile " "by the partial profile ratio to reflect the size of the program " "being compiled."))
 
static cl::opt< doublePartialSampleProfileWorkingSetSizeScaleFactor ("partial-sample-profile-working-set-size-scale-factor", cl::Hidden, cl::init(0.008), cl::desc("The scale factor used to scale the working set size of the " "partial sample profile along with the partial profile ratio. " "This includes the factor of the profile counter per block " "and the factor to scale the working set size to use the same " "shared thresholds as PGO."))
 

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( ProfileSummaryInfoWrapperPass  ,
"profile-summary-info ,
"Profile summary info ,
false  ,
true   
)

Variable Documentation

◆ PartialProfile

cl::opt<bool> PartialProfile("partial-profile", cl::Hidden, cl::init(false), cl::desc("Specify the current profile is used as a partial profile."))
static

◆ PartialSampleProfileWorkingSetSizeScaleFactor

cl::opt<double> PartialSampleProfileWorkingSetSizeScaleFactor("partial-sample-profile-working-set-size-scale-factor", cl::Hidden, cl::init(0.008), cl::desc("The scale factor used to scale the working set size of the " "partial sample profile along with the partial profile ratio. " "This includes the factor of the profile counter per block " "and the factor to scale the working set size to use the same " "shared thresholds as PGO."))
static

◆ ProfileSummaryColdCount

cl::opt<int> ProfileSummaryColdCount

◆ ProfileSummaryCutoffCold

cl::opt<int> ProfileSummaryCutoffCold

◆ ProfileSummaryCutoffHot

cl::opt<int> ProfileSummaryCutoffHot

◆ ProfileSummaryHotCount

cl::opt<int> ProfileSummaryHotCount

◆ ProfileSummaryHugeWorkingSetSizeThreshold

cl::opt<unsigned> ProfileSummaryHugeWorkingSetSizeThreshold

◆ ProfileSummaryLargeWorkingSetSizeThreshold

cl::opt<unsigned> ProfileSummaryLargeWorkingSetSizeThreshold

◆ ScalePartialSampleProfileWorkingSetSize

cl::opt<bool> ScalePartialSampleProfileWorkingSetSize("scale-partial-sample-profile-working-set-size", cl::Hidden, cl::init(true), cl::desc( "If true, scale the working set size of the partial sample profile " "by the partial profile ratio to reflect the size of the program " "being compiled."))