LLVM  12.0.0git
Variables
SizeOpts.cpp File Reference
#include "llvm/Transforms/Utils/SizeOpts.h"
Include dependency graph for SizeOpts.cpp:

Go to the source code of this file.

Variables

cl::opt< boolEnablePGSO ("pgso", cl::Hidden, cl::init(true), cl::desc("Enable the profile guided size optimizations. "))
 
cl::opt< boolPGSOLargeWorkingSetSizeOnly ("pgso-lwss-only", cl::Hidden, cl::init(true), cl::desc("Apply the profile guided size optimizations only " "if the working set size is large (except for cold code.)"))
 
cl::opt< boolPGSOColdCodeOnly ("pgso-cold-code-only", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code."))
 
cl::opt< boolPGSOColdCodeOnlyForInstrPGO ("pgso-cold-code-only-for-instr-pgo", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code under instrumentation PGO."))
 
cl::opt< boolPGSOColdCodeOnlyForSamplePGO ("pgso-cold-code-only-for-sample-pgo", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code under sample PGO."))
 
cl::opt< boolPGSOColdCodeOnlyForPartialSamplePGO ("pgso-cold-code-only-for-partial-sample-pgo", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code under partial-profile sample PGO."))
 
cl::opt< boolPGSOIRPassOrTestOnly ("pgso-ir-pass-or-test-only", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only" "to the IR passes or tests."))
 
cl::opt< boolForcePGSO ("force-pgso", cl::Hidden, cl::init(false), cl::desc("Force the (profiled-guided) size optimizations. "))
 
cl::opt< int > PgsoCutoffInstrProf ("pgso-cutoff-instr-prof", cl::Hidden, cl::init(950000), cl::ZeroOrMore, cl::desc("The profile guided size optimization profile summary cutoff " "for instrumentation profile."))
 
cl::opt< int > PgsoCutoffSampleProf ("pgso-cutoff-sample-prof", cl::Hidden, cl::init(990000), cl::ZeroOrMore, cl::desc("The profile guided size optimization profile summary cutoff " "for sample profile."))
 

Variable Documentation

◆ EnablePGSO

cl::opt<bool> EnablePGSO("pgso", cl::Hidden, cl::init(true), cl::desc("Enable the profile guided size optimizations. "))

◆ ForcePGSO

cl::opt<bool> ForcePGSO("force-pgso", cl::Hidden, cl::init(false), cl::desc("Force the (profiled-guided) size optimizations. "))

◆ PGSOColdCodeOnly

cl::opt<bool> PGSOColdCodeOnly("pgso-cold-code-only", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code."))

◆ PGSOColdCodeOnlyForInstrPGO

cl::opt<bool> PGSOColdCodeOnlyForInstrPGO("pgso-cold-code-only-for-instr-pgo", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code under instrumentation PGO."))

◆ PGSOColdCodeOnlyForPartialSamplePGO

cl::opt<bool> PGSOColdCodeOnlyForPartialSamplePGO("pgso-cold-code-only-for-partial-sample-pgo", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code under partial-profile sample PGO."))

◆ PGSOColdCodeOnlyForSamplePGO

cl::opt<bool> PGSOColdCodeOnlyForSamplePGO("pgso-cold-code-only-for-sample-pgo", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only " "to cold code under sample PGO."))

◆ PgsoCutoffInstrProf

cl::opt<int> PgsoCutoffInstrProf("pgso-cutoff-instr-prof", cl::Hidden, cl::init(950000), cl::ZeroOrMore, cl::desc("The profile guided size optimization profile summary cutoff " "for instrumentation profile."))

◆ PgsoCutoffSampleProf

cl::opt<int> PgsoCutoffSampleProf("pgso-cutoff-sample-prof", cl::Hidden, cl::init(990000), cl::ZeroOrMore, cl::desc("The profile guided size optimization profile summary cutoff " "for sample profile."))

◆ PGSOIRPassOrTestOnly

cl::opt<bool> PGSOIRPassOrTestOnly("pgso-ir-pass-or-test-only", cl::Hidden, cl::init(false), cl::desc("Apply the profile guided size optimizations only" "to the IR passes or tests."))

◆ PGSOLargeWorkingSetSizeOnly

cl::opt<bool> PGSOLargeWorkingSetSizeOnly("pgso-lwss-only", cl::Hidden, cl::init(true), cl::desc("Apply the profile guided size optimizations only " "if the working set size is large (except for cold code.)"))