diff options
author | Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | 2003-10-19 23:37:32 +0200 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2003-10-19 21:37:32 +0000 |
commit | fca9dc00583665bb89e63df672ba2f2184bb9ee6 (patch) | |
tree | c3c61559cf453a985bdb4923c4ed4eae300f5c6d /gcc/value-prof.h | |
parent | 47395a24e6a35ef07316b593fb17bf4d767707a7 (diff) | |
download | gcc-fca9dc00583665bb89e63df672ba2f2184bb9ee6.zip gcc-fca9dc00583665bb89e63df672ba2f2184bb9ee6.tar.gz gcc-fca9dc00583665bb89e63df672ba2f2184bb9ee6.tar.bz2 |
Makefile.in (toplev.o): Add value-prof.h dependency.
* Makefile.in (toplev.o): Add value-prof.h dependency.
(value-prof.o): Add REGS_H dependency.
* common.opt (fprofile-values, fvpt): New.
* flags.h (flag_value_profile_transformations): Declare.
* opts.c (common_handle_option): Handle -fprofile_values and
-fvpt.
* profile.c (branch_prob): Don't remove death notes here.
* timevar.def (TV_VPT): New.
* value-prof.c: Include regs.h.
(insn_divmod_values_to_profile, gen_divmod_fixed_value, gen_mod_pow2,
gen_mod_subtract, divmod_fixed_value_transform,mod_pow2_value_transform,
mod_subtract_transform, value_profile_transformations): New.
(insn_values_to_profile): Call insn_divmod_values_to_profile.
(find_values_to_profile): Add dumps.
* value-prof.h (value_profile_transformations): Declare.
* toplev.c: Include value-prof.h.
(rest_of_handle_value_profile_transformations): New.
(enum dump_file_index): Add DFI_vpt.
(dump_file): Add vpt dump.
(flag_value_profile_transformations): New.
(lang_independent_options): Add flag_profile_values and
flag_value_profile_transformations.
(rest_of_compilation): Call
rest_of_handle_value_profile_transformations.
(process_options): Let -fvpt imply -fprofile-values.
* doc/invoke.texi (-fvpt): Document.
From-SVN: r72685
Diffstat (limited to 'gcc/value-prof.h')
-rw-r--r-- | gcc/value-prof.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/value-prof.h b/gcc/value-prof.h index 233895e..afbeb91 100644 --- a/gcc/value-prof.h +++ b/gcc/value-prof.h @@ -61,3 +61,4 @@ struct histogram_value extern void find_values_to_profile (unsigned *, struct histogram_value **); extern void free_profiled_values (unsigned, struct histogram_value *); +extern bool value_profile_transformations (void); |