Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
ProfileSummaryInfo.cpp File Reference

Go to the source code of this file.

Functions

LLVM_ABI cl::opt< boolScalePartialSampleProfileWorkingSetSize ("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."))
 INITIALIZE_PASS (ProfileSummaryInfoWrapperPass, "profile-summary-info", "Profile summary info", false, true) ProfileSummaryInfoWrapperPass

Variables

static cl::opt< boolPartialProfile ("partial-profile", cl::Hidden, cl::init(false), cl::desc("Specify the current profile is used as a partial profile."))
static 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."))

Function Documentation

◆ INITIALIZE_PASS()

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

Definition at line 237 of file ProfileSummaryInfo.cpp.

◆ ScalePartialSampleProfileWorkingSetSize()

LLVM_ABI 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.")  )

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.")) ( "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.")) ( "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