diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/SizeOpts.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/SizeOpts.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/SizeOpts.cpp b/llvm/lib/Transforms/Utils/SizeOpts.cpp index 555073af0b2..cab375225e8 100644 --- a/llvm/lib/Transforms/Utils/SizeOpts.cpp +++ b/llvm/lib/Transforms/Utils/SizeOpts.cpp @@ -28,6 +28,11 @@ cl::opt<bool> PGSOColdCodeOnly( cl::desc("Apply the profile guided size optimizations only " "to cold code.")); +cl::opt<bool> PGSOIRPassOrTestOnly( + "pgso-ir-pass-or-test-only", cl::Hidden, cl::init(true), + cl::desc("Apply the profile guided size optimizations only" + "to the IR passes or tests.")); + cl::opt<bool> ForcePGSO( "force-pgso", cl::Hidden, cl::init(false), cl::desc("Force the (profiled-guided) size optimizations. ")); |