diff options
author | Honza <jh@ryzen3.suse.cz> | 2023-05-09 16:26:00 +0200 |
---|---|---|
committer | Honza <jh@ryzen3.suse.cz> | 2023-05-09 16:26:00 +0200 |
commit | 5cbb9db198cdfae17dbfff495aafc79386acf2c7 (patch) | |
tree | 97d32ad4a53925d771400e5743bd3cddaea6e764 /gcc/common.opt | |
parent | 2ad072527291c3fcf3a8e9d4dda4cb548f4f75df (diff) |
Add parameters to control histogram profiling and peeling
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 5b1633cb5ac..ff44d84bcd5 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -2293,7 +2293,11 @@ Perform loop peeling. fuse-histograms-in-peeling Common Var(flag_use_histogram_in_peeling) Init(1) Optimization -Use histograms in loop peelings. +Use histograms in loop peeling heuristics. + +fpeel-loops-without-histogram +Common Var(flag_peel_loops_without_histogram) Init(1) Optimization +Peel also loop with no loop histogram. fpeephole Common Var(flag_no_peephole,0) Optimization @@ -2392,6 +2396,10 @@ fprofile-reproducible= Common Joined RejectNegative Var(flag_profile_reproducible) Enum(profile_reproducibility) Init(PROFILE_REPRODUCIBILITY_SERIAL) -fprofile-reproducible=[serial|parallel-runs|multithreaded] Control level of reproducibility of profile gathered by -fprofile-generate. +fprofile-loops +Common Var(flag_profile_loops) Init(1) Optimization +Profile loop histograms. + Enum Name(profile_update) Type(enum profile_update) UnknownError(unknown profile update method %qs) |