From 0c29cac4a8cc840a0a597313147a7e0df0064c54 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 12 Nov 2019 11:09:41 +0100 Subject: [PATCH] Remove gcc/params.* files. 2019-11-12 Martin Liska * Makefile.in: Remove PARAMS_H and params.list and params.options. * params-enum.h: Remove. * params-list.h: Remove. * params-options.h: Remove. * params.c: Remove. * params.def: Remove. * params.h: Remove. * asan.c: Do not include params.h. * auto-profile.c: Likewise. * bb-reorder.c: Likewise. * builtins.c: Likewise. * cfgcleanup.c: Likewise. * cfgexpand.c: Likewise. * cfgloopanal.c: Likewise. * cgraph.c: Likewise. * combine.c: Likewise. * common/config/aarch64/aarch64-common.c: Likewise. * common/config/gcn/gcn-common.c: Likewise. * common/config/ia64/ia64-common.c: Likewise. * common/config/powerpcspe/powerpcspe-common.c: Likewise. * common/config/rs6000/rs6000-common.c: Likewise. * common/config/sh/sh-common.c: Likewise. * config/aarch64/aarch64.c: Likewise. * config/alpha/alpha.c: Likewise. * config/arm/arm.c: Likewise. * config/avr/avr.c: Likewise. * config/csky/csky.c: Likewise. * config/i386/i386-builtins.c: Likewise. * config/i386/i386-expand.c: Likewise. * config/i386/i386-features.c: Likewise. * config/i386/i386-options.c: Likewise. * config/i386/i386.c: Likewise. * config/ia64/ia64.c: Likewise. * config/rs6000/rs6000-logue.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/s390/s390.c: Likewise. * config/sparc/sparc.c: Likewise. * config/visium/visium.c: Likewise. * coverage.c: Likewise. * cprop.c: Likewise. * cse.c: Likewise. * cselib.c: Likewise. * dse.c: Likewise. * emit-rtl.c: Likewise. * explow.c: Likewise. * final.c: Likewise. * fold-const.c: Likewise. * gcc.c: Likewise. * gcse.c: Likewise. * ggc-common.c: Likewise. * ggc-page.c: Likewise. * gimple-loop-interchange.cc: Likewise. * gimple-loop-jam.c: Likewise. * gimple-loop-versioning.cc: Likewise. * gimple-ssa-split-paths.c: Likewise. * gimple-ssa-sprintf.c: Likewise. * gimple-ssa-store-merging.c: Likewise. * gimple-ssa-strength-reduction.c: Likewise. * gimple-ssa-warn-alloca.c: Likewise. * gimple-ssa-warn-restrict.c: Likewise. * graphite-isl-ast-to-gimple.c: Likewise. * graphite-optimize-isl.c: Likewise. * graphite-scop-detection.c: Likewise. * graphite-sese-to-poly.c: Likewise. * graphite.c: Likewise. * haifa-sched.c: Likewise. * hsa-gen.c: Likewise. * ifcvt.c: Likewise. * ipa-cp.c: Likewise. * ipa-fnsummary.c: Likewise. * ipa-inline-analysis.c: Likewise. * ipa-inline.c: Likewise. * ipa-polymorphic-call.c: Likewise. * ipa-profile.c: Likewise. * ipa-prop.c: Likewise. * ipa-split.c: Likewise. * ipa-sra.c: Likewise. * ira-build.c: Likewise. * ira-conflicts.c: Likewise. * loop-doloop.c: Likewise. * loop-invariant.c: Likewise. * loop-unroll.c: Likewise. * lra-assigns.c: Likewise. * lra-constraints.c: Likewise. * modulo-sched.c: Likewise. * opt-suggestions.c: Likewise. * opts.c: Likewise. * postreload-gcse.c: Likewise. * predict.c: Likewise. * reload.c: Likewise. * reorg.c: Likewise. * resource.c: Likewise. * sanopt.c: Likewise. * sched-deps.c: Likewise. * sched-ebb.c: Likewise. * sched-rgn.c: Likewise. * sel-sched-ir.c: Likewise. * sel-sched.c: Likewise. * shrink-wrap.c: Likewise. * stmt.c: Likewise. * targhooks.c: Likewise. * toplev.c: Likewise. * tracer.c: Likewise. * trans-mem.c: Likewise. * tree-chrec.c: Likewise. * tree-data-ref.c: Likewise. * tree-if-conv.c: Likewise. * tree-inline.c: Likewise. * tree-loop-distribution.c: Likewise. * tree-parloops.c: Likewise. * tree-predcom.c: Likewise. * tree-profile.c: Likewise. * tree-scalar-evolution.c: Likewise. * tree-sra.c: Likewise. * tree-ssa-ccp.c: Likewise. * tree-ssa-dom.c: Likewise. * tree-ssa-dse.c: Likewise. * tree-ssa-ifcombine.c: Likewise. * tree-ssa-loop-ch.c: Likewise. * tree-ssa-loop-im.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-loop-manip.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-ssa-loop-prefetch.c: Likewise. * tree-ssa-loop-unswitch.c: Likewise. * tree-ssa-math-opts.c: Likewise. * tree-ssa-phiopt.c: Likewise. * tree-ssa-pre.c: Likewise. * tree-ssa-reassoc.c: Likewise. * tree-ssa-sccvn.c: Likewise. * tree-ssa-scopedtables.c: Likewise. * tree-ssa-sink.c: Likewise. * tree-ssa-strlen.c: Likewise. * tree-ssa-structalias.c: Likewise. * tree-ssa-tail-merge.c: Likewise. * tree-ssa-threadbackward.c: Likewise. * tree-ssa-threadedge.c: Likewise. * tree-ssa-uninit.c: Likewise. * tree-switch-conversion.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-loop.c: Likewise. * tree-vect-slp.c: Likewise. * tree-vrp.c: Likewise. * tree.c: Likewise. * value-prof.c: Likewise. * var-tracking.c: Likewise. 2019-11-12 Martin Liska * gimple-parser.c: Do not include params.h. 2019-11-12 Martin Liska * name-lookup.c: Do not include params.h. * typeck.c: Likewise. 2019-11-12 Martin Liska * lto-common.c: Do not include params.h. * lto-partition.c: Likewise. * lto.c: Likewise. From-SVN: r278086 --- gcc/ChangeLog | 151 ++ gcc/Makefile.in | 18 +- gcc/asan.c | 1 - gcc/auto-profile.c | 1 - gcc/bb-reorder.c | 1 - gcc/builtins.c | 1 - gcc/c/ChangeLog | 4 + gcc/c/gimple-parser.c | 1 - gcc/cfgcleanup.c | 1 - gcc/cfgexpand.c | 1 - gcc/cfgloopanal.c | 1 - gcc/cgraph.c | 1 - gcc/combine.c | 1 - gcc/common/config/aarch64/aarch64-common.c | 1 - gcc/common/config/gcn/gcn-common.c | 1 - gcc/common/config/ia64/ia64-common.c | 1 - .../config/powerpcspe/powerpcspe-common.c | 1 - gcc/common/config/rs6000/rs6000-common.c | 1 - gcc/common/config/sh/sh-common.c | 1 - gcc/config/aarch64/aarch64.c | 1 - gcc/config/alpha/alpha.c | 1 - gcc/config/arm/arm.c | 1 - gcc/config/avr/avr.c | 1 - gcc/config/csky/csky.c | 1 - gcc/config/i386/i386-builtins.c | 1 - gcc/config/i386/i386-expand.c | 1 - gcc/config/i386/i386-features.c | 1 - gcc/config/i386/i386-options.c | 1 - gcc/config/i386/i386.c | 1 - gcc/config/ia64/ia64.c | 1 - gcc/config/rs6000/rs6000-logue.c | 1 - gcc/config/rs6000/rs6000.c | 1 - gcc/config/s390/s390.c | 1 - gcc/config/sparc/sparc.c | 1 - gcc/config/visium/visium.c | 1 - gcc/coverage.c | 1 - gcc/cp/ChangeLog | 5 + gcc/cp/name-lookup.c | 1 - gcc/cp/typeck.c | 1 - gcc/cprop.c | 1 - gcc/cse.c | 1 - gcc/cselib.c | 1 - gcc/dse.c | 1 - gcc/emit-rtl.c | 1 - gcc/explow.c | 1 - gcc/final.c | 1 - gcc/fold-const.c | 1 - gcc/gcc.c | 1 - gcc/gcse.c | 1 - gcc/ggc-common.c | 1 - gcc/ggc-page.c | 1 - gcc/gimple-loop-interchange.cc | 1 - gcc/gimple-loop-jam.c | 1 - gcc/gimple-loop-versioning.cc | 1 - gcc/gimple-ssa-split-paths.c | 1 - gcc/gimple-ssa-sprintf.c | 1 - gcc/gimple-ssa-store-merging.c | 1 - gcc/gimple-ssa-strength-reduction.c | 1 - gcc/gimple-ssa-warn-alloca.c | 1 - gcc/gimple-ssa-warn-restrict.c | 1 - gcc/graphite-isl-ast-to-gimple.c | 1 - gcc/graphite-optimize-isl.c | 1 - gcc/graphite-scop-detection.c | 1 - gcc/graphite-sese-to-poly.c | 1 - gcc/graphite.c | 1 - gcc/haifa-sched.c | 1 - gcc/hsa-gen.c | 1 - gcc/ifcvt.c | 1 - gcc/ipa-cp.c | 1 - gcc/ipa-fnsummary.c | 1 - gcc/ipa-inline-analysis.c | 1 - gcc/ipa-inline.c | 1 - gcc/ipa-polymorphic-call.c | 1 - gcc/ipa-profile.c | 1 - gcc/ipa-prop.c | 1 - gcc/ipa-split.c | 1 - gcc/ipa-sra.c | 1 - gcc/ira-build.c | 1 - gcc/ira-conflicts.c | 1 - gcc/loop-doloop.c | 1 - gcc/loop-invariant.c | 1 - gcc/loop-unroll.c | 1 - gcc/lra-assigns.c | 1 - gcc/lra-constraints.c | 1 - gcc/lto/ChangeLog | 6 + gcc/lto/lto-common.c | 1 - gcc/lto/lto-partition.c | 1 - gcc/lto/lto.c | 1 - gcc/modulo-sched.c | 1 - gcc/opt-suggestions.c | 1 - gcc/opts.c | 1 - gcc/params-enum.h | 39 - gcc/params-list.h | 26 - gcc/params-options.h | 27 - gcc/params.c | 302 ---- gcc/params.def | 1501 ----------------- gcc/params.h | 254 --- gcc/postreload-gcse.c | 1 - gcc/predict.c | 1 - gcc/reload.c | 1 - gcc/reorg.c | 1 - gcc/resource.c | 1 - gcc/sanopt.c | 1 - gcc/sched-deps.c | 1 - gcc/sched-ebb.c | 1 - gcc/sched-rgn.c | 1 - gcc/sel-sched-ir.c | 1 - gcc/sel-sched.c | 1 - gcc/shrink-wrap.c | 1 - gcc/stmt.c | 1 - gcc/targhooks.c | 1 - gcc/toplev.c | 1 - gcc/tracer.c | 1 - gcc/trans-mem.c | 1 - gcc/tree-chrec.c | 1 - gcc/tree-data-ref.c | 1 - gcc/tree-if-conv.c | 1 - gcc/tree-inline.c | 1 - gcc/tree-loop-distribution.c | 1 - gcc/tree-parloops.c | 2 - gcc/tree-predcom.c | 1 - gcc/tree-profile.c | 1 - gcc/tree-scalar-evolution.c | 1 - gcc/tree-sra.c | 1 - gcc/tree-ssa-ccp.c | 1 - gcc/tree-ssa-dom.c | 1 - gcc/tree-ssa-dse.c | 1 - gcc/tree-ssa-ifcombine.c | 1 - gcc/tree-ssa-loop-ch.c | 1 - gcc/tree-ssa-loop-im.c | 1 - gcc/tree-ssa-loop-ivcanon.c | 1 - gcc/tree-ssa-loop-ivopts.c | 1 - gcc/tree-ssa-loop-manip.c | 1 - gcc/tree-ssa-loop-niter.c | 1 - gcc/tree-ssa-loop-prefetch.c | 1 - gcc/tree-ssa-loop-split.c | 1 - gcc/tree-ssa-loop-unswitch.c | 1 - gcc/tree-ssa-math-opts.c | 1 - gcc/tree-ssa-phiopt.c | 1 - gcc/tree-ssa-pre.c | 1 - gcc/tree-ssa-reassoc.c | 1 - gcc/tree-ssa-sccvn.c | 1 - gcc/tree-ssa-scopedtables.c | 1 - gcc/tree-ssa-sink.c | 1 - gcc/tree-ssa-strlen.c | 1 - gcc/tree-ssa-structalias.c | 1 - gcc/tree-ssa-tail-merge.c | 1 - gcc/tree-ssa-threadbackward.c | 1 - gcc/tree-ssa-threadedge.c | 1 - gcc/tree-ssa-uninit.c | 1 - gcc/tree-switch-conversion.c | 1 - gcc/tree-vect-data-refs.c | 1 - gcc/tree-vect-loop.c | 1 - gcc/tree-vect-slp.c | 1 - gcc/tree-vrp.c | 1 - gcc/tree.c | 1 - gcc/value-prof.c | 1 - gcc/var-tracking.c | 1 - 158 files changed, 168 insertions(+), 2313 deletions(-) delete mode 100644 gcc/params-enum.h delete mode 100644 gcc/params-list.h delete mode 100644 gcc/params-options.h delete mode 100644 gcc/params.c delete mode 100644 gcc/params.def delete mode 100644 gcc/params.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80986936e1b..ef517764675 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,154 @@ +2019-11-12 Martin Liska + + * Makefile.in: Remove PARAMS_H and params.list + and params.options. + * params-enum.h: Remove. + * params-list.h: Remove. + * params-options.h: Remove. + * params.c: Remove. + * params.def: Remove. + * params.h: Remove. + * asan.c: Do not include params.h. + * auto-profile.c: Likewise. + * bb-reorder.c: Likewise. + * builtins.c: Likewise. + * cfgcleanup.c: Likewise. + * cfgexpand.c: Likewise. + * cfgloopanal.c: Likewise. + * cgraph.c: Likewise. + * combine.c: Likewise. + * common/config/aarch64/aarch64-common.c: Likewise. + * common/config/gcn/gcn-common.c: Likewise. + * common/config/ia64/ia64-common.c: Likewise. + * common/config/powerpcspe/powerpcspe-common.c: Likewise. + * common/config/rs6000/rs6000-common.c: Likewise. + * common/config/sh/sh-common.c: Likewise. + * config/aarch64/aarch64.c: Likewise. + * config/alpha/alpha.c: Likewise. + * config/arm/arm.c: Likewise. + * config/avr/avr.c: Likewise. + * config/csky/csky.c: Likewise. + * config/i386/i386-builtins.c: Likewise. + * config/i386/i386-expand.c: Likewise. + * config/i386/i386-features.c: Likewise. + * config/i386/i386-options.c: Likewise. + * config/i386/i386.c: Likewise. + * config/ia64/ia64.c: Likewise. + * config/rs6000/rs6000-logue.c: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/s390/s390.c: Likewise. + * config/sparc/sparc.c: Likewise. + * config/visium/visium.c: Likewise. + * coverage.c: Likewise. + * cprop.c: Likewise. + * cse.c: Likewise. + * cselib.c: Likewise. + * dse.c: Likewise. + * emit-rtl.c: Likewise. + * explow.c: Likewise. + * final.c: Likewise. + * fold-const.c: Likewise. + * gcc.c: Likewise. + * gcse.c: Likewise. + * ggc-common.c: Likewise. + * ggc-page.c: Likewise. + * gimple-loop-interchange.cc: Likewise. + * gimple-loop-jam.c: Likewise. + * gimple-loop-versioning.cc: Likewise. + * gimple-ssa-split-paths.c: Likewise. + * gimple-ssa-sprintf.c: Likewise. + * gimple-ssa-store-merging.c: Likewise. + * gimple-ssa-strength-reduction.c: Likewise. + * gimple-ssa-warn-alloca.c: Likewise. + * gimple-ssa-warn-restrict.c: Likewise. + * graphite-isl-ast-to-gimple.c: Likewise. + * graphite-optimize-isl.c: Likewise. + * graphite-scop-detection.c: Likewise. + * graphite-sese-to-poly.c: Likewise. + * graphite.c: Likewise. + * haifa-sched.c: Likewise. + * hsa-gen.c: Likewise. + * ifcvt.c: Likewise. + * ipa-cp.c: Likewise. + * ipa-fnsummary.c: Likewise. + * ipa-inline-analysis.c: Likewise. + * ipa-inline.c: Likewise. + * ipa-polymorphic-call.c: Likewise. + * ipa-profile.c: Likewise. + * ipa-prop.c: Likewise. + * ipa-split.c: Likewise. + * ipa-sra.c: Likewise. + * ira-build.c: Likewise. + * ira-conflicts.c: Likewise. + * loop-doloop.c: Likewise. + * loop-invariant.c: Likewise. + * loop-unroll.c: Likewise. + * lra-assigns.c: Likewise. + * lra-constraints.c: Likewise. + * modulo-sched.c: Likewise. + * opt-suggestions.c: Likewise. + * opts.c: Likewise. + * postreload-gcse.c: Likewise. + * predict.c: Likewise. + * reload.c: Likewise. + * reorg.c: Likewise. + * resource.c: Likewise. + * sanopt.c: Likewise. + * sched-deps.c: Likewise. + * sched-ebb.c: Likewise. + * sched-rgn.c: Likewise. + * sel-sched-ir.c: Likewise. + * sel-sched.c: Likewise. + * shrink-wrap.c: Likewise. + * stmt.c: Likewise. + * targhooks.c: Likewise. + * toplev.c: Likewise. + * tracer.c: Likewise. + * trans-mem.c: Likewise. + * tree-chrec.c: Likewise. + * tree-data-ref.c: Likewise. + * tree-if-conv.c: Likewise. + * tree-inline.c: Likewise. + * tree-loop-distribution.c: Likewise. + * tree-parloops.c: Likewise. + * tree-predcom.c: Likewise. + * tree-profile.c: Likewise. + * tree-scalar-evolution.c: Likewise. + * tree-sra.c: Likewise. + * tree-ssa-ccp.c: Likewise. + * tree-ssa-dom.c: Likewise. + * tree-ssa-dse.c: Likewise. + * tree-ssa-ifcombine.c: Likewise. + * tree-ssa-loop-ch.c: Likewise. + * tree-ssa-loop-im.c: Likewise. + * tree-ssa-loop-ivcanon.c: Likewise. + * tree-ssa-loop-ivopts.c: Likewise. + * tree-ssa-loop-manip.c: Likewise. + * tree-ssa-loop-niter.c: Likewise. + * tree-ssa-loop-prefetch.c: Likewise. + * tree-ssa-loop-unswitch.c: Likewise. + * tree-ssa-math-opts.c: Likewise. + * tree-ssa-phiopt.c: Likewise. + * tree-ssa-pre.c: Likewise. + * tree-ssa-reassoc.c: Likewise. + * tree-ssa-sccvn.c: Likewise. + * tree-ssa-scopedtables.c: Likewise. + * tree-ssa-sink.c: Likewise. + * tree-ssa-strlen.c: Likewise. + * tree-ssa-structalias.c: Likewise. + * tree-ssa-tail-merge.c: Likewise. + * tree-ssa-threadbackward.c: Likewise. + * tree-ssa-threadedge.c: Likewise. + * tree-ssa-uninit.c: Likewise. + * tree-switch-conversion.c: Likewise. + * tree-vect-data-refs.c: Likewise. + * tree-vect-loop.c: Likewise. + * tree-vect-slp.c: Likewise. + * tree-vrp.c: Likewise. + * tree.c: Likewise. + * value-prof.c: Likewise. + * var-tracking.c: Likewise. + 2019-11-12 Martin Liska * asan.c (asan_sanitize_stack_p): Replace old parameter syntax diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ff9a2841d52..0004d46b93d 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -928,7 +928,6 @@ RTL_BASE_H = $(CORETYPES_H) rtl.h rtl.def reg-notes.def \ FIXED_VALUE_H = fixed-value.h RTL_H = $(RTL_BASE_H) $(FLAGS_H) genrtl.h READ_MD_H = $(OBSTACK_H) $(HASHTAB_H) read-md.h -PARAMS_H = params.h params-enum.h params.def BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def \ gtm-builtins.def sanitizer.def \ hsa-builtins.def @@ -1631,7 +1630,7 @@ OBJS-libcommon = diagnostic.o diagnostic-color.o diagnostic-show-locus.o \ # Objects in libcommon-target.a, used by drivers and by the core # compiler and containing target-dependent code. -OBJS-libcommon-target = $(common_out_object_file) prefix.o params.o \ +OBJS-libcommon-target = $(common_out_object_file) prefix.o \ opts.o opts-common.o options.o vec.o hooks.o common/common-targhooks.o \ hash-table.o file-find.o spellcheck.o selftest.o opt-suggestions.o @@ -2653,7 +2652,7 @@ generated_files = config.h tm.h $(TM_P_H) $(TM_D_H) $(TM_H) multilib.h \ options.h target-hooks-def.h insn-opinit.h \ common/common-target-hooks-def.h pass-instances.def \ c-family/c-target-hooks-def.h d/d-target-hooks-def.h \ - params.list params.options case-cfn-macros.h \ + case-cfn-macros.h \ cfn-operators.pd omp-device-properties.h # @@ -3514,19 +3513,6 @@ installdirs: $(mkinstalldirs) $(DESTDIR)$(man1dir) $(mkinstalldirs) $(DESTDIR)$(man7dir) -params.list: s-params.list; @true -s-params.list: $(srcdir)/params-list.h $(srcdir)/params.def - $(CPP) $(srcdir)/params-list.h | sed 's/^#.*//;/^$$/d' > tmp-params.list - $(SHELL) $(srcdir)/../move-if-change tmp-params.list params.list - $(STAMP) s-params.list - -params.options: s-params.options; @true -s-params.options: $(srcdir)/params-options.h $(srcdir)/params.def - $(CPP) $(srcdir)/params-options.h | sed 's/^#.*//;/^$$/d' > tmp-params.options - $(SHELL) $(srcdir)/../move-if-change tmp-params.options params.options - $(STAMP) s-params.options - - PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ toplev.h $(DIAGNOSTIC_CORE_H) $(BASIC_BLOCK_H) $(HASH_TABLE_H) \ tree-ssa-alias.h $(INTERNAL_FN_H) gimple-fold.h tree-eh.h gimple-expr.h \ diff --git a/gcc/asan.c b/gcc/asan.c index 5ae66942941..a6d4cf999dd 100644 --- a/gcc/asan.c +++ b/gcc/asan.c @@ -59,7 +59,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-builder.h" #include "gimple-fold.h" #include "ubsan.h" -#include "params.h" #include "builtins.h" #include "fnmatch.h" #include "tree-inline.h" diff --git a/gcc/auto-profile.c b/gcc/auto-profile.c index 92e980f68a2..13775287d61 100644 --- a/gcc/auto-profile.c +++ b/gcc/auto-profile.c @@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-into-ssa.h" #include "gimple-iterator.h" #include "value-prof.h" -#include "params.h" #include "symbol-summary.h" #include "ipa-prop.h" #include "ipa-fnsummary.h" diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 6a85c2a7fc0..f811569a7df 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -105,7 +105,6 @@ #include "emit-rtl.h" #include "output.h" #include "expr.h" -#include "params.h" #include "tree-pass.h" #include "cfgrtl.h" #include "cfganal.h" diff --git a/gcc/builtins.c b/gcc/builtins.c index 68baeb9bbe9..450cc7ad4c2 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "memmodel.h" #include "gimple.h" #include "predict.h" -#include "params.h" #include "tm_p.h" #include "stringpool.h" #include "tree-vrp.h" diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index abd104824ed..95b0eb60109 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,7 @@ +2019-11-12 Martin Liska + + * gimple-parser.c: Do not include params.h. + 2019-11-12 Martin Liska * gimple-parser.c (c_parser_parse_gimple_body): Replace old parameter syntax diff --git a/gcc/c/gimple-parser.c b/gcc/c/gimple-parser.c index e40cfa2ec01..e81e5235441 100644 --- a/gcc/c/gimple-parser.c +++ b/gcc/c/gimple-parser.c @@ -63,7 +63,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-phinodes.h" #include "tree-into-ssa.h" #include "bitmap.h" -#include "params.h" /* GIMPLE parser state. */ diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 7b1dd245487..6539d9364c4 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "insn-config.h" #include "emit-rtl.h" #include "cselib.h" -#include "params.h" #include "tree-pass.h" #include "cfgloop.h" #include "cfgrtl.h" diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 5fed0738211..e8bed2504bf 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -61,7 +61,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-pretty-print.h" #include "toplev.h" #include "debug.h" -#include "params.h" #include "tree-inline.h" #include "value-prof.h" #include "tree-ssa-live.h" diff --git a/gcc/cfgloopanal.c b/gcc/cfgloopanal.c index 84516efcfb6..199c20b1423 100644 --- a/gcc/cfgloopanal.c +++ b/gcc/cfgloopanal.c @@ -30,7 +30,6 @@ along with GCC; see the file COPYING3. If not see #include "explow.h" #include "expr.h" #include "graphds.h" -#include "params.h" #include "sreal.h" #include "regs.h" #include "function-abi.h" diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 5497235b7d4..1f7a5c58d98 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -57,7 +57,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-pretty-print.h" #include "tree-dfa.h" #include "profile.h" -#include "params.h" #include "context.h" #include "gimplify.h" #include "stringpool.h" diff --git a/gcc/combine.c b/gcc/combine.c index ae3bc468910..a9721ebdcc0 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -100,7 +100,6 @@ along with GCC; see the file COPYING3. If not see #include "insn-attr.h" #include "rtlhooks-def.h" #include "expr.h" -#include "params.h" #include "tree-pass.h" #include "valtrack.h" #include "rtl-iter.h" diff --git a/gcc/common/config/aarch64/aarch64-common.c b/gcc/common/config/aarch64/aarch64-common.c index adb3ff71af8..b4ba6708af1 100644 --- a/gcc/common/config/aarch64/aarch64-common.c +++ b/gcc/common/config/aarch64/aarch64-common.c @@ -30,7 +30,6 @@ #include "opts.h" #include "flags.h" #include "diagnostic.h" -#include "params.h" #ifdef TARGET_BIG_ENDIAN_DEFAULT #undef TARGET_DEFAULT_TARGET_FLAGS diff --git a/gcc/common/config/gcn/gcn-common.c b/gcc/common/config/gcn/gcn-common.c index f34953dc04b..6d82ead7b80 100644 --- a/gcc/common/config/gcn/gcn-common.c +++ b/gcc/common/config/gcn/gcn-common.c @@ -23,7 +23,6 @@ #include "common/common-target-def.h" #include "opts.h" #include "flags.h" -#include "params.h" /* Set default optimization options. */ static const struct default_options gcn_option_optimization_table[] = diff --git a/gcc/common/config/ia64/ia64-common.c b/gcc/common/config/ia64/ia64-common.c index 0a187160fd2..a9ff29563a3 100644 --- a/gcc/common/config/ia64/ia64-common.c +++ b/gcc/common/config/ia64/ia64-common.c @@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see #include "common/common-target-def.h" #include "opts.h" #include "flags.h" -#include "params.h" /* Implement overriding of the optimization options. */ static const struct default_options ia64_option_optimization_table[] = diff --git a/gcc/common/config/powerpcspe/powerpcspe-common.c b/gcc/common/config/powerpcspe/powerpcspe-common.c index 7043a4bda31..8976425b434 100644 --- a/gcc/common/config/powerpcspe/powerpcspe-common.c +++ b/gcc/common/config/powerpcspe/powerpcspe-common.c @@ -26,7 +26,6 @@ #include "common/common-target-def.h" #include "opts.h" #include "flags.h" -#include "params.h" /* Implement TARGET_OPTION_OPTIMIZATION_TABLE. */ static const struct default_options rs6000_option_optimization_table[] = diff --git a/gcc/common/config/rs6000/rs6000-common.c b/gcc/common/config/rs6000/rs6000-common.c index 1d39912443b..250eca7ecf9 100644 --- a/gcc/common/config/rs6000/rs6000-common.c +++ b/gcc/common/config/rs6000/rs6000-common.c @@ -26,7 +26,6 @@ #include "common/common-target-def.h" #include "opts.h" #include "flags.h" -#include "params.h" /* Implement TARGET_OPTION_OPTIMIZATION_TABLE. */ static const struct default_options rs6000_option_optimization_table[] = diff --git a/gcc/common/config/sh/sh-common.c b/gcc/common/config/sh/sh-common.c index e6ecc3a632a..104b1b4a304 100644 --- a/gcc/common/config/sh/sh-common.c +++ b/gcc/common/config/sh/sh-common.c @@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see #include "common/common-target-def.h" #include "opts.h" #include "flags.h" -#include "params.h" /* Set default optimization options. */ static const struct default_options sh_option_optimization_table[] = diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index c4783861c5d..78e6bc0475e 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -55,7 +55,6 @@ #include "reload.h" #include "langhooks.h" #include "opts.h" -#include "params.h" #include "gimplify.h" #include "dwarf2.h" #include "gimple-iterator.h" diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 8f389ead32d..7e4298873bb 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -64,7 +64,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-stdarg.h" #include "tm-constrs.h" #include "libfuncs.h" -#include "params.h" #include "builtins.h" #include "rtl-iter.h" #include "flags.h" diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index ca7fd9020b8..9086cf65953 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -59,7 +59,6 @@ #include "langhooks.h" #include "intl.h" #include "libfuncs.h" -#include "params.h" #include "opts.h" #include "dumpfile.h" #include "target-globals.h" diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 8fc2e71489d..3efd936bd1b 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -51,7 +51,6 @@ #include "expr.h" #include "langhooks.h" #include "cfgrtl.h" -#include "params.h" #include "builtins.h" #include "context.h" #include "tree-pass.h" diff --git a/gcc/config/csky/csky.c b/gcc/config/csky/csky.c index 0759ddc00e6..544165c0cc2 100644 --- a/gcc/config/csky/csky.c +++ b/gcc/config/csky/csky.c @@ -58,7 +58,6 @@ #include "langhooks.h" #include "intl.h" #include "libfuncs.h" -#include "params.h" #include "opts.h" #include "dumpfile.h" #include "target-globals.h" diff --git a/gcc/config/i386/i386-builtins.c b/gcc/config/i386/i386-builtins.c index 5b388ec7910..0764aa48ab1 100644 --- a/gcc/config/i386/i386-builtins.c +++ b/gcc/config/i386/i386-builtins.c @@ -58,7 +58,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify.h" #include "dwarf2.h" #include "tm-constrs.h" -#include "params.h" #include "cselib.h" #include "sched-int.h" #include "opts.h" diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c index be040a1bc3e..dd31c57a529 100644 --- a/gcc/config/i386/i386-expand.c +++ b/gcc/config/i386/i386-expand.c @@ -58,7 +58,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify.h" #include "dwarf2.h" #include "tm-constrs.h" -#include "params.h" #include "cselib.h" #include "sched-int.h" #include "opts.h" diff --git a/gcc/config/i386/i386-features.c b/gcc/config/i386/i386-features.c index 4781a33a545..3a81fd3116b 100644 --- a/gcc/config/i386/i386-features.c +++ b/gcc/config/i386/i386-features.c @@ -58,7 +58,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify.h" #include "dwarf2.h" #include "tm-constrs.h" -#include "params.h" #include "cselib.h" #include "sched-int.h" #include "opts.h" diff --git a/gcc/config/i386/i386-options.c b/gcc/config/i386/i386-options.c index 72cd6dcc98c..1e3280d1bb9 100644 --- a/gcc/config/i386/i386-options.c +++ b/gcc/config/i386/i386-options.c @@ -58,7 +58,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify.h" #include "dwarf2.h" #include "tm-constrs.h" -#include "params.h" #include "cselib.h" #include "sched-int.h" #include "opts.h" diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index f775697f982..ce446b248a8 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -59,7 +59,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify.h" #include "dwarf2.h" #include "tm-constrs.h" -#include "params.h" #include "cselib.h" #include "sched-int.h" #include "opts.h" diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 44f7f2eea06..f1bd919bfc2 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -57,7 +57,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify.h" #include "intl.h" #include "debug.h" -#include "params.h" #include "dbgcnt.h" #include "tm-constrs.h" #include "sel-sched.h" diff --git a/gcc/config/rs6000/rs6000-logue.c b/gcc/config/rs6000/rs6000-logue.c index f0fd2065c02..9b3afeaa45e 100644 --- a/gcc/config/rs6000/rs6000-logue.c +++ b/gcc/config/rs6000/rs6000-logue.c @@ -45,7 +45,6 @@ #include "langhooks.h" #include "optabs.h" #include "diagnostic-core.h" -#include "params.h" #include "alias.h" #include "rs6000-internal.h" #if TARGET_MACHO diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 4c830fcfba3..c7abc604a44 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -62,7 +62,6 @@ #include "gimple-ssa.h" #include "gimple-walk.h" #include "intl.h" -#include "params.h" #include "tm-constrs.h" #include "tree-vectorizer.h" #include "target-globals.h" diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index b3a75222ac2..c76115801fc 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -73,7 +73,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-fold.h" #include "tree-eh.h" #include "gimplify.h" -#include "params.h" #include "opts.h" #include "tree-pass.h" #include "context.h" diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 50385518b1b..474cc70716c 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -56,7 +56,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify.h" #include "langhooks.h" #include "reload.h" -#include "params.h" #include "tree-pass.h" #include "context.h" #include "builtins.h" diff --git a/gcc/config/visium/visium.c b/gcc/config/visium/visium.c index b1ace70b5f7..89eaa64375f 100644 --- a/gcc/config/visium/visium.c +++ b/gcc/config/visium/visium.c @@ -53,7 +53,6 @@ #include "langhooks.h" #include "reload.h" #include "tm-constrs.h" -#include "params.h" #include "tree-pass.h" #include "context.h" #include "builtins.h" diff --git a/gcc/coverage.c b/gcc/coverage.c index ebe27a323b2..b8b20ddc8e3 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -47,7 +47,6 @@ along with GCC; see the file COPYING3. If not see #include "context.h" #include "pass_manager.h" #include "intl.h" -#include "params.h" #include "auto-profile.h" #include "profile.h" diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 754d66c4326..3742e71fe3a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2019-11-12 Martin Liska + + * name-lookup.c: Do not include params.h. + * typeck.c: Likewise. + 2019-11-12 Martin Liska * name-lookup.c (namespace_hints::namespace_hints): Replace old parameter syntax diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index be846a12141..d114c8873b2 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see #include "attribs.h" #include "debug.h" #include "c-family/c-pragma.h" -#include "params.h" #include "gcc-rich-location.h" #include "spellcheck-tree.h" #include "parser.h" diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c index d3e70311229..ba94c54b485 100644 --- a/gcc/cp/typeck.c +++ b/gcc/cp/typeck.c @@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see #include "convert.h" #include "c-family/c-objc.h" #include "c-family/c-ubsan.h" -#include "params.h" #include "gcc-rich-location.h" #include "stringpool.h" #include "attribs.h" diff --git a/gcc/cprop.c b/gcc/cprop.c index 65c0130cc07..05d3686c952 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -34,7 +34,6 @@ along with GCC; see the file COPYING3. If not see #include "cfganal.h" #include "lcm.h" #include "cfgcleanup.h" -#include "params.h" #include "cselib.h" #include "intl.h" #include "tree-pass.h" diff --git a/gcc/cse.c b/gcc/cse.c index b1c0276b0f7..ab9b8b43431 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -37,7 +37,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgcleanup.h" #include "alias.h" #include "toplev.h" -#include "params.h" #include "rtlhooks-def.h" #include "tree-pass.h" #include "dbgcnt.h" diff --git a/gcc/cselib.c b/gcc/cselib.c index 1745256944a..973ff7b0970 100644 --- a/gcc/cselib.c +++ b/gcc/cselib.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "emit-rtl.h" #include "dumpfile.h" #include "cselib.h" -#include "params.h" #include "function-abi.h" /* A list of cselib_val structures. */ diff --git a/gcc/dse.c b/gcc/dse.c index 76abd873c78..f6e6c26446c 100644 --- a/gcc/dse.c +++ b/gcc/dse.c @@ -47,7 +47,6 @@ along with GCC; see the file COPYING3. If not see #include "explow.h" #include "expr.h" #include "dbgcnt.h" -#include "params.h" #include "rtl-iter.h" #include "cfgcleanup.h" #include "calls.h" diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 5f3e549a7fe..33ecfa209b6 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -54,7 +54,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-eh.h" #include "explow.h" #include "expr.h" -#include "params.h" #include "builtins.h" #include "rtl-iter.h" #include "stor-layout.h" diff --git a/gcc/explow.c b/gcc/explow.c index 93e31cc3ba1..d174632c5fc 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see #include "stringpool.h" #include "common/common-target.h" #include "output.h" -#include "params.h" static rtx break_out_memory_refs (rtx); static void anti_adjust_stack_and_probe_stack_clash (rtx); diff --git a/gcc/final.c b/gcc/final.c index 3b9a88dc8a7..77a9e9a4a3f 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -75,7 +75,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-pass.h" #include "tree-ssa.h" #include "cfgloop.h" -#include "params.h" #include "stringpool.h" #include "attribs.h" #include "asan.h" diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 542cc018656..b48296ca111 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -71,7 +71,6 @@ along with GCC; see the file COPYING3. If not see #include "builtins.h" #include "generic-match.h" #include "gimple-fold.h" -#include "params.h" #include "tree-into-ssa.h" #include "md5.h" #include "case-cfn-macros.h" diff --git a/gcc/gcc.c b/gcc/gcc.c index c45a1df656b..159ffe7cb53 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -41,7 +41,6 @@ compilation is specified by a string called a "spec". */ #include "diagnostic.h" #include "flags.h" #include "opts.h" -#include "params.h" #include "filenames.h" #include "spellcheck.h" diff --git a/gcc/gcse.c b/gcc/gcse.c index 0ae39e44b01..da87b291424 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -154,7 +154,6 @@ along with GCC; see the file COPYING3. If not see #include "lcm.h" #include "cfgcleanup.h" #include "expr.h" -#include "params.h" #include "intl.h" #include "tree-pass.h" #include "dbgcnt.h" diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c index cf7a4f68405..f6e393d7bb6 100644 --- a/gcc/ggc-common.c +++ b/gcc/ggc-common.c @@ -27,7 +27,6 @@ along with GCC; see the file COPYING3. If not see #include "timevar.h" #include "diagnostic-core.h" #include "ggc-internal.h" -#include "params.h" #include "hosthooks.h" #include "plugin.h" #include "options.h" diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index b0d26256072..dde39e680da 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -30,7 +30,6 @@ along with GCC; see the file COPYING3. If not see #include "flags.h" #include "ggc-internal.h" #include "timevar.h" -#include "params.h" #include "cgraph.h" #include "cfgloop.h" #include "plugin.h" diff --git a/gcc/gimple-loop-interchange.cc b/gcc/gimple-loop-interchange.cc index 2a0cf6e41d8..1370201fdfe 100644 --- a/gcc/gimple-loop-interchange.cc +++ b/gcc/gimple-loop-interchange.cc @@ -33,7 +33,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "gimplify-me.h" #include "cfgloop.h" -#include "params.h" #include "tree-ssa.h" #include "tree-scalar-evolution.h" #include "tree-ssa-loop-manip.h" diff --git a/gcc/gimple-loop-jam.c b/gcc/gimple-loop-jam.c index c1fc9ba9916..d07e987a48c 100644 --- a/gcc/gimple-loop-jam.c +++ b/gcc/gimple-loop-jam.c @@ -20,7 +20,6 @@ along with GCC; see the file COPYING3. If not see #include "config.h" #include "system.h" #include "coretypes.h" -#include "params.h" #include "tree-pass.h" #include "backend.h" #include "tree.h" diff --git a/gcc/gimple-loop-versioning.cc b/gcc/gimple-loop-versioning.cc index 18456e87958..45de9025d11 100644 --- a/gcc/gimple-loop-versioning.cc +++ b/gcc/gimple-loop-versioning.cc @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "omp-general.h" #include "predict.h" #include "tree-into-ssa.h" -#include "params.h" namespace { diff --git a/gcc/gimple-ssa-split-paths.c b/gcc/gimple-ssa-split-paths.c index 49a0834d647..f71fd199abf 100644 --- a/gcc/gimple-ssa-split-paths.c +++ b/gcc/gimple-ssa-split-paths.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "tracer.h" #include "predict.h" -#include "params.h" #include "gimple-ssa.h" #include "tree-phinodes.h" #include "ssa-iterators.h" diff --git a/gcc/gimple-ssa-sprintf.c b/gcc/gimple-ssa-sprintf.c index ef04b2a5938..424d784bcba 100644 --- a/gcc/gimple-ssa-sprintf.c +++ b/gcc/gimple-ssa-sprintf.c @@ -60,7 +60,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "tree-ssa.h" #include "tree-object-size.h" -#include "params.h" #include "tree-cfg.h" #include "tree-ssa-propagate.h" #include "calls.h" diff --git a/gcc/gimple-ssa-store-merging.c b/gcc/gimple-ssa-store-merging.c index fbab13c59a0..b9ae2869fc4 100644 --- a/gcc/gimple-ssa-store-merging.c +++ b/gcc/gimple-ssa-store-merging.c @@ -151,7 +151,6 @@ #include "gimple-pretty-print.h" #include "alias.h" #include "fold-const.h" -#include "params.h" #include "print-tree.h" #include "tree-hash-traits.h" #include "gimple-iterator.h" diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c index ab5011a7a1e..d01c5d25431 100644 --- a/gcc/gimple-ssa-strength-reduction.c +++ b/gcc/gimple-ssa-strength-reduction.c @@ -52,7 +52,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgloop.h" #include "tree-cfg.h" #include "domwalk.h" -#include "params.h" #include "tree-ssa-address.h" #include "tree-affine.h" #include "tree-eh.h" diff --git a/gcc/gimple-ssa-warn-alloca.c b/gcc/gimple-ssa-warn-alloca.c index af39ff415e1..8fce1d1dc0c 100644 --- a/gcc/gimple-ssa-warn-alloca.c +++ b/gcc/gimple-ssa-warn-alloca.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "fold-const.h" #include "gimple-iterator.h" #include "tree-ssa.h" -#include "params.h" #include "tree-cfg.h" #include "builtins.h" #include "calls.h" diff --git a/gcc/gimple-ssa-warn-restrict.c b/gcc/gimple-ssa-warn-restrict.c index f452debf93b..2cf84b7aac2 100644 --- a/gcc/gimple-ssa-warn-restrict.c +++ b/gcc/gimple-ssa-warn-restrict.c @@ -36,7 +36,6 @@ #include "gimple-iterator.h" #include "tree-dfa.h" #include "tree-ssa.h" -#include "params.h" #include "tree-cfg.h" #include "tree-object-size.h" #include "calls.h" diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c index 11a4da0a623..9fe82ecbdb8 100644 --- a/gcc/graphite-isl-ast-to-gimple.c +++ b/gcc/graphite-isl-ast-to-gimple.c @@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #include "gimple.h" #include "ssa.h" -#include "params.h" #include "fold-const.h" #include "gimple-fold.h" #include "gimple-iterator.h" diff --git a/gcc/graphite-optimize-isl.c b/gcc/graphite-optimize-isl.c index 1dc9c3cb7be..897653e7aeb 100644 --- a/gcc/graphite-optimize-isl.c +++ b/gcc/graphite-optimize-isl.c @@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa-loop.h" #include "cfgloop.h" #include "tree-data-ref.h" -#include "params.h" #include "dumpfile.h" #include "tree-vectorizer.h" #include "graphite.h" diff --git a/gcc/graphite-scop-detection.c b/gcc/graphite-scop-detection.c index 1505a13b860..7db2f9a50f8 100644 --- a/gcc/graphite-scop-detection.c +++ b/gcc/graphite-scop-detection.c @@ -30,7 +30,6 @@ along with GCC; see the file COPYING3. If not see #include "backend.h" #include "cfghooks.h" #include "domwalk.h" -#include "params.h" #include "tree.h" #include "gimple.h" #include "ssa.h" diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 08f17db2301..974b59f48f2 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #include "gimple.h" #include "ssa.h" -#include "params.h" #include "fold-const.h" #include "gimple-iterator.h" #include "gimplify.h" diff --git a/gcc/graphite.c b/gcc/graphite.c index 67202e276e2..1bc93f7362e 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic-core.h" #include "cfgloop.h" #include "tree-pass.h" -#include "params.h" #include "pretty-print.h" #include "cfganal.h" diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 58bf704ea15..54fb03435cb 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -141,7 +141,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgbuild.h" #include "sched-int.h" #include "common/common-target.h" -#include "params.h" #include "dbgcnt.h" #include "cfgloop.h" #include "dumpfile.h" diff --git a/gcc/hsa-gen.c b/gcc/hsa-gen.c index c4a03f938cf..bdf488d8133 100644 --- a/gcc/hsa-gen.c +++ b/gcc/hsa-gen.c @@ -56,7 +56,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgloop.h" #include "cfganal.h" #include "builtins.h" -#include "params.h" #include "gomp-constants.h" #include "internal-fn.h" #include "builtins.h" diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 5df8a43a5f7..b45152a4b42 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -45,7 +45,6 @@ #include "shrink-wrap.h" #include "rtl-iter.h" #include "ifcvt.h" -#include "params.h" #ifndef MAX_CONDITIONAL_EXECUTE #define MAX_CONDITIONAL_EXECUTE \ diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 345f1792ad6..65ca2fda988 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -118,7 +118,6 @@ along with GCC; see the file COPYING3. If not see #include "ipa-prop.h" #include "tree-pretty-print.h" #include "tree-inline.h" -#include "params.h" #include "ipa-fnsummary.h" #include "ipa-utils.h" #include "tree-ssa-ccp.h" diff --git a/gcc/ipa-fnsummary.c b/gcc/ipa-fnsummary.c index fe619d1dbb6..398b66d9dde 100644 --- a/gcc/ipa-fnsummary.c +++ b/gcc/ipa-fnsummary.c @@ -67,7 +67,6 @@ along with GCC; see the file COPYING3. If not see #include "print-tree.h" #include "tree-inline.h" #include "gimple-pretty-print.h" -#include "params.h" #include "cfganal.h" #include "gimple-iterator.h" #include "tree-cfg.h" diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index d5a9fb0682e..2acb2bebacc 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -34,7 +34,6 @@ along with GCC; see the file COPYING3. If not see #include "print-tree.h" #include "tree-inline.h" #include "gimple-pretty-print.h" -#include "params.h" #include "cfganal.h" #include "gimple-iterator.h" #include "tree-cfg.h" diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index b159f440e91..df6f991ad79 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -105,7 +105,6 @@ along with GCC; see the file COPYING3. If not see #include "trans-mem.h" #include "calls.h" #include "tree-inline.h" -#include "params.h" #include "profile.h" #include "symbol-summary.h" #include "tree-vrp.h" diff --git a/gcc/ipa-polymorphic-call.c b/gcc/ipa-polymorphic-call.c index 7c2b4c795fa..78e102c3947 100644 --- a/gcc/ipa-polymorphic-call.c +++ b/gcc/ipa-polymorphic-call.c @@ -38,7 +38,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-dfa.h" #include "gimple-pretty-print.h" #include "tree-into-ssa.h" -#include "params.h" /* Return true when TYPE contains an polymorphic type and thus is interesting for devirtualization machinery. */ diff --git a/gcc/ipa-profile.c b/gcc/ipa-profile.c index cd34ae62854..7bf446624b2 100644 --- a/gcc/ipa-profile.c +++ b/gcc/ipa-profile.c @@ -51,7 +51,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "ipa-utils.h" #include "profile.h" -#include "params.h" #include "value-prof.h" #include "tree-inline.h" #include "symbol-summary.h" diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 3e78321bf16..daf6302e056 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -47,7 +47,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-inline.h" #include "ipa-fnsummary.h" #include "gimple-pretty-print.h" -#include "params.h" #include "ipa-utils.h" #include "dbgcnt.h" #include "domwalk.h" diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c index c73b257ca7f..6ffadc2a60f 100644 --- a/gcc/ipa-split.c +++ b/gcc/ipa-split.c @@ -100,7 +100,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-into-ssa.h" #include "tree-dfa.h" #include "tree-inline.h" -#include "params.h" #include "gimple-pretty-print.h" #include "ipa-fnsummary.h" #include "cfgloop.h" diff --git a/gcc/ipa-sra.c b/gcc/ipa-sra.c index 303e4a7028a..08606aeded1 100644 --- a/gcc/ipa-sra.c +++ b/gcc/ipa-sra.c @@ -77,7 +77,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-sra.h" #include "alloc-pool.h" #include "symbol-summary.h" -#include "params.h" #include "dbgcnt.h" #include "tree-inline.h" #include "ipa-utils.h" diff --git a/gcc/ira-build.c b/gcc/ira-build.c index e53bb813f37..e30633d10d4 100644 --- a/gcc/ira-build.c +++ b/gcc/ira-build.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "memmodel.h" #include "ira.h" #include "ira-int.h" -#include "params.h" #include "sparseset.h" #include "cfgloop.h" diff --git a/gcc/ira-conflicts.c b/gcc/ira-conflicts.c index 8e7c0c41f2f..a6b82bc1be0 100644 --- a/gcc/ira-conflicts.c +++ b/gcc/ira-conflicts.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "regs.h" #include "ira.h" #include "ira-int.h" -#include "params.h" #include "sparseset.h" #include "addresses.h" diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c index 6a956a03b03..95b2c77507a 100644 --- a/gcc/loop-doloop.c +++ b/gcc/loop-doloop.c @@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see #include "expr.h" #include "cfgloop.h" #include "cfgrtl.h" -#include "params.h" #include "dumpfile.h" #include "loop-unroll.h" #include "regs.h" diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index d40ad37cced..5dbf505edb2 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -52,7 +52,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgrtl.h" #include "cfgloop.h" #include "expr.h" -#include "params.h" #include "rtl-iter.h" #include "dumpfile.h" diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 551405ad0d1..6b24400b02b 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see #include "profile.h" #include "cfgrtl.h" #include "cfgloop.h" -#include "params.h" #include "dojump.h" #include "expr.h" #include "dumpfile.h" diff --git a/gcc/lra-assigns.c b/gcc/lra-assigns.c index 56ab9631089..ca51be7a68e 100644 --- a/gcc/lra-assigns.c +++ b/gcc/lra-assigns.c @@ -91,7 +91,6 @@ along with GCC; see the file COPYING3. If not see #include "recog.h" #include "rtl-error.h" #include "sparseset.h" -#include "params.h" #include "lra.h" #include "lra-int.h" #include "function-abi.h" diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index ced7be79017..54b5ae5cffe 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -127,7 +127,6 @@ #include "expr.h" #include "cfgrtl.h" #include "rtl-error.h" -#include "params.h" #include "lra.h" #include "lra-int.h" #include "print-rtl.h" diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 01b86f4e957..cd035e60b9b 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,9 @@ +2019-11-12 Martin Liska + + * lto-common.c: Do not include params.h. + * lto-partition.c: Likewise. + * lto.c: Likewise. + 2019-11-12 Martin Liska * lto-partition.c (lto_balanced_map): Replace old parameter syntax diff --git a/gcc/lto/lto-common.c b/gcc/lto/lto-common.c index eb4ceeacf3e..76a9d9383d5 100644 --- a/gcc/lto/lto-common.c +++ b/gcc/lto/lto-common.c @@ -47,7 +47,6 @@ along with GCC; see the file COPYING3. If not see #include "context.h" #include "pass_manager.h" #include "ipa-fnsummary.h" -#include "params.h" #include "ipa-utils.h" #include "gomp-constants.h" #include "lto-symtab.h" diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c index 5354350378b..75cfdaabf42 100644 --- a/gcc/lto/lto-partition.c +++ b/gcc/lto/lto-partition.c @@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see #include "stringpool.h" #include "cgraph.h" #include "lto-streamer.h" -#include "params.h" #include "symbol-summary.h" #include "tree-vrp.h" #include "ipa-prop.h" diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 1d2d52754c7..b7e6ffd8c8b 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -46,7 +46,6 @@ along with GCC; see the file COPYING3. If not see #include "context.h" #include "pass_manager.h" #include "ipa-fnsummary.h" -#include "params.h" #include "ipa-utils.h" #include "gomp-constants.h" #include "lto-symtab.h" diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index 3127fb1481e..98af5498a99 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -39,7 +39,6 @@ along with GCC; see the file COPYING3. If not see #include "sched-int.h" #include "cfgloop.h" #include "expr.h" -#include "params.h" #include "ddg.h" #include "tree-pass.h" #include "dbgcnt.h" diff --git a/gcc/opt-suggestions.c b/gcc/opt-suggestions.c index 1ec94203c81..609e60bd20a 100644 --- a/gcc/opt-suggestions.c +++ b/gcc/opt-suggestions.c @@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "tm.h" #include "opts.h" -#include "params.h" #include "spellcheck.h" #include "opt-suggestions.h" #include "common/common-target.h" diff --git a/gcc/opts.c b/gcc/opts.c index a47517df80e..f9c6f20c025 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -25,7 +25,6 @@ along with GCC; see the file COPYING3. If not see #include "opts.h" #include "tm.h" #include "flags.h" -#include "params.h" #include "diagnostic.h" #include "opts-diagnostic.h" #include "insn-attr-common.h" diff --git a/gcc/params-enum.h b/gcc/params-enum.h deleted file mode 100644 index 343355047be..00000000000 --- a/gcc/params-enum.h +++ /dev/null @@ -1,39 +0,0 @@ -/* params-enums.h - Run-time parameter enums. - Copyright (C) 2015-2019 Free Software Foundation, Inc. - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 3, or (at your option) any later -version. - -GCC is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -#define DEFPARAM(ENUM, OPTION, HELP, DEFAULT, MIN, MAX) -#define DEFPARAMENUMNAME(ENUM) ENUM ## _KIND -#define DEFPARAMENUMVAL(ENUM, V) ENUM ## _KIND_ ## V -#define DEFPARAMENUMTERM(ENUM) ENUM ## _KIND_ ## LAST -#define DEFPARAMENUM5(ENUM, OPTION, HELP, DEFAULT, V0, V1, V2, V3, V4) \ - enum DEFPARAMENUMNAME (ENUM) \ - { \ - DEFPARAMENUMVAL (ENUM, V0), \ - DEFPARAMENUMVAL (ENUM, V1), \ - DEFPARAMENUMVAL (ENUM, V2), \ - DEFPARAMENUMVAL (ENUM, V3), \ - DEFPARAMENUMVAL (ENUM, V4), \ - DEFPARAMENUMTERM (ENUM) \ - }; -#include "params.def" -#undef DEFPARAMENUM5 -#undef DEFPARAMENUMTERM -#undef DEFPARAMENUMVAL -#undef DEFPARAMENUMNAME -#undef DEFPARAM diff --git a/gcc/params-list.h b/gcc/params-list.h deleted file mode 100644 index 6c0fbc7b1b0..00000000000 --- a/gcc/params-list.h +++ /dev/null @@ -1,26 +0,0 @@ -/* File used to generate params.list - Copyright (C) 2015-2019 Free Software Foundation, Inc. - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 3, or (at your option) any later -version. - -GCC is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -#define DEFPARAM(enumerator, option, nocmsgid, default, min, max) \ - enumerator, -#define DEFPARAMENUM5(enumerator, option, nocmsgid, default, \ - v0, v1, v2, v3, v4) enumerator, -#include "params.def" -#undef DEFPARAM -#undef DEFPARAMENUM5 diff --git a/gcc/params-options.h b/gcc/params-options.h deleted file mode 100644 index d2cb13dd0bb..00000000000 --- a/gcc/params-options.h +++ /dev/null @@ -1,27 +0,0 @@ -/* File used to generate params.list - Copyright (C) 2015-2019 Free Software Foundation, Inc. - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 3, or (at your option) any later -version. - -GCC is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -#define DEFPARAM(enumerator, option, nocmsgid, default, min, max) \ - option=default,min,max -#define DEFPARAMENUM5(enumerator, option, nocmsgid, default, \ - v0, v1, v2, v3, v4) \ - option=v0,v1,v2,v3,v4 -#include "params.def" -#undef DEFPARAM -#undef DEFPARAMENUM5 diff --git a/gcc/params.c b/gcc/params.c deleted file mode 100644 index 8d5e58f3145..00000000000 --- a/gcc/params.c +++ /dev/null @@ -1,302 +0,0 @@ -/* params.c - Run-time parameters. - Copyright (C) 2001-2019 Free Software Foundation, Inc. - Written by Mark Mitchell . - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 3, or (at your option) any later -version. - -GCC is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -#include "config.h" -#include "system.h" -#include "coretypes.h" -#include "common/common-target.h" -#include "params.h" -#include "params-enum.h" -#include "diagnostic-core.h" -#include "diagnostic.h" -#include "spellcheck.h" - -/* An array containing the compiler parameters and their current - values. */ - -param_info *compiler_params; - -/* The number of entries in the table. */ -static size_t num_compiler_params; - -/* Whether the parameters have all been initialized and had their - default values determined. */ -static bool params_finished; - -#define DEFPARAM(ENUM, OPTION, HELP, DEFAULT, MIN, MAX) -#define DEFPARAMENUM5(ENUM, OPTION, HELP, DEFAULT, V0, V1, V2, V3, V4) \ - static const char *values_ ## ENUM [] = { #V0, #V1, #V2, #V3, #V4, NULL }; -#include "params.def" -#undef DEFPARAMENUM5 -#undef DEFPARAM - -static const param_info lang_independent_params[] = { -#define DEFPARAM(ENUM, OPTION, HELP, DEFAULT, MIN, MAX) \ - { OPTION, DEFAULT, MIN, MAX, HELP, NULL }, -#define DEFPARAMENUM5(ENUM, OPTION, HELP, DEFAULT, \ - V0, V1, V2, V3, V4) \ - { OPTION, (int)ENUM ## _KIND_ ## DEFAULT, 0, 4, HELP, values_ ## ENUM }, -#include "params.def" -#undef DEFPARAM -#undef DEFPARAMENUM5 - { NULL, 0, 0, 0, NULL, NULL } -}; - -static bool -validate_param (const int value, const param_info param, const int index); - - -/* Add the N PARAMS to the current list of compiler parameters. */ - -void -add_params (const param_info params[], size_t n) -{ - gcc_assert (!params_finished); - - /* Allocate enough space for the new parameters. */ - compiler_params = XRESIZEVEC (param_info, compiler_params, - num_compiler_params + n); - param_info *dst_params = compiler_params + num_compiler_params; - - /* Copy them into the table. */ - memcpy (dst_params, params, n * sizeof (param_info)); - - /* Keep track of how many parameters we have. */ - num_compiler_params += n; - - /* Initialize the pretty printing machinery in case we need to print an error, - but be sure not to initialize it if something else already has, e.g. a - language front-end like cc1. */ - if (!diagnostic_ready_p ()) - diagnostic_initialize (global_dc, 0); - - /* Now perform some validation and validation failures trigger an error so - initialization will stop. */ - for (size_t i = num_compiler_params - n; i < n; i++) - validate_param (params[i].default_value, params[i], (int)i); -} - -/* Add all parameters and default values that can be set in both the - driver and the compiler proper. */ - -void -global_init_params (void) -{ - gcc_assert (!params_finished); - - add_params (lang_independent_params, LAST_PARAM); - targetm_common.option_default_params (); -} - -/* Note that all parameters have been added and all default values - set. */ - -void -finish_params (void) -{ - params_finished = true; -} - -/* Reset all state within params.c so that we can rerun the compiler - within the same process. For use by toplev::finalize. */ - -void -params_c_finalize (void) -{ - XDELETEVEC (compiler_params); - compiler_params = NULL; - num_compiler_params = 0; - params_finished = false; -} - -/* Set the value of the parameter given by NUM to VALUE in PARAMS and - PARAMS_SET. If EXPLICIT_P, this is being set by the user; - otherwise it is being set implicitly by the compiler. */ - -static void -set_param_value_internal (compiler_param num, int value, - int *params, int *params_set, - bool explicit_p) -{ - size_t i = (size_t) num; - - gcc_assert (params_finished); - - params[i] = value; - if (explicit_p) - params_set[i] = true; -} - -/* Validate PARAM and write an error if invalid. */ - -static bool -validate_param (const int value, const param_info param, const int index) -{ - /* These paremeters interpret bounds of 0 to be unbounded, as such don't - perform any range validation on 0 parameters. */ - if (value < param.min_value && param.min_value != 0) - { - error ("minimum value of parameter %qs is %u", - param.option, param.min_value); - return false; - } - else if (param.max_value > param.min_value && value > param.max_value) - { - error ("maximum value of parameter %qs is %u", - param.option, param.max_value); - return false; - } - else if (targetm_common.option_validate_param (value, index)) - return true; - - return false; -} - -/* Return true if it can find the matching entry for NAME in the parameter - table, and assign the entry index to INDEX. Return false otherwise. */ - -bool -find_param (const char *name, enum compiler_param *index) -{ - for (size_t i = 0; i < num_compiler_params; ++i) - if (strcmp (compiler_params[i].option, name) == 0) - { - *index = (enum compiler_param) i; - return true; - } - - return false; -} - -/* Look for the closest match for NAME in the parameter table, returning it - if it is a reasonable suggestion for a misspelling. Return NULL - otherwise. */ - -const char * -find_param_fuzzy (const char *name) -{ - best_match bm (name); - for (size_t i = 0; i < num_compiler_params; ++i) - bm.consider (compiler_params[i].option); - return bm.get_best_meaningful_candidate (); -} - -/* Return true if param with entry index INDEX should be defined using strings. - If so, return the value corresponding to VALUE_NAME in *VALUE_P. */ - -bool -param_string_value_p (enum compiler_param index, const char *value_name, - int *value_p) -{ - param_info *entry = &compiler_params[(int) index]; - if (entry->value_names == NULL) - return false; - - *value_p = -1; - - for (int i = 0; entry->value_names[i] != NULL; ++i) - if (strcmp (entry->value_names[i], value_name) == 0) - { - *value_p = i; - return true; - } - - return true; -} - -/* Set the VALUE associated with the parameter given by NAME in PARAMS - and PARAMS_SET. */ - -void -set_param_value (const char *name, int value, - int *params, int *params_set) -{ - size_t i; - - /* Make sure nobody tries to set a parameter to an invalid value. */ - gcc_assert (value != INVALID_PARAM_VAL); - - enum compiler_param index; - if (!find_param (name, &index)) - { - /* If we didn't find this parameter, issue an error message. */ - error ("invalid parameter %qs", name); - return; - } - i = (size_t)index; - - if (validate_param (value, compiler_params[i], i)) - set_param_value_internal ((compiler_param) i, value, - params, params_set, true); -} - -/* Set the value of the parameter given by NUM to VALUE in PARAMS and - PARAMS_SET, implicitly, if it has not been set explicitly by the - user either via the commandline or configure. */ - -void -maybe_set_param_value (compiler_param num, int value, - int *params, int *params_set) -{ - if (!params_set[(int) num]) - set_param_value_internal (num, value, params, params_set, false); -} - -/* Set the default value of a parameter given by NUM to VALUE, before - option processing. */ - -void -set_default_param_value (compiler_param num, int value) -{ - gcc_assert (!params_finished); - - compiler_params[(int) num].default_value = value; -} - -/* Return the default value of parameter NUM. */ - -int -default_param_value (compiler_param num) -{ - return compiler_params[(int) num].default_value; -} - -/* Initialize an array PARAMS with default values of the - parameters. */ - -void -init_param_values (int *params) -{ - size_t i; - - gcc_assert (params_finished); - - for (i = 0; i < num_compiler_params; i++) - params[i] = compiler_params[i].default_value; -} - -/* Return the current value of num_compiler_params, for the benefit of - plugins that use parameters as features. */ - -size_t -get_num_compiler_params (void) -{ - return num_compiler_params; -} diff --git a/gcc/params.def b/gcc/params.def deleted file mode 100644 index df7d1f7c5e7..00000000000 --- a/gcc/params.def +++ /dev/null @@ -1,1501 +0,0 @@ -/* params.def - Run-time parameters. - Copyright (C) 2001-2019 Free Software Foundation, Inc. - Written by Mark Mitchell . - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 3, or (at your option) any later -version. - -GCC is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -/* This file contains definitions for language-independent - parameters. The DEFPARAM macro takes 6 arguments: - - - The enumeral corresponding to this parameter. - - - The name that can be used to set this parameter using the - command-line option `--param ='. - - - A help string explaining how the parameter is used. - - - A default value for the parameter. - - - The minimum acceptable value for the parameter. - - - The maximum acceptable value for the parameter (if greater than - the minimum). - - The DEFPARAMENUM macro is similar, but instead of the minumum and maximum - arguments, it contains a list of allowed strings, corresponding to - integer values 0..-1. Note that the default argument needs to be - specified as one of the allowed strings, rather than an integer value. - - Be sure to add an entry to invoke.texi summarizing the parameter. */ - -/* When branch is predicted to be taken with probability lower than this - threshold (in percent), then it is considered well predictable. */ -DEFPARAM (PARAM_PREDICTABLE_BRANCH_OUTCOME, - "predictable-branch-outcome", - "Maximal estimated outcome of branch considered predictable.", - 2, 0, 50) - -DEFPARAM (PARAM_INLINE_MIN_SPEEDUP, - "inline-min-speedup", - "The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-insns-auto with -O3 and -Ofast.", - 15, 0, 100) - -DEFPARAM (PARAM_INLINE_MIN_SPEEDUP_O2, - "inline-min-speedup-O2", - "The minimal estimated speedup allowing inliner to ignore inline-insns-single and inline-insns-auto.", - 30, 0, 100) - -/* The single function inlining limit. This is the maximum size - of a function counted in internal gcc instructions (not in - real machine instructions) that is eligible for inlining - by the tree inliner. - Only functions marked inline (or methods defined in the class - definition for C++) are affected by this. - There are more restrictions to inlining: If inlined functions - call other functions, the already inlined instructions are - counted and once the recursive inline limit (see - "max-inline-insns" parameter) is exceeded, the acceptable size - gets decreased. */ -DEFPARAM (PARAM_MAX_INLINE_INSNS_SINGLE, - "max-inline-insns-single", - "The maximum number of instructions in a single function eligible for inlining with -O3 and -Ofast.", - 200, 0, 0) - -DEFPARAM (PARAM_MAX_INLINE_INSNS_SINGLE_O2, - "max-inline-insns-single-O2", - "The maximum number of instructions in a single function eligible for inlining.", - 30, 0, 0) - -/* The single function inlining limit for functions that are - inlined by virtue of -finline-functions (-O3). - This limit should be chosen to be below or equal to the limit - that is applied to functions marked inlined (or defined in the - class declaration in C++) given by the "max-inline-insns-single" - parameter. - The default value is 30. */ -DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO, - "max-inline-insns-auto", - "The maximum number of instructions when automatically inlining with -O3 and -Ofast.", - 30, 0, 0) - -DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO_O2, - "max-inline-insns-auto-O2", - "The maximum number of instructions when automatically inlining.", - 15, 0, 0) - -DEFPARAM (PARAM_MAX_INLINE_INSNS_SMALL, - "max-inline-insns-small", - "The maximum number of instructions when automatically inlining small functions.", - 0, 0, 0) - -DEFPARAM (PARAM_INLINE_HEURISTICS_HINT_PERCENT, - "inline-heuristics-hint-percent", - "The scale (in percents) applied to inline-insns-single and auto limits when heuristics hints that inlining is very profitable with -O3 and -Ofast.", - 600, 100, 1000000) - -DEFPARAM (PARAM_INLINE_HEURISTICS_HINT_PERCENT_O2, - "inline-heuristics-hint-percent-O2", - "The scale (in percents) applied to inline-insns-single and auto limits when heuristics hints that inlining is very profitable.", - 200, 100, 1000000) - -DEFPARAM (PARAM_MAX_INLINE_INSNS_SIZE, - "max-inline-insns-size", - "The maximum number of instructions when inlining for size.", - 0, 0, 0) - -DEFPARAM (PARAM_UNINLINED_FUNCTION_INSNS, - "uninlined-function-insns", - "Instruction accounted for function prologue, epilogue and other" - " overhead.", - 2, 0, 1000000) - -DEFPARAM (PARAM_UNINLINED_FUNCTION_TIME, - "uninlined-function-time", - "Time accounted for function prologue, epilogue and other" - " overhead.", - 0, 0, 1000000) - -DEFPARAM (PARAM_UNINLINED_FUNCTION_THUNK_INSNS, - "uninlined-thunk-insns", - "Instruction accounted for function thunk overhead.", - 2, 0, 1000000) - -DEFPARAM (PARAM_UNINLINED_FUNCTION_THUNK_TIME, - "uninlined-thunk-time", - "Time accounted for function thunk overhead.", - 2, 0, 1000000) - -DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE, - "max-inline-insns-recursive", - "The maximum number of instructions inline function can grow to via recursive inlining.", - 450, 0, 0) - -DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE_AUTO, - "max-inline-insns-recursive-auto", - "The maximum number of instructions non-inline function can grow to via recursive inlining.", - 450, 0, 0) - -DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEPTH, - "max-inline-recursive-depth", - "The maximum depth of recursive inlining for inline functions.", - 8, 0, 0) - -DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEPTH_AUTO, - "max-inline-recursive-depth-auto", - "The maximum depth of recursive inlining for non-inline functions.", - 8, 0, 0) - -DEFPARAM (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY, - "min-inline-recursive-probability", - "Inline recursively only when the probability of call being executed exceeds the parameter.", - 10, 0, 0) - -/* Limit of iterations of early inliner. This basically bounds number of - nested indirect calls early inliner can resolve. Deeper chains are still - handled by late inlining. */ -DEFPARAM (PARAM_EARLY_INLINER_MAX_ITERATIONS, - "max-early-inliner-iterations", - "The maximum number of nested indirect inlining performed by early inliner.", - 1, 0, 0) - -/* Limit on probability of entry BB. */ -DEFPARAM (PARAM_COMDAT_SHARING_PROBABILITY, - "comdat-sharing-probability", - "Probability that COMDAT function will be shared with different compilation unit.", - 20, 0, 0) - -/* Limit on probability of entry BB. */ -DEFPARAM (PARAM_PARTIAL_INLINING_ENTRY_PROBABILITY, - "partial-inlining-entry-probability", - "Maximum probability of the entry BB of split region (in percent relative to entry BB of the function) to make partial inlining happen.", - 70, 0, 100) - -/* Limit the number of expansions created by the variable expansion - optimization to avoid register pressure. */ -DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS, - "max-variable-expansions-in-unroller", - "If -fvariable-expansion-in-unroller is used, the maximum number of times that an individual variable will be expanded during loop unrolling.", - 1, 0, 0) - -/* Limit loop autovectorization to loops with large enough iteration count. */ -DEFPARAM (PARAM_MIN_VECT_LOOP_BOUND, - "min-vect-loop-bound", - "If -ftree-vectorize is used, the minimal loop bound of a loop to be considered for vectorization.", - 0, 0, 0) - -/* The maximum number of instructions to consider when looking for an - instruction to fill a delay slot. If more than this arbitrary - number of instructions is searched, the time savings from filling - the delay slot will be minimal so stop searching. Increasing - values mean more aggressive optimization, making the compile time - increase with probably small improvement in executable run time. */ -DEFPARAM (PARAM_MAX_DELAY_SLOT_INSN_SEARCH, - "max-delay-slot-insn-search", - "The maximum number of instructions to consider to fill a delay slot.", - 100, 0, 0) - -/* When trying to fill delay slots, the maximum number of instructions - to consider when searching for a block with valid live register - information. Increasing this arbitrarily chosen value means more - aggressive optimization, increasing the compile time. This - parameter should be removed when the delay slot code is rewritten - to maintain the control-flow graph. */ -DEFPARAM(PARAM_MAX_DELAY_SLOT_LIVE_SEARCH, - "max-delay-slot-live-search", - "The maximum number of instructions to consider to find accurate live register information.", - 333, 0, 0) - -/* This parameter limits the number of branch elements that the - scheduler will track anti-dependencies through without resetting - the tracking mechanism. Large functions with few calls or barriers - can generate lists containing many 1000's of dependencies. Generally - the compiler either uses all available memory, or runs for far too long. */ -DEFPARAM(PARAM_MAX_PENDING_LIST_LENGTH, - "max-pending-list-length", - "The maximum length of scheduling's pending operations list.", - 32, 0, 0) - -/* This parameter limits the number of backtracking attempts when using the - haifa scheduler for modulo scheduling. */ -DEFPARAM(PARAM_MAX_MODULO_BACKTRACK_ATTEMPTS, - "max-modulo-backtrack-attempts", - "The maximum number of backtrack attempts the scheduler should make when modulo scheduling a loop.", - 40, 0, 0) - -DEFPARAM(PARAM_LARGE_FUNCTION_INSNS, - "large-function-insns", - "The size of function body to be considered large.", - 2700, 0, 0) -DEFPARAM(PARAM_LARGE_FUNCTION_GROWTH, - "large-function-growth", - "Maximal growth due to inlining of large function (in percent).", - 100, 0, 0) -DEFPARAM(PARAM_LARGE_UNIT_INSNS, - "large-unit-insns", - "The size of translation unit to be considered large.", - 10000, 0, 0) -DEFPARAM(PARAM_INLINE_UNIT_GROWTH, - "inline-unit-growth", - "How much can given compilation unit grow because of the inlining (in percent).", - 40, 0, 0) -DEFPARAM(PARAM_IPCP_UNIT_GROWTH, - "ipcp-unit-growth", - "How much can given compilation unit grow because of the interprocedural constant propagation (in percent).", - 10, 0, 0) -DEFPARAM(PARAM_EARLY_INLINING_INSNS, - "early-inlining-insns", - "Maximal estimated growth of function body caused by early inlining of single call with -O3 and -Ofast.", - 14, 0, 0) -DEFPARAM(PARAM_EARLY_INLINING_INSNS_O2, - "early-inlining-insns-O2", - "Maximal estimated growth of function body caused by early inlining of single call with -O1 and -O2.", - 6, 0, 0) -DEFPARAM(PARAM_LARGE_STACK_FRAME, - "large-stack-frame", - "The size of stack frame to be considered large.", - 256, 0, 0) -DEFPARAM(PARAM_STACK_FRAME_GROWTH, - "large-stack-frame-growth", - "Maximal stack frame growth due to inlining (in percent).", - 1000, 0, 0) - -/* Keep these up to date with those in configure.ac. */ -DEFPARAM(PARAM_STACK_CLASH_PROTECTION_GUARD_SIZE, - "stack-clash-protection-guard-size", - "Size of the stack guard expressed as a power of two in bytes.", - 12, 12, 30) - -DEFPARAM(PARAM_STACK_CLASH_PROTECTION_PROBE_INTERVAL, - "stack-clash-protection-probe-interval", - "Interval in which to probe the stack expressed as a power of two in bytes.", - 12, 10, 16) - -/* The GCSE optimization will be disabled if it would require - significantly more memory than this value. */ -DEFPARAM(PARAM_MAX_GCSE_MEMORY, - "max-gcse-memory", - "The maximum amount of memory to be allocated by GCSE.", - 128 * 1024 * 1024, 0, 0) - -/* The GCSE optimization of an expression will avoided if the ratio of - insertions to deletions is greater than this value. */ -DEFPARAM(PARAM_MAX_GCSE_INSERTION_RATIO, - "max-gcse-insertion-ratio", - "The maximum ratio of insertions to deletions of expressions in GCSE.", - 20, 0, 0) - -/* This is the threshold ratio when to perform partial redundancy - elimination after reload. We perform partial redundancy elimination - when the following holds: - (Redundant load execution count) - ------------------------------- >= GCSE_AFTER_RELOAD_PARTIAL_FRACTION - (Added loads execution count) */ -DEFPARAM(PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION, - "gcse-after-reload-partial-fraction", - "The threshold ratio for performing partial redundancy elimination after reload.", - 3, 0, 0) -/* This is the threshold ratio of the critical edges execution count compared to - the redundant loads execution count that permits performing the load - redundancy elimination in gcse after reload. */ -DEFPARAM(PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION, - "gcse-after-reload-critical-fraction", - "The threshold ratio of critical edges execution count that permit performing redundancy elimination after reload.", - 10, 0, 0) - -/* GCSE will use GCSE_COST_DISTANCE_RATION as a scaling factor - to calculate maximum distance for which an expression is allowed to move - from its rtx_cost. */ -DEFPARAM(PARAM_GCSE_COST_DISTANCE_RATIO, - "gcse-cost-distance-ratio", - "Scaling factor in calculation of maximum distance an expression can be moved by GCSE optimizations.", - 10, 0, 0) -/* GCSE won't restrict distance for which an expression with rtx_cost greater - than COSTS_N_INSN(GCSE_UNRESTRICTED_COST) is allowed to move. */ -DEFPARAM(PARAM_GCSE_UNRESTRICTED_COST, - "gcse-unrestricted-cost", - "Cost at which GCSE optimizations will not constraint the distance an expression can travel.", - 3, 0, 0) - -/* How deep from a given basic block the dominator tree should be searched - for expressions to hoist to the block. The value of 0 will avoid limiting - the search. */ -DEFPARAM(PARAM_MAX_HOIST_DEPTH, - "max-hoist-depth", - "Maximum depth of search in the dominator tree for expressions to hoist.", - 30, 0, 0) - - -/* When synthesizing expnonentiation by a real constant operations using square - roots, this controls how deep sqrt chains we are willing to generate. */ -DEFPARAM(PARAM_MAX_POW_SQRT_DEPTH, - "max-pow-sqrt-depth", - "Maximum depth of sqrt chains to use when synthesizing exponentiation by a real constant.", - 5, 1, 32) - -/* This parameter limits the number of insns in a loop that will be unrolled, - and by how much the loop is unrolled. - - This limit should be at most half of the peeling limits: loop unroller - decides to not unroll loops that iterate fewer than 2*number of allowed - unrollings and thus we would have loops that are neither peeled or unrolled - otherwise. */ -DEFPARAM(PARAM_MAX_UNROLLED_INSNS, - "max-unrolled-insns", - "The maximum number of instructions to consider to unroll in a loop.", - 200, 0, 0) -/* This parameter limits how many times the loop is unrolled depending - on number of insns really executed in each iteration. */ -DEFPARAM(PARAM_MAX_AVERAGE_UNROLLED_INSNS, - "max-average-unrolled-insns", - "The maximum number of instructions to consider to unroll in a loop on average.", - 80, 0, 0) -/* The maximum number of unrollings of a single loop. */ -DEFPARAM(PARAM_MAX_UNROLL_TIMES, - "max-unroll-times", - "The maximum number of unrollings of a single loop.", - 8, 0, 0) -/* The maximum number of insns of a peeled loop. */ -DEFPARAM(PARAM_MAX_PEELED_INSNS, - "max-peeled-insns", - "The maximum number of insns of a peeled loop.", - 100, 0, 0) -/* The maximum number of peelings of a single loop. */ -DEFPARAM(PARAM_MAX_PEEL_TIMES, - "max-peel-times", - "The maximum number of peelings of a single loop.", - 16, 0, 0) -/* The maximum number of peelings of a single loop that is peeled completely. */ -DEFPARAM(PARAM_MAX_PEEL_BRANCHES, - "max-peel-branches", - "The maximum number of branches on the path through the peeled sequence.", - 32, 0, 0) -/* The maximum number of insns of a peeled loop. */ -DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS, - "max-completely-peeled-insns", - "The maximum number of insns of a completely peeled loop.", - 200, 0, 0) -/* The maximum number of peelings of a single loop that is peeled completely. */ -DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES, - "max-completely-peel-times", - "The maximum number of peelings of a single loop that is peeled completely.", - 16, 0, 0) -/* The maximum number of insns of a peeled loop that rolls only once. */ -DEFPARAM(PARAM_MAX_ONCE_PEELED_INSNS, - "max-once-peeled-insns", - "The maximum number of insns of a peeled loop that rolls only once.", - 400, 0, 0) -/* The maximum depth of a loop nest we completely peel. */ -DEFPARAM(PARAM_MAX_UNROLL_ITERATIONS, - "max-completely-peel-loop-nest-depth", - "The maximum depth of a loop nest we completely peel.", - 8, 0, 0) - -/* The maximum number of insns of an unswitched loop. */ -DEFPARAM(PARAM_MAX_UNSWITCH_INSNS, - "max-unswitch-insns", - "The maximum number of insns of an unswitched loop.", - 50, 0, 0) -/* The maximum level of recursion in unswitch_single_loop. */ -DEFPARAM(PARAM_MAX_UNSWITCH_LEVEL, - "max-unswitch-level", - "The maximum number of unswitchings in a single loop.", - 3, 0, 0) - -DEFPARAM(PARAM_MIN_LOOP_COND_SPLIT_PROB, - "min-loop-cond-split-prob", - "The minimum threshold for probability of semi-invariant condition " - "statement to trigger loop split.", - 30, 0, 100) - -/* The maximum number of insns in loop header duplicated by the copy loop - headers pass. */ -DEFPARAM(PARAM_MAX_LOOP_HEADER_INSNS, - "max-loop-header-insns", - "The maximum number of insns in loop header duplicated by the copy loop headers pass.", - 20, 0, 0) - -/* The maximum number of iterations of a loop the brute force algorithm - for analysis of # of iterations of the loop tries to evaluate. */ -DEFPARAM(PARAM_MAX_ITERATIONS_TO_TRACK, - "max-iterations-to-track", - "Bound on the number of iterations the brute force # of iterations analysis algorithm evaluates.", - 1000, 0, 0) -/* A cutoff to avoid costly computations of the number of iterations in - the doloop transformation. */ -DEFPARAM(PARAM_MAX_ITERATIONS_COMPUTATION_COST, - "max-iterations-computation-cost", - "Bound on the cost of an expression to compute the number of iterations.", - 10, 0, 0) - -/* This parameter is used to tune SMS MAX II calculations. */ -DEFPARAM(PARAM_SMS_MAX_II_FACTOR, - "sms-max-ii-factor", - "A factor for tuning the upper bound that swing modulo scheduler uses for scheduling a loop.", - 100, 0, 0) -/* The minimum value of stage count that swing modulo scheduler will generate. */ -DEFPARAM(PARAM_SMS_MIN_SC, - "sms-min-sc", - "The minimum value of stage count that swing modulo scheduler will generate.", - 2, 1, 1) -DEFPARAM(PARAM_SMS_DFA_HISTORY, - "sms-dfa-history", - "The number of cycles the swing modulo scheduler considers when checking conflicts using DFA.", - 0, 0, 0) -DEFPARAM(PARAM_SMS_LOOP_AVERAGE_COUNT_THRESHOLD, - "sms-loop-average-count-threshold", - "A threshold on the average loop count considered by the swing modulo scheduler.", - 0, 0, 0) - -DEFPARAM(HOT_BB_COUNT_FRACTION, - "hot-bb-count-fraction", - "The denominator n of fraction 1/n of the maximal execution count of " - "a basic block in the entire program that a basic block needs to at " - "least have in order to be considered hot (used in non-LTO mode).", - 10000, 0, 0) - -DEFPARAM(HOT_BB_COUNT_WS_PERMILLE, - "hot-bb-count-ws-permille", - "The number of most executed permilles of the profiled execution of " - "the entire program to which the execution count of a basic block " - "must be part of in order to be considered hot (used in LTO mode).", - 990, 0, 1000) - -DEFPARAM(HOT_BB_FREQUENCY_FRACTION, - "hot-bb-frequency-fraction", - "The denominator n of fraction 1/n of the execution frequency of the " - "entry block of a function that a basic block of this function needs " - "to at least have in order to be considered hot.", - 1000, 0, 0) - -DEFPARAM(UNLIKELY_BB_COUNT_FRACTION, - "unlikely-bb-count-fraction", - "The denominator n of fraction 1/n of the number of profiled runs of " - "the entire program below which the execution count of a basic block " - "must be in order for the basic block to be considered unlikely.", - 20, 0, 0) - -DEFPARAM (PARAM_ALIGN_THRESHOLD, - "align-threshold", - "Select fraction of the maximal frequency of executions of basic block in function given basic block get alignment.", - 100, 1, 0) - -DEFPARAM (PARAM_ALIGN_LOOP_ITERATIONS, - "align-loop-iterations", - "Loops iterating at least selected number of iterations will get " - "loop alignment.", 4, 0, 0) - -/* For guessed profiles, the loops having unknown number of iterations - are predicted to iterate relatively few (10) times at average. - For functions containing one loop with large known number of iterations - and other loops having unbounded loops we would end up predicting all - the other loops cold that is not usually the case. So we need to artificially - flatten the profile. - - We need to cut the maximal predicted iterations to large enough iterations - so the loop appears important, but safely within maximum hotness - range. */ - -DEFPARAM(PARAM_MAX_PREDICTED_ITERATIONS, - "max-predicted-iterations", - "The maximum number of loop iterations we predict statically.", - 100, 0, 0) - -/* This parameter controls the probability of builtin_expect. The default - value is 90%. This empirical value is obtained through the weighted - probability of FDO counters (with the FDO count value as the weight) - in some real world programs: - (1) Google performance test benchmarks: the probability is 0.9081. - (2) Linux 3.3 kernel running Google search workload: the probability - is 0.8717. */ - -DEFPARAM(BUILTIN_EXPECT_PROBABILITY, - "builtin-expect-probability", - "Set the estimated probability in percentage for builtin expect. The default value is 90% probability.", - 90, 0, 100) -DEFPARAM(BUILTIN_STRING_CMP_INLINE_LENGTH, - "builtin-string-cmp-inline-length", - "The maximum length of a constant string for a builtin string cmp call eligible for inlining. The default value is 3.", - 3, 0, 100) -DEFPARAM(TRACER_DYNAMIC_COVERAGE_FEEDBACK, - "tracer-dynamic-coverage-feedback", - "The percentage of function, weighted by execution frequency, that must be covered by trace formation. Used when profile feedback is available.", - 95, 0, 100) -DEFPARAM(TRACER_DYNAMIC_COVERAGE, - "tracer-dynamic-coverage", - "The percentage of function, weighted by execution frequency, that must be covered by trace formation. Used when profile feedback is not available.", - 75, 0, 100) -DEFPARAM(TRACER_MAX_CODE_GROWTH, - "tracer-max-code-growth", - "Maximal code growth caused by tail duplication (in percent).", - 100, 0, 0) -DEFPARAM(TRACER_MIN_BRANCH_RATIO, - "tracer-min-branch-ratio", - "Stop reverse growth if the reverse probability of best edge is less than this threshold (in percent).", - 10, 0, 100) -DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY_FEEDBACK, - "tracer-min-branch-probability-feedback", - "Stop forward growth if the probability of best edge is less than this threshold (in percent). Used when profile feedback is available.", - 80, 0, 100) -DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY, - "tracer-min-branch-probability", - "Stop forward growth if the probability of best edge is less than this threshold (in percent). Used when profile feedback is not available.", - 50, 0, 100) - -/* The maximum number of incoming edges to consider for crossjumping. */ -DEFPARAM(PARAM_MAX_CROSSJUMP_EDGES, - "max-crossjump-edges", - "The maximum number of incoming edges to consider for crossjumping.", - 100, 0, 0) - -/* The minimum number of matching instructions to consider for crossjumping. */ -DEFPARAM(PARAM_MIN_CROSSJUMP_INSNS, - "min-crossjump-insns", - "The minimum number of matching instructions to consider for crossjumping.", - 5, 1, 0) - -/* The maximum number expansion factor when copying basic blocks. */ -DEFPARAM(PARAM_MAX_GROW_COPY_BB_INSNS, - "max-grow-copy-bb-insns", - "The maximum expansion factor when copying basic blocks.", - 8, 0, 0) - -/* The maximum number of insns to duplicate when unfactoring computed gotos. */ -DEFPARAM(PARAM_MAX_GOTO_DUPLICATION_INSNS, - "max-goto-duplication-insns", - "The maximum number of insns to duplicate when unfactoring computed gotos.", - 8, 0, 0) - -/* The maximum length of path considered in cse. */ -DEFPARAM(PARAM_MAX_CSE_PATH_LENGTH, - "max-cse-path-length", - "The maximum length of path considered in cse.", - 10, 1, 0) -DEFPARAM(PARAM_MAX_CSE_INSNS, - "max-cse-insns", - "The maximum instructions CSE process before flushing.", - 1000, 0, 0) - -/* The cost of expression in loop invariant motion that is considered - expensive. */ -DEFPARAM(PARAM_LIM_EXPENSIVE, - "lim-expensive", - "The minimum cost of an expensive expression in the loop invariant motion.", - 20, 0, 0) - -/* Bound on number of candidates for induction variables below that - all candidates are considered for each use in induction variable - optimizations. */ - -DEFPARAM(PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND, - "iv-consider-all-candidates-bound", - "Bound on number of candidates below that all candidates are considered in iv optimizations.", - 40, 0, 0) - -/* The induction variable optimizations give up on loops that contain more - induction variable uses. */ - -DEFPARAM(PARAM_IV_MAX_CONSIDERED_USES, - "iv-max-considered-uses", - "Bound on number of iv uses in loop optimized in iv optimizations.", - 250, 0, 0) - -/* If there are at most this number of ivs in the set, try removing unnecessary - ivs from the set always. */ - -DEFPARAM(PARAM_IV_ALWAYS_PRUNE_CAND_SET_BOUND, - "iv-always-prune-cand-set-bound", - "If number of candidates in the set is smaller, we always try to remove unused ivs during its optimization.", - 10, 0, 0) - -DEFPARAM(PARAM_AVG_LOOP_NITER, - "avg-loop-niter", - "Average number of iterations of a loop.", - 10, 1, 0) - -DEFPARAM(PARAM_DSE_MAX_OBJECT_SIZE, - "dse-max-object-size", - "Maximum size (in bytes) of objects tracked bytewise by dead store elimination.", - 256, 0, 0) - -DEFPARAM(PARAM_DSE_MAX_ALIAS_QUERIES_PER_STORE, - "dse-max-alias-queries-per-store", - "Maximum number of queries into the alias oracle per store.", - 256, 0, 0) - -DEFPARAM(PARAM_SCEV_MAX_EXPR_SIZE, - "scev-max-expr-size", - "Bound on size of expressions used in the scalar evolutions analyzer.", - 100, 0, 0) - -DEFPARAM(PARAM_SCEV_MAX_EXPR_COMPLEXITY, - "scev-max-expr-complexity", - "Bound on the complexity of the expressions in the scalar evolutions analyzer.", - 10, 0, 0) - -DEFPARAM (PARAM_MAX_TREE_IF_CONVERSION_PHI_ARGS, - "max-tree-if-conversion-phi-args", - "Maximum number of arguments in a PHI supported by TREE if-conversion " - "unless the loop is marked with simd pragma.", - 4, 2, 0) - -DEFPARAM(PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS, - "vect-max-version-for-alignment-checks", - "Bound on number of runtime checks inserted by the vectorizer's loop versioning for alignment check.", - 6, 0, 0) - -DEFPARAM(PARAM_VECT_MAX_VERSION_FOR_ALIAS_CHECKS, - "vect-max-version-for-alias-checks", - "Bound on number of runtime checks inserted by the vectorizer's loop versioning for alias check.", - 10, 0, 0) - -DEFPARAM(PARAM_VECT_MAX_PEELING_FOR_ALIGNMENT, - "vect-max-peeling-for-alignment", - "Maximum number of loop peels to enhance alignment of data references in a loop.", - -1, -1, 64) - -DEFPARAM(PARAM_MAX_CSELIB_MEMORY_LOCATIONS, - "max-cselib-memory-locations", - "The maximum memory locations recorded by cselib.", - 500, 0, 0) - -#ifdef ENABLE_GC_ALWAYS_COLLECT -# define GGC_MIN_EXPAND_DEFAULT 0 -# define GGC_MIN_HEAPSIZE_DEFAULT 0 -#else -# define GGC_MIN_EXPAND_DEFAULT 30 -# define GGC_MIN_HEAPSIZE_DEFAULT 4096 -#endif - -DEFPARAM(GGC_MIN_EXPAND, - "ggc-min-expand", - "Minimum heap expansion to trigger garbage collection, as a percentage of the total size of the heap.", - GGC_MIN_EXPAND_DEFAULT, 0, 0) - -DEFPARAM(GGC_MIN_HEAPSIZE, - "ggc-min-heapsize", - "Minimum heap size before we start collecting garbage, in kilobytes.", - GGC_MIN_HEAPSIZE_DEFAULT, 0, 0) - -#undef GGC_MIN_EXPAND_DEFAULT -#undef GGC_MIN_HEAPSIZE_DEFAULT - -DEFPARAM(PARAM_MAX_RELOAD_SEARCH_INSNS, - "max-reload-search-insns", - "The maximum number of instructions to search backward when looking for equivalent reload.", - 100, 0, 0) - -DEFPARAM(PARAM_SINK_FREQUENCY_THRESHOLD, - "sink-frequency-threshold", - "Target block's relative execution frequency (as a percentage) required to sink a statement.", - 75, 0, 100) - -DEFPARAM(PARAM_MAX_SCHED_REGION_BLOCKS, - "max-sched-region-blocks", - "The maximum number of blocks in a region to be considered for interblock scheduling.", - 10, 0, 0) - -DEFPARAM(PARAM_MAX_SCHED_REGION_INSNS, - "max-sched-region-insns", - "The maximum number of insns in a region to be considered for interblock scheduling.", - 100, 0, 0) - -DEFPARAM(PARAM_MAX_PIPELINE_REGION_BLOCKS, - "max-pipeline-region-blocks", - "The maximum number of blocks in a region to be considered for interblock scheduling.", - 15, 0, 0) - -DEFPARAM(PARAM_MAX_PIPELINE_REGION_INSNS, - "max-pipeline-region-insns", - "The maximum number of insns in a region to be considered for interblock scheduling.", - 200, 0, 0) - -DEFPARAM(PARAM_MIN_SPEC_PROB, - "min-spec-prob", - "The minimum probability of reaching a source block for interblock speculative scheduling.", - 40, 0, 0) - -DEFPARAM(PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS, - "max-sched-extend-regions-iters", - "The maximum number of iterations through CFG to extend regions.", - 0, 0, 0) - -DEFPARAM(PARAM_MAX_SCHED_INSN_CONFLICT_DELAY, - "max-sched-insn-conflict-delay", - "The maximum conflict delay for an insn to be considered for speculative motion.", - 3, 1, 10) - -DEFPARAM(PARAM_SCHED_SPEC_PROB_CUTOFF, - "sched-spec-prob-cutoff", - "The minimal probability of speculation success (in percents), so that speculative insn will be scheduled.", - 40, 0, 100) - -DEFPARAM(PARAM_SCHED_STATE_EDGE_PROB_CUTOFF, - "sched-state-edge-prob-cutoff", - "The minimum probability an edge must have for the scheduler to save its state across it.", - 10, 0, 100) - -DEFPARAM(PARAM_SELSCHED_MAX_LOOKAHEAD, - "selsched-max-lookahead", - "The maximum size of the lookahead window of selective scheduling.", - 50, 0, 0) - -DEFPARAM(PARAM_SELSCHED_MAX_SCHED_TIMES, - "selsched-max-sched-times", - "Maximum number of times that an insn could be scheduled.", - 2, 1, 0) - -DEFPARAM(PARAM_SELSCHED_INSNS_TO_RENAME, - "selsched-insns-to-rename", - "Maximum number of instructions in the ready list that are considered eligible for renaming.", - 2, 0, 0) - -DEFPARAM (PARAM_SCHED_MEM_TRUE_DEP_COST, - "sched-mem-true-dep-cost", - "Minimal distance between possibly conflicting store and load.", - 1, 0, 0) - -DEFPARAM (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH, - "sched-autopref-queue-depth", - "Hardware autoprefetcher scheduler model control flag. Number of lookahead cycles the model looks into; at '0' only enable instruction sorting heuristic. Disabled by default.", - -1, 0, 0) - -DEFPARAM(PARAM_MAX_LAST_VALUE_RTL, - "max-last-value-rtl", - "The maximum number of RTL nodes that can be recorded as combiner's last value.", - 10000, 0, 0) - -DEFPARAM(PARAM_MAX_COMBINE_INSNS, - "max-combine-insns", - "The maximum number of insns combine tries to combine.", - 4, 2, 4) - -/* INTEGER_CST nodes are shared for values [{-1,0} .. N) for - {signed,unsigned} integral types. This determines N. - Experimentation shows 251 to be a good value that generates the - least amount of garbage for allocating the TREE_VEC storage. */ -DEFPARAM (PARAM_INTEGER_SHARE_LIMIT, - "integer-share-limit", - "The upper bound for sharing integer constants.", - 251, 2, 2) - -DEFPARAM (PARAM_SSP_BUFFER_SIZE, - "ssp-buffer-size", - "The lower bound for a buffer to be considered for stack smashing protection.", - 8, 1, 0) - -DEFPARAM (PARAM_MIN_SIZE_FOR_STACK_SHARING, - "min-size-for-stack-sharing", - "The minimum size of variables taking part in stack slot sharing " - "when not optimizing.", - 32, 0, 0) - -/* When we thread through a block we have to make copies of the - statements within the block. Clearly for large blocks the code - duplication is bad. - - PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS specifies the maximum number - of statements and PHI nodes allowed in a block which is going to - be duplicated for thread jumping purposes. - - Some simple analysis showed that more than 99% of the jump - threading opportunities are for blocks with less than 15 - statements. So we can get the benefits of jump threading - without excessive code bloat for pathological cases with the - throttle set at 15 statements. */ -DEFPARAM (PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS, - "max-jump-thread-duplication-stmts", - "Maximum number of statements allowed in a block that needs to be duplicated when threading jumps.", - 15, 0, 0) - -/* This is the maximum number of fields a variable may have before the pointer analysis machinery - will stop trying to treat it in a field-sensitive manner. - There are programs out there with thousands of fields per structure, and handling them - field-sensitively is not worth the cost. */ -DEFPARAM (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE, - "max-fields-for-field-sensitive", - "Maximum number of fields in a structure before pointer analysis treats the structure as a single variable.", - 0, 0, 0) - -DEFPARAM(PARAM_MAX_SCHED_READY_INSNS, - "max-sched-ready-insns", - "The maximum number of instructions ready to be issued to be considered by the scheduler during the first scheduling pass.", - 100, 1, 0) - -/* This is the maximum number of active local stores RTL DSE will consider. */ -DEFPARAM (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES, - "max-dse-active-local-stores", - "Maximum number of active local stores in RTL dead store elimination.", - 5000, 0, 0) - -/* Prefetching and cache-optimizations related parameters. Default values are - usually set by machine description. */ - -/* The number of insns executed before prefetch is completed. */ - -DEFPARAM (PARAM_PREFETCH_LATENCY, - "prefetch-latency", - "The number of insns executed before prefetch is completed.", - 200, 0, 0) - -/* The number of prefetches that can run at the same time. */ - -DEFPARAM (PARAM_SIMULTANEOUS_PREFETCHES, - "simultaneous-prefetches", - "The number of prefetches that can run at the same time.", - 3, 0, 0) - -/* The size of L1 cache in kB. */ - -DEFPARAM (PARAM_L1_CACHE_SIZE, - "l1-cache-size", - "The size of L1 cache.", - 64, 0, 0) - -/* The size of L1 cache line in bytes. */ - -DEFPARAM (PARAM_L1_CACHE_LINE_SIZE, - "l1-cache-line-size", - "The size of L1 cache line.", - 32, 0, 0) - -/* The size of L2 cache in kB. */ - -DEFPARAM (PARAM_L2_CACHE_SIZE, - "l2-cache-size", - "The size of L2 cache.", - 512, 0, 0) - -/* Whether software prefetch hints should be issued for non-constant - strides. */ - -DEFPARAM (PARAM_PREFETCH_DYNAMIC_STRIDES, - "prefetch-dynamic-strides", - "Whether software prefetch hints should be issued for non-constant " - "strides.", - 1, 0, 1) - -/* The minimum constant stride beyond which we should use prefetch hints - for. */ - -DEFPARAM (PARAM_PREFETCH_MINIMUM_STRIDE, - "prefetch-minimum-stride", - "The minimum constant stride beyond which we should use prefetch " - "hints for.", - -1, 0, 0) - -/* Maximum number of statements in loop nest for loop interchange. */ - -DEFPARAM (PARAM_LOOP_INTERCHANGE_MAX_NUM_STMTS, - "loop-interchange-max-num-stmts", - "The maximum number of stmts in loop nest for loop interchange.", - 64, 0, 0) - -/* Minimum stride ratio for loop interchange to be profitiable. */ - -DEFPARAM (PARAM_LOOP_INTERCHANGE_STRIDE_RATIO, - "loop-interchange-stride-ratio", - "The minimum stride ratio for loop interchange to be profitable.", - 2, 0, 0) - -/* Whether we should use canonical types rather than deep "structural" - type checking. Setting this value to 1 (the default) improves - compilation performance in the C++ and Objective-C++ front end; - this value should only be set to zero to work around bugs in the - canonical type system by disabling it. */ - -DEFPARAM (PARAM_USE_CANONICAL_TYPES, - "use-canonical-types", - "Whether to use canonical types.", - 1, 0, 1) - -DEFPARAM (PARAM_MAX_PARTIAL_ANTIC_LENGTH, - "max-partial-antic-length", - "Maximum length of partial antic set when performing tree pre optimization.", - 100, 0, 0) - -/* The following is used as a stop-gap limit for cases where really deep - loop nests cause compile-time to blow up. If we hit this limit, - FRE and PRE will value-number outer loops (but the outermost) in a - loop nest non-optimistically. */ - -DEFPARAM (PARAM_RPO_VN_MAX_LOOP_DEPTH, - "rpo-vn-max-loop-depth", - "Maximum depth of a loop nest to fully value-number optimistically.", - 7, 2, 0) - -/* The following is used as a stop-gap limit for cases where really huge - functions blow up compile-time use too much. It limits the number of - alias-queries we do for finding common subexpressions for memory loads and - stores. The number of alias-queries is otherwise limited by the number of - stores on paths to function entry. */ - -DEFPARAM (PARAM_SCCVN_MAX_ALIAS_QUERIES_PER_ACCESS, - "sccvn-max-alias-queries-per-access", - "Maximum number of disambiguations to perform per memory access.", - 1000, 0, 0) - -DEFPARAM (PARAM_IRA_MAX_LOOPS_NUM, - "ira-max-loops-num", - "Max loops number for regional RA.", - 100, 0, 0) - -DEFPARAM (PARAM_IRA_MAX_CONFLICT_TABLE_SIZE, - "ira-max-conflict-table-size", - "Max size of conflict table in MB.", - 1000, 0, 0) - -DEFPARAM (PARAM_IRA_LOOP_RESERVED_REGS, - "ira-loop-reserved-regs", - "The number of registers in each class kept unused by loop invariant motion.", - 2, 0, 0) - -DEFPARAM (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS, - "lra-max-considered-reload-pseudos", - "The max number of reload pseudos which are considered during spilling a non-reload pseudo.", - 500, 0, 0) - -DEFPARAM (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF, - "lra-inheritance-ebb-probability-cutoff", - "Minimal fall-through edge probability in percentage used to add BB to inheritance EBB in LRA.", - 40, 0, 100) - -/* Switch initialization conversion will refuse to create arrays that are - bigger than this parameter times the number of switch branches. */ - -DEFPARAM (PARAM_SWITCH_CONVERSION_BRANCH_RATIO, - "switch-conversion-max-branch-ratio", - "The maximum ratio between array size and switch branches for " - "a switch conversion to take place.", - 8, 1, 0) - -/* Size of tiles when doing loop blocking. */ - -DEFPARAM (PARAM_LOOP_BLOCK_TILE_SIZE, - "loop-block-tile-size", - "Size of tiles for loop blocking.", - 51, 0, 0) - -/* Maximal number of parameters that we allow in a SCoP. */ - -DEFPARAM (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS, - "graphite-max-nb-scop-params", - "Maximum number of parameters in a SCoP.", - 10, 0, 0) - -/* Maximal number of array references in a scop. */ - -DEFPARAM (PARAM_GRAPHITE_MAX_ARRAYS_PER_SCOP, - "graphite-max-arrays-per-scop", - "Maximum number of arrays per SCoP.", - 100, 0, 0) - -DEFPARAM (PARAM_MAX_ISL_OPERATIONS, - "max-isl-operations", - "Maximum number of isl operations, 0 means unlimited.", - 350000, 0, 0) - -/* For testsuite purposes allow to check for codegen error handling. */ -DEFPARAM (PARAM_GRAPHITE_ALLOW_CODEGEN_ERRORS, - "graphite-allow-codegen-errors", - "Whether codegen errors should be ICEs when -fchecking.", - 0, 0, 1) - -/* Avoid data dependence analysis on very large loops. */ -DEFPARAM (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS, - "loop-max-datarefs-for-datadeps", - "Maximum number of datarefs in loop for building loop data dependencies.", - 1000, 0, 0) - -/* Avoid doing loop invariant motion on very large loops. */ - -DEFPARAM (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP, - "loop-invariant-max-bbs-in-loop", - "Max basic blocks number in loop for loop invariant motion.", - 10000, 0, 0) - -/* When the parameter is 1, use the internal function id - to look up for profile data. Otherwise, use a more stable - external id based on assembler name and source location. */ -DEFPARAM (PARAM_PROFILE_FUNC_INTERNAL_ID, - "profile-func-internal-id", - "Use internal function id in profile lookup.", - 0, 0, 1) - -/* Avoid SLP vectorization of large basic blocks. */ -DEFPARAM (PARAM_SLP_MAX_INSNS_IN_BB, - "slp-max-insns-in-bb", - "Maximum number of instructions in basic block to be considered for " - "SLP vectorization.", 1000, 0, 0) - -DEFPARAM (PARAM_MIN_INSN_TO_PREFETCH_RATIO, - "min-insn-to-prefetch-ratio", - "Min. ratio of insns to prefetches to enable prefetching for " - "a loop with an unknown trip count.", - 9, 0, 0) - -DEFPARAM (PARAM_PREFETCH_MIN_INSN_TO_MEM_RATIO, - "prefetch-min-insn-to-mem-ratio", - "Min. ratio of insns to mem ops to enable prefetching in a loop.", - 3, 0, 0) - -/* Set maximum hash table size for var tracking. */ - -DEFPARAM (PARAM_MAX_VARTRACK_SIZE, - "max-vartrack-size", - "Max. size of var tracking hash tables.", - 50000000, 0, 0) - -/* Set maximum recursion depth for var tracking expression expansion - and resolution. */ - -DEFPARAM (PARAM_MAX_VARTRACK_EXPR_DEPTH, - "max-vartrack-expr-depth", - "Max. recursion depth for expanding var tracking expressions.", - 12, 0, 0) - -/* Set maximum length of value location list for which var tracking - should add reverse operations. */ - -DEFPARAM (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE, - "max-vartrack-reverse-op-size", - "Max. size of loc list for which reverse ops should be added.", - 50, 0, 0) - -/* Set a threshold to discard debug markers (e.g. debug begin stmt - markers) when expanding a function to RTL, or inlining it into - another function. */ - -DEFPARAM (PARAM_MAX_DEBUG_MARKER_COUNT, - "max-debug-marker-count", - "Max. count of debug markers to expand or inline.", - 100000, 0, 0) - -/* Set minimum insn uid for non-debug insns. */ - -DEFPARAM (PARAM_MIN_NONDEBUG_INSN_UID, - "min-nondebug-insn-uid", - "The minimum UID to be used for a nondebug insn.", - 0, 0, 0) - -DEFPARAM (PARAM_IPA_SRA_PTR_GROWTH_FACTOR, - "ipa-sra-ptr-growth-factor", - "Maximum allowed growth of number and total size of new parameters " - "that ipa-sra replaces a pointer to an aggregate with.", - 2, 0, 0) - -DEFPARAM (PARAM_IPA_SRA_MAX_REPLACEMENTS, - "ipa-sra-max-replacements", - "Maximum pieces that IPA-SRA tracks per formal parameter, as " - "a consequence, also the maximum number of replacements of a formal " - "parameter.", - 8, 0, 16) - -DEFPARAM (PARAM_TM_MAX_AGGREGATE_SIZE, - "tm-max-aggregate-size", - "Size in bytes after which thread-local aggregates should be " - "instrumented with the logging functions instead of save/restore " - "pairs.", - 9, 0, 0) - -DEFPARAM (PARAM_SRA_MAX_SCALARIZATION_SIZE_SPEED, - "sra-max-scalarization-size-Ospeed", - "Maximum size, in storage units, of an aggregate which should be " - "considered for scalarization when compiling for speed.", - 0, 0, 0) - -DEFPARAM (PARAM_SRA_MAX_SCALARIZATION_SIZE_SIZE, - "sra-max-scalarization-size-Osize", - "Maximum size, in storage units, of an aggregate which should be " - "considered for scalarization when compiling for size.", - 0, 0, 0) - -DEFPARAM (PARAM_IPA_CP_VALUE_LIST_SIZE, - "ipa-cp-value-list-size", - "Maximum size of a list of values associated with each parameter for " - "interprocedural constant propagation.", - 8, 0, 0) - -DEFPARAM (PARAM_IPA_CP_EVAL_THRESHOLD, - "ipa-cp-eval-threshold", - "Threshold ipa-cp opportunity evaluation that is still considered " - "beneficial to clone.", - 500, 0, 0) - -DEFPARAM (PARAM_IPA_CP_RECURSION_PENALTY, - "ipa-cp-recursion-penalty", - "Percentage penalty the recursive functions will receive when they " - "are evaluated for cloning.", - 40, 0, 100) - -DEFPARAM (PARAM_IPA_CP_SINGLE_CALL_PENALTY, - "ipa-cp-single-call-penalty", - "Percentage penalty functions containing a single call to another " - "function will receive when they are evaluated for cloning.", - 15, 0, 100) - -DEFPARAM (PARAM_IPA_MAX_AGG_ITEMS, - "ipa-max-agg-items", - "Maximum number of aggregate content items for a parameter in " - "jump functions and lattices.", - 16, 0, 0) - -DEFPARAM (PARAM_IPA_CP_LOOP_HINT_BONUS, - "ipa-cp-loop-hint-bonus", - "Compile-time bonus IPA-CP assigns to candidates which make loop " - "bounds or strides known.", - 64, 0, 0) - -DEFPARAM (PARAM_IPA_MAX_AA_STEPS, - "ipa-max-aa-steps", - "Maximum number of statements that will be visited by IPA formal " - "parameter analysis based on alias analysis in any given function.", - 25000, 0, 0) - -DEFPARAM (PARAM_IPA_MAX_SWITCH_PREDICATE_BOUNDS, - "ipa-max-switch-predicate-bounds", - "Maximal number of boundary endpoints of case ranges of switch " - "statement used during IPA functoin summary generation.", - 5, 0, 0) - -DEFPARAM (PARAM_IPA_MAX_PARAM_EXPR_OPS, - "ipa-max-param-expr-ops", - "Maximum number of operations in a parameter expression that can " - "be handled by IPA analysis.", - 10, 0, 0) - -/* WHOPR partitioning configuration. */ - -DEFPARAM (PARAM_LTO_PARTITIONS, - "lto-partitions", - "Number of partitions the program should be split to.", - 128, 1, 0) - -DEFPARAM (MIN_PARTITION_SIZE, - "lto-min-partition", - "Minimal size of a partition for LTO (in estimated instructions).", - 10000, 0, 0) - -DEFPARAM (MAX_PARTITION_SIZE, - "lto-max-partition", - "Maximal size of a partition for LTO (in estimated instructions).", - 1000000, 0, INT_MAX) - -DEFPARAM (PARAM_MAX_LTO_STREAMING_PARALLELISM, - "lto-max-streaming-parallelism", - "maximal number of LTO partitions streamed in parallel.", - 32, 1, 0) - -/* Diagnostic parameters. */ - -DEFPARAM (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP, - "cxx-max-namespaces-for-diagnostic-help", - "Maximum number of namespaces to search for alternatives when " - "name lookup fails.", - 1000, 0, 0) - -/* Maximum number of conditional store pairs that can be sunk. */ -DEFPARAM (PARAM_MAX_STORES_TO_SINK, - "max-stores-to-sink", - "Maximum number of conditional store pairs that can be sunk.", - 2, 0, 0) - -/* Override CASE_VALUES_THRESHOLD of when to switch from doing switch - statements via if statements to using a table jump operation. If the value - is 0, the default CASE_VALUES_THRESHOLD will be used. */ -DEFPARAM (PARAM_CASE_VALUES_THRESHOLD, - "case-values-threshold", - "The smallest number of different values for which it is best to " - "use a jump-table instead of a tree of conditional branches, " - "if 0, use the default for the machine.", - 0, 0, 0) - -DEFPARAM (PARAM_JUMP_TABLE_MAX_GROWTH_RATIO_FOR_SIZE, - "jump-table-max-growth-ratio-for-size", - "The maximum code size growth ratio when expanding " - "into a jump table (in percent). The parameter is used when " - "optimizing for size.", - 300, 0, 0) - -DEFPARAM (PARAM_JUMP_TABLE_MAX_GROWTH_RATIO_FOR_SPEED, - "jump-table-max-growth-ratio-for-speed", - "The maximum code size growth ratio when expanding " - "into a jump table (in percent). The parameter is used when " - "optimizing for speed.", - 800, 0, 0) - -/* Reassociation width to be used by tree reassoc optimization. */ -DEFPARAM (PARAM_TREE_REASSOC_WIDTH, - "tree-reassoc-width", - "Set the maximum number of instructions executed in parallel in " - "reassociated tree. If 0, use the target dependent heuristic.", - 0, 0, 0) - -DEFPARAM (PARAM_MAX_TAIL_MERGE_COMPARISONS, - "max-tail-merge-comparisons", - "Maximum amount of similar bbs to compare a bb with.", - 10, 0, 0) - -DEFPARAM (PARAM_STORE_MERGING_ALLOW_UNALIGNED, - "store-merging-allow-unaligned", - "Allow the store merging pass to introduce unaligned stores " - "if it is legal to do so.", - 1, 0, 1) - -DEFPARAM (PARAM_MAX_STORES_TO_MERGE, - "max-stores-to-merge", - "Maximum number of constant stores to merge in the " - "store merging pass.", - 64, 2, 0) - -DEFPARAM (PARAM_STORE_MERGING_MAX_SIZE, - "store-merging-max-size", - "Maximum size of a single store merging region in bytes.", - 65536, 1, 1) - -DEFPARAM (PARAM_MAX_TAIL_MERGE_ITERATIONS, - "max-tail-merge-iterations", - "Maximum amount of iterations of the pass over a function.", - 2, 0, 0) - -/* Maximum number of strings for which strlen optimization pass will - track string lenths. */ -DEFPARAM (PARAM_MAX_TRACKED_STRLENS, - "max-tracked-strlens", - "Maximum number of strings for which strlen optimization pass will " - "track string lengths.", - 10000, 0, 0) - -/* Keep this in sync with the sched_pressure_algorithm enum. */ -DEFPARAM (PARAM_SCHED_PRESSURE_ALGORITHM, - "sched-pressure-algorithm", - "Which -fsched-pressure algorithm to apply.", - 1, 1, 2) - -/* Maximum length of candidate scans in straight-line strength reduction. */ -DEFPARAM (PARAM_MAX_SLSR_CANDIDATE_SCAN, - "max-slsr-cand-scan", - "Maximum length of candidate scans for straight-line " - "strength reduction.", - 50, 1, 999999) - -/* ASan stands for AddressSanitizer: https://github.com/google/sanitizers. */ - -DEFPARAM (PARAM_ASAN_STACK, - "asan-stack", - "Enable asan stack protection.", - 1, 0, 1) - -DEFPARAM (PARAM_ASAN_PROTECT_ALLOCAS, - "asan-instrument-allocas", - "Enable asan allocas/VLAs protection.", - 1, 0, 1) - -DEFPARAM (PARAM_ASAN_GLOBALS, - "asan-globals", - "Enable asan globals protection.", - 1, 0, 1) - -DEFPARAM (PARAM_ASAN_INSTRUMENT_WRITES, - "asan-instrument-writes", - "Enable asan store operations protection.", - 1, 0, 1) - -DEFPARAM (PARAM_ASAN_INSTRUMENT_READS, - "asan-instrument-reads", - "Enable asan load operations protection.", - 1, 0, 1) - -DEFPARAM (PARAM_ASAN_MEMINTRIN, - "asan-memintrin", - "Enable asan builtin functions protection.", - 1, 0, 1) - -DEFPARAM (PARAM_ASAN_USE_AFTER_RETURN, - "asan-use-after-return", - "Enable asan detection of use-after-return bugs.", - 1, 0, 1) - -DEFPARAM (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD, - "asan-instrumentation-with-call-threshold", - "Use callbacks instead of inline code if number of accesses " - "in function becomes greater or equal to this number.", - 7000, 0, INT_MAX) - -DEFPARAM (PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD, - "use-after-scope-direct-emission-threshold", - "Use direct poisoning/unpoisoning instructions for variables " - "smaller or equal to this number.", - 256, 0, INT_MAX) - -DEFPARAM (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS, - "uninit-control-dep-attempts", - "Maximum number of nested calls to search for control dependencies " - "during uninitialized variable analysis.", - 1000, 1, 0) - -DEFPARAM (PARAM_FSM_SCALE_PATH_STMTS, - "fsm-scale-path-stmts", - "Scale factor to apply to the number of statements in a threading path when comparing to the number of (scaled) blocks.", - 2, 1, 10) - -DEFPARAM (PARAM_FSM_MAXIMUM_PHI_ARGUMENTS, - "fsm-maximum-phi-arguments", - "Maximum number of arguments a PHI may have before the FSM threader will not try to thread through its block.", - 100, 1, 999999) - -DEFPARAM (PARAM_FSM_SCALE_PATH_BLOCKS, - "fsm-scale-path-blocks", - "Scale factor to apply to the number of blocks in a threading path when comparing to the number of (scaled) statements.", - 3, 1, 10) - -DEFPARAM (PARAM_MAX_FSM_THREAD_PATH_INSNS, - "max-fsm-thread-path-insns", - "Maximum number of instructions to copy when duplicating blocks on a finite state automaton jump thread path.", - 100, 1, 999999) - -DEFPARAM (PARAM_MAX_FSM_THREAD_LENGTH, - "max-fsm-thread-length", - "Maximum number of basic blocks on a finite state automaton jump thread path.", - 10, 1, 999999) - -DEFPARAM (PARAM_MAX_FSM_THREAD_PATHS, - "max-fsm-thread-paths", - "Maximum number of new jump thread paths to create for a finite state automaton.", - 50, 1, 999999) - -DEFPARAM (PARAM_PARLOOPS_CHUNK_SIZE, - "parloops-chunk-size", - "Chunk size of omp schedule for loops parallelized by parloops.", - 0, 0, 0) - -DEFPARAMENUM5 (PARAM_PARLOOPS_SCHEDULE, - "parloops-schedule", - "Schedule type of omp schedule for loops parallelized by " - "parloops (static, dynamic, guided, auto, runtime).", - static, - static, dynamic, guided, auto, runtime) - -DEFPARAM (PARAM_PARLOOPS_MIN_PER_THREAD, - "parloops-min-per-thread", - "Minimum number of iterations per thread of an innermost " - "parallelized loop.", - 100, 2, 0) - -DEFPARAM (PARAM_MAX_SSA_NAME_QUERY_DEPTH, - "max-ssa-name-query-depth", - "Maximum recursion depth allowed when querying a property of an" - " SSA name.", - 3, 1, 10) - -DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_INSNS, - "max-rtl-if-conversion-insns", - "Maximum number of insns in a basic block to consider for RTL " - "if-conversion.", - 10, 0, 99) - -DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_PREDICTABLE_COST, - "max-rtl-if-conversion-predictable-cost", - "Maximum permissible cost for the sequence that would be " - "generated by the RTL if-conversion pass for a branch that " - "is considered predictable.", - 20, 0, 200) - -DEFPARAM (PARAM_MAX_RTL_IF_CONVERSION_UNPREDICTABLE_COST, - "max-rtl-if-conversion-unpredictable-cost", - "Maximum permissible cost for the sequence that would be " - "generated by the RTL if-conversion pass for a branch that " - "is considered unpredictable.", - 40, 0, 200) - -DEFPARAM (PARAM_HSA_GEN_DEBUG_STORES, - "hsa-gen-debug-stores", - "Level of hsa debug stores verbosity.", - 0, 0, 1) - -DEFPARAM (PARAM_MAX_SPECULATIVE_DEVIRT_MAYDEFS, - "max-speculative-devirt-maydefs", - "Maximum number of may-defs visited when devirtualizing " - "speculatively.", 50, 0, 0) - -DEFPARAM (PARAM_MAX_VRP_SWITCH_ASSERTIONS, - "max-vrp-switch-assertions", - "Maximum number of assertions to add along the default " - "edge of a switch statement during VRP.", - 10, 0, 0) - -DEFPARAM (PARAM_VECT_EPILOGUES_NOMASK, - "vect-epilogues-nomask", - "Enable loop epilogue vectorization using smaller vector size.", - 1, 0, 1) - -DEFPARAM(PARAM_UNROLL_JAM_MIN_PERCENT, - "unroll-jam-min-percent", - "Minimum percentage of memrefs that must go away for unroll-and-jam to be considered profitable.", - 1, 0, 100) - -DEFPARAM(PARAM_UNROLL_JAM_MAX_UNROLL, - "unroll-jam-max-unroll", - "Maximum unroll factor for the unroll-and-jam transformation.", - 4, 0, 0) - -DEFPARAM(PARAM_AVOID_FMA_MAX_BITS, - "avoid-fma-max-bits", - "Maximum number of bits for which we avoid creating FMAs.", - 0, 0, 512) - -DEFPARAM(PARAM_LOGICAL_OP_NON_SHORT_CIRCUIT, - "logical-op-non-short-circuit", - "True if a non-short-circuit operation is optimal.", - -1, -1, 1) - -DEFPARAM(PARAM_LOOP_VERSIONING_MAX_INNER_INSNS, - "loop-versioning-max-inner-insns", - "The maximum number of instructions in an inner loop that is being" - " considered for versioning.", - 200, 0, 0) - -DEFPARAM(PARAM_LOOP_VERSIONING_MAX_OUTER_INSNS, - "loop-versioning-max-outer-insns", - "The maximum number of instructions in an outer loop that is being" - " considered for versioning, on top of the instructions in inner" - " loops.", - 100, 0, 0) - -DEFPARAM(PARAM_GIMPLE_FE_COMPUTED_HOT_BB_THRESHOLD, - "gimple-fe-computed-hot-bb-threshold", - "The number of executions of a basic block which is considered hot." - " The parameter is used only in GIMPLE FE.", - 0, 0, 0) - -DEFPARAM(PARAM_HASH_TABLE_VERIFICATION_LIMIT, - "hash-table-verification-limit", - "The number of elements for which hash table verification is done for " - "each searched element.", - 10, 0, 0) - -DEFPARAM(PARAM_SSA_NAME_DEF_CHAIN_LIMIT, - "ssa-name-def-chain-limit", - "The maximum number of SSA_NAME assignments to follow in determining " - "a value.", - 512, 0, 0) - -/* - -Local variables: -mode:c -End: -*/ diff --git a/gcc/params.h b/gcc/params.h deleted file mode 100644 index 1aaef6d6a00..00000000000 --- a/gcc/params.h +++ /dev/null @@ -1,254 +0,0 @@ -/* params.h - Run-time parameters. - Copyright (C) 2001-2019 Free Software Foundation, Inc. - Written by Mark Mitchell . - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 3, or (at your option) any later -version. - -GCC is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -/* This module provides a means for setting integral parameters - dynamically. Instead of encoding magic numbers in various places, - use this module to organize all the magic numbers in a single - place. The values of the parameters can be set on the - command-line, thereby providing a way to control the amount of - effort spent on particular optimization passes, or otherwise tune - the behavior of the compiler. - - Since their values can be set on the command-line, these parameters - should not be used for non-dynamic memory allocation. */ - -#ifndef GCC_PARAMS_H -#define GCC_PARAMS_H - -/* No parameter shall have this value. */ - -#define INVALID_PARAM_VAL (-1) - -/* The information associated with each parameter. */ - -struct param_info -{ - /* The name used with the `--param =' switch to set this - value. */ - const char *option; - - /* The default value. */ - int default_value; - - /* Minimum acceptable value. */ - int min_value; - - /* Maximum acceptable value, if greater than minimum */ - int max_value; - - /* A short description of the option. */ - const char *help; - - /* The optional names corresponding to the values. */ - const char **value_names; -}; - -/* An array containing the compiler parameters and their current - values. */ - -extern param_info *compiler_params; - -/* Returns the number of entries in the table, for the use by plugins. */ -extern size_t get_num_compiler_params (void); - -/* Add the N PARAMS to the current list of compiler parameters. */ - -extern void add_params (const param_info params[], size_t n); - -/* Set the VALUE associated with the parameter given by NAME in the - table PARAMS using PARAMS_SET to indicate which have been - explicitly set. */ - -extern void set_param_value (const char *name, int value, - int *params, int *params_set); - - -/* The parameters in use by language-independent code. */ - -enum compiler_param -{ -#include "params.list" - LAST_PARAM -}; - -extern bool find_param (const char *, enum compiler_param *); -extern const char *find_param_fuzzy (const char *name); -extern bool param_string_value_p (enum compiler_param, const char *, int *); - -/* The value of the parameter given by ENUM. Not an lvalue. */ -#define PARAM_VALUE(ENUM) \ - ((int) global_options.x_param_values[(int) ENUM]) - -/* Set the value of the parameter given by NUM to VALUE, implicitly, - if it has not been set explicitly by the user, in the table PARAMS - using PARAMS_SET to indicate which have been explicitly set. */ - -extern void maybe_set_param_value (compiler_param num, int value, - int *params, int *params_set); - -/* Set the default value of a parameter given by NUM to VALUE, before - option processing. */ - -extern void set_default_param_value (compiler_param num, int value); - -/* Add all parameters and default values that can be set in both the - driver and the compiler proper. */ - -extern void global_init_params (void); - -/* Note that all parameters have been added and all default values - set. */ -extern void finish_params (void); - -/* Reset all state in params.c */ - -extern void params_c_finalize (void); - -/* Return the default value of parameter NUM. */ - -extern int default_param_value (compiler_param num); - -/* Initialize an array PARAMS with default values of the - parameters. */ -extern void init_param_values (int *params); - -/* Macros for the various parameters. */ -#define MAX_INLINE_INSNS_SINGLE \ - PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SINGLE) -#define MAX_INLINE_INSNS \ - PARAM_VALUE (PARAM_MAX_INLINE_INSNS) -#define MAX_INLINE_SLOPE \ - PARAM_VALUE (PARAM_MAX_INLINE_SLOPE) -#define MIN_INLINE_INSNS \ - PARAM_VALUE (PARAM_MIN_INLINE_INSNS) -#define MAX_INLINE_INSNS_AUTO \ - PARAM_VALUE (PARAM_MAX_INLINE_INSNS_AUTO) -#define MAX_VARIABLE_EXPANSIONS \ - PARAM_VALUE (PARAM_MAX_VARIABLE_EXPANSIONS) -#define MIN_VECT_LOOP_BOUND \ - PARAM_VALUE (PARAM_MIN_VECT_LOOP_BOUND) -#define MAX_DELAY_SLOT_INSN_SEARCH \ - PARAM_VALUE (PARAM_MAX_DELAY_SLOT_INSN_SEARCH) -#define MAX_DELAY_SLOT_LIVE_SEARCH \ - PARAM_VALUE (PARAM_MAX_DELAY_SLOT_LIVE_SEARCH) -#define MAX_PENDING_LIST_LENGTH \ - PARAM_VALUE (PARAM_MAX_PENDING_LIST_LENGTH) -#define MAX_GCSE_MEMORY \ - ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY)) -#define MAX_GCSE_INSERTION_RATIO \ - ((size_t) PARAM_VALUE (PARAM_MAX_GCSE_INSERTION_RATIO)) -#define GCSE_AFTER_RELOAD_PARTIAL_FRACTION \ - PARAM_VALUE (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION) -#define GCSE_AFTER_RELOAD_CRITICAL_FRACTION \ - PARAM_VALUE (PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION) -#define GCSE_COST_DISTANCE_RATIO \ - PARAM_VALUE (PARAM_GCSE_COST_DISTANCE_RATIO) -#define GCSE_UNRESTRICTED_COST \ - PARAM_VALUE (PARAM_GCSE_UNRESTRICTED_COST) -#define MAX_HOIST_DEPTH \ - PARAM_VALUE (PARAM_MAX_HOIST_DEPTH) -#define MAX_UNROLLED_INSNS \ - PARAM_VALUE (PARAM_MAX_UNROLLED_INSNS) -#define MAX_SMS_LOOP_NUMBER \ - PARAM_VALUE (PARAM_MAX_SMS_LOOP_NUMBER) -#define SMS_MAX_II_FACTOR \ - PARAM_VALUE (PARAM_SMS_MAX_II_FACTOR) -#define SMS_DFA_HISTORY \ - PARAM_VALUE (PARAM_SMS_DFA_HISTORY) -#define SMS_LOOP_AVERAGE_COUNT_THRESHOLD \ - PARAM_VALUE (PARAM_SMS_LOOP_AVERAGE_COUNT_THRESHOLD) -#define INTEGER_SHARE_LIMIT \ - PARAM_VALUE (PARAM_INTEGER_SHARE_LIMIT) -#define MAX_LAST_VALUE_RTL \ - PARAM_VALUE (PARAM_MAX_LAST_VALUE_RTL) -#define MIN_VIRTUAL_MAPPINGS \ - PARAM_VALUE (PARAM_MIN_VIRTUAL_MAPPINGS) -#define VIRTUAL_MAPPINGS_TO_SYMS_RATIO \ - PARAM_VALUE (PARAM_VIRTUAL_MAPPINGS_TO_SYMS_RATIO) -#define MAX_FIELDS_FOR_FIELD_SENSITIVE \ - ((size_t) PARAM_VALUE (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE)) -#define MAX_SCHED_READY_INSNS \ - PARAM_VALUE (PARAM_MAX_SCHED_READY_INSNS) -#define PREFETCH_LATENCY \ - PARAM_VALUE (PARAM_PREFETCH_LATENCY) -#define SIMULTANEOUS_PREFETCHES \ - PARAM_VALUE (PARAM_SIMULTANEOUS_PREFETCHES) -#define L1_CACHE_SIZE \ - PARAM_VALUE (PARAM_L1_CACHE_SIZE) -#define L1_CACHE_LINE_SIZE \ - PARAM_VALUE (PARAM_L1_CACHE_LINE_SIZE) -#define L2_CACHE_SIZE \ - PARAM_VALUE (PARAM_L2_CACHE_SIZE) -#define PREFETCH_DYNAMIC_STRIDES \ - PARAM_VALUE (PARAM_PREFETCH_DYNAMIC_STRIDES) -#define PREFETCH_MINIMUM_STRIDE \ - PARAM_VALUE (PARAM_PREFETCH_MINIMUM_STRIDE) -#define USE_CANONICAL_TYPES \ - PARAM_VALUE (PARAM_USE_CANONICAL_TYPES) -#define IRA_MAX_LOOPS_NUM \ - PARAM_VALUE (PARAM_IRA_MAX_LOOPS_NUM) -#define IRA_MAX_CONFLICT_TABLE_SIZE \ - PARAM_VALUE (PARAM_IRA_MAX_CONFLICT_TABLE_SIZE) -#define IRA_LOOP_RESERVED_REGS \ - PARAM_VALUE (PARAM_IRA_LOOP_RESERVED_REGS) -#define LRA_MAX_CONSIDERED_RELOAD_PSEUDOS \ - PARAM_VALUE (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS) -#define LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF \ - PARAM_VALUE (PARAM_LRA_INHERITANCE_EBB_PROBABILITY_CUTOFF) -#define SWITCH_CONVERSION_BRANCH_RATIO \ - PARAM_VALUE (PARAM_SWITCH_CONVERSION_BRANCH_RATIO) -#define LOOP_INVARIANT_MAX_BBS_IN_LOOP \ - PARAM_VALUE (PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP) -#define SLP_MAX_INSNS_IN_BB \ - PARAM_VALUE (PARAM_SLP_MAX_INSNS_IN_BB) -#define MIN_INSN_TO_PREFETCH_RATIO \ - PARAM_VALUE (PARAM_MIN_INSN_TO_PREFETCH_RATIO) -#define PREFETCH_MIN_INSN_TO_MEM_RATIO \ - PARAM_VALUE (PARAM_PREFETCH_MIN_INSN_TO_MEM_RATIO) -#define MIN_NONDEBUG_INSN_UID \ - PARAM_VALUE (PARAM_MIN_NONDEBUG_INSN_UID) -#define MAX_STORES_TO_SINK \ - PARAM_VALUE (PARAM_MAX_STORES_TO_SINK) -#define ALLOW_LOAD_DATA_RACES \ - PARAM_VALUE (PARAM_ALLOW_LOAD_DATA_RACES) -#define ALLOW_PACKED_LOAD_DATA_RACES \ - PARAM_VALUE (PARAM_ALLOW_PACKED_LOAD_DATA_RACES) -#define ALLOW_PACKED_STORE_DATA_RACES \ - PARAM_VALUE (PARAM_ALLOW_PACKED_STORE_DATA_RACES) -#define ASAN_STACK \ - PARAM_VALUE (PARAM_ASAN_STACK) -#define ASAN_PROTECT_ALLOCAS \ - PARAM_VALUE (PARAM_ASAN_PROTECT_ALLOCAS) -#define ASAN_GLOBALS \ - PARAM_VALUE (PARAM_ASAN_GLOBALS) -#define ASAN_INSTRUMENT_READS \ - PARAM_VALUE (PARAM_ASAN_INSTRUMENT_READS) -#define ASAN_INSTRUMENT_WRITES \ - PARAM_VALUE (PARAM_ASAN_INSTRUMENT_WRITES) -#define ASAN_MEMINTRIN \ - PARAM_VALUE (PARAM_ASAN_MEMINTRIN) -#define ASAN_USE_AFTER_RETURN \ - PARAM_VALUE (PARAM_ASAN_USE_AFTER_RETURN) -#define ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD \ - PARAM_VALUE (PARAM_ASAN_INSTRUMENTATION_WITH_CALL_THRESHOLD) -#define ASAN_PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD \ - ((unsigned) PARAM_VALUE (PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD)) - -#endif /* ! GCC_PARAMS_H */ diff --git a/gcc/postreload-gcse.c b/gcc/postreload-gcse.c index 161e6d926b5..bd70798b0f6 100644 --- a/gcc/postreload-gcse.c +++ b/gcc/postreload-gcse.c @@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgrtl.h" #include "profile.h" #include "expr.h" -#include "params.h" #include "tree-pass.h" #include "dbgcnt.h" #include "intl.h" diff --git a/gcc/predict.c b/gcc/predict.c index 5ee56a33fd7..8c66a27d8b6 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -48,7 +48,6 @@ along with GCC; see the file COPYING3. If not see #include "cfganal.h" #include "profile.h" #include "sreal.h" -#include "params.h" #include "cfgloop.h" #include "gimple-iterator.h" #include "tree-cfg.h" diff --git a/gcc/reload.c b/gcc/reload.c index b8178238ff9..3e6a0888f94 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -105,7 +105,6 @@ a register with any other reload. */ #include "rtl-error.h" #include "reload.h" #include "addresses.h" -#include "params.h" #include "function-abi.h" /* True if X is a constant that can be forced into the constant pool. diff --git a/gcc/reorg.c b/gcc/reorg.c index 460741213f2..add00a62a60 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -116,7 +116,6 @@ along with GCC; see the file COPYING3. If not see #include "recog.h" #include "insn-attr.h" #include "resource.h" -#include "params.h" #include "tree-pass.h" diff --git a/gcc/resource.c b/gcc/resource.c index 5d16100ef48..be6426f92df 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see #include "emit-rtl.h" #include "resource.h" #include "insn-attr.h" -#include "params.h" #include "function-abi.h" /* This structure is used to record liveness information at the targets or diff --git a/gcc/sanopt.c b/gcc/sanopt.c index 7a4daeaf458..7749c948c23 100644 --- a/gcc/sanopt.c +++ b/gcc/sanopt.c @@ -34,7 +34,6 @@ along with GCC; see the file COPYING3. If not see #include "attribs.h" #include "asan.h" #include "ubsan.h" -#include "params.h" #include "tree-hash-traits.h" #include "gimple-ssa.h" #include "tree-phinodes.h" diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 7cd2e65ccac..a9e73fc6044 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see #include "insn-attr.h" #include "cfgbuild.h" #include "sched-int.h" -#include "params.h" #include "cselib.h" #include "function-abi.h" diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c index c60afa340e7..c8736831379 100644 --- a/gcc/sched-ebb.c +++ b/gcc/sched-ebb.c @@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see #include "df.h" #include "profile.h" #include "insn-attr.h" -#include "params.h" #include "cfgrtl.h" #include "cfgbuild.h" #include "sched-int.h" diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 6321692ed00..80eea99cf43 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -58,7 +58,6 @@ along with GCC; see the file COPYING3. If not see #include "profile.h" #include "insn-attr.h" #include "except.h" -#include "params.h" #include "cfganal.h" #include "sched-int.h" #include "sel-sched.h" diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c index d6513b136a0..2632dfa6506 100644 --- a/gcc/sel-sched-ir.c +++ b/gcc/sel-sched-ir.c @@ -33,7 +33,6 @@ along with GCC; see the file COPYING3. If not see #include "insn-config.h" #include "insn-attr.h" #include "recog.h" -#include "params.h" #include "target.h" #include "sched-int.h" #include "emit-rtl.h" /* FIXME: Can go away once crtl is moved to rtl.h. */ diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index 2ecc06d0f17..c1ed1a38ef3 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgcleanup.h" #include "insn-config.h" #include "insn-attr.h" -#include "params.h" #include "target.h" #include "sched-int.h" #include "rtlhooks-def.h" diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c index e612f85c15a..c6e93596568 100644 --- a/gcc/shrink-wrap.c +++ b/gcc/shrink-wrap.c @@ -37,7 +37,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-pass.h" #include "cfgrtl.h" #include "cfgbuild.h" -#include "params.h" #include "bb-reorder.h" #include "shrink-wrap.h" #include "regcprop.h" diff --git a/gcc/stmt.c b/gcc/stmt.c index 17f43d14d88..4d2b7a5a845 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -50,7 +50,6 @@ along with GCC; see the file COPYING3. If not see #include "langhooks.h" #include "cfganal.h" #include "tree-cfg.h" -#include "params.h" #include "dumpfile.h" #include "builtins.h" diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 2f26e468b8a..822a0313e9e 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -79,7 +79,6 @@ along with GCC; see the file COPYING3. If not see #include "opts.h" #include "gimplify.h" #include "predict.h" -#include "params.h" #include "real.h" #include "langhooks.h" #include "sbitmap.h" diff --git a/gcc/toplev.c b/gcc/toplev.c index a836646f8a1..513e4e066b7 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -52,7 +52,6 @@ along with GCC; see the file COPYING3. If not see #include "expr.h" #include "intl.h" #include "tree-diagnostic.h" -#include "params.h" #include "reload.h" #include "lra.h" #include "dwarf2asm.h" diff --git a/gcc/tracer.c b/gcc/tracer.c index 02203923369..4ee3fef92ec 100644 --- a/gcc/tracer.c +++ b/gcc/tracer.c @@ -44,7 +44,6 @@ #include "tree-pass.h" #include "profile.h" #include "cfganal.h" -#include "params.h" #include "gimple-iterator.h" #include "tree-cfg.h" #include "tree-ssa.h" diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c index 4a0f6e7dee9..3aa5c532256 100644 --- a/gcc/trans-mem.c +++ b/gcc/trans-mem.c @@ -46,7 +46,6 @@ #include "demangle.h" #include "output.h" #include "trans-mem.h" -#include "params.h" #include "langhooks.h" #include "cfgloop.h" #include "tree-ssa-address.h" diff --git a/gcc/tree-chrec.c b/gcc/tree-chrec.c index 8d5fce30289..626688782f1 100644 --- a/gcc/tree-chrec.c +++ b/gcc/tree-chrec.c @@ -38,7 +38,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple.h" #include "tree-ssa-loop.h" #include "dumpfile.h" -#include "params.h" #include "tree-scalar-evolution.h" /* Extended folder for chrecs. */ diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c index e9fa4ae69c3..191beb9df99 100644 --- a/gcc/tree-data-ref.c +++ b/gcc/tree-data-ref.c @@ -93,7 +93,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-scalar-evolution.h" #include "dumpfile.h" #include "tree-affine.h" -#include "params.h" #include "builtins.h" #include "tree-eh.h" #include "ssa.h" diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 09560198539..33d6cddb460 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -114,7 +114,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-hash-traits.h" #include "varasm.h" #include "builtins.h" -#include "params.h" #include "cfganal.h" #include "internal-fn.h" #include "fold-const.h" diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index b05f05d446a..bdc332dcc23 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -53,7 +53,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "except.h" #include "debug.h" -#include "params.h" #include "value-prof.h" #include "cfgloop.h" #include "builtins.h" diff --git a/gcc/tree-loop-distribution.c b/gcc/tree-loop-distribution.c index 9930daaafa9..39e17e23160 100644 --- a/gcc/tree-loop-distribution.c +++ b/gcc/tree-loop-distribution.c @@ -112,7 +112,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "cfgloop.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "tree-vectorizer.h" #include "tree-eh.h" #include "gimple-fold.h" diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 1a35c7dbdc3..6558dc11003 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -52,8 +52,6 @@ along with GCC; see the file COPYING3. If not see #include "omp-general.h" #include "omp-low.h" #include "tree-ssa.h" -#include "params.h" -#include "params-enum.h" #include "tree-ssa-alias.h" #include "tree-eh.h" #include "gomp-constants.h" diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c index 3fe2a6dcb0a..5eb3c8ba4cf 100644 --- a/gcc/tree-predcom.c +++ b/gcc/tree-predcom.c @@ -231,7 +231,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "tree-data-ref.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "tree-affine.h" #include "builtins.h" diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 4c1ead5781f..6a4e62f5bae 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -49,7 +49,6 @@ along with GCC; see the file COPYING3. If not see #include "value-prof.h" #include "profile.h" #include "tree-cfgcleanup.h" -#include "params.h" #include "stringpool.h" #include "attribs.h" #include "tree-pretty-print.h" diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c index ed5d5663a3a..f01fee5f2c3 100644 --- a/gcc/tree-scalar-evolution.c +++ b/gcc/tree-scalar-evolution.c @@ -279,7 +279,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-affine.h" #include "tree-scalar-evolution.h" #include "dumpfile.h" -#include "params.h" #include "tree-ssa-propagate.h" #include "gimple-fold.h" #include "tree-into-ssa.h" diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index d739aed9e44..87c156f2f54 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -96,7 +96,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-cfg.h" #include "tree-dfa.h" #include "tree-ssa.h" -#include "params.h" #include "dbgcnt.h" #include "builtins.h" #include "tree-sra.h" diff --git a/gcc/tree-ssa-ccp.c b/gcc/tree-ssa-ccp.c index 335787e0517..1e8e47265a6 100644 --- a/gcc/tree-ssa-ccp.c +++ b/gcc/tree-ssa-ccp.c @@ -136,7 +136,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-cfg.h" #include "tree-ssa-propagate.h" #include "dbgcnt.h" -#include "params.h" #include "builtins.h" #include "cfgloop.h" #include "stor-layout.h" diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 44a4289aa38..ec1c4effa38 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -39,7 +39,6 @@ along with GCC; see the file COPYING3. If not see #include "domwalk.h" #include "tree-ssa-propagate.h" #include "tree-ssa-threadupdate.h" -#include "params.h" #include "tree-ssa-scopedtables.h" #include "tree-ssa-threadedge.h" #include "tree-ssa-dom.h" diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 1b060d9e408..d42a9240a0d 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -33,7 +33,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-dfa.h" #include "domwalk.h" #include "tree-cfgcleanup.h" -#include "params.h" #include "alias.h" #include "tree-ssa-loop.h" #include "tree-ssa-dse.h" diff --git a/gcc/tree-ssa-ifcombine.c b/gcc/tree-ssa-ifcombine.c index fa3bc0a4377..6d907d46479 100644 --- a/gcc/tree-ssa-ifcombine.c +++ b/gcc/tree-ssa-ifcombine.c @@ -40,7 +40,6 @@ along with GCC; see the file COPYING3. If not see #include "gimplify-me.h" #include "tree-cfg.h" #include "tree-ssa.h" -#include "params.h" #ifndef LOGICAL_OP_NON_SHORT_CIRCUIT #define LOGICAL_OP_NON_SHORT_CIRCUIT \ diff --git a/gcc/tree-ssa-loop-ch.c b/gcc/tree-ssa-loop-ch.c index fd6d74d5891..b894a7e0918 100644 --- a/gcc/tree-ssa-loop-ch.c +++ b/gcc/tree-ssa-loop-ch.c @@ -36,7 +36,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa-sccvn.h" #include "tree-phinodes.h" #include "ssa-iterators.h" -#include "params.h" /* Duplicates headers of loops if they are small enough, so that the statements in the loop body are always executed when the loop is entered. This diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index cd1aa563e21..b2a64b059b5 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -38,7 +38,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-into-ssa.h" #include "cfgloop.h" #include "domwalk.h" -#include "params.h" #include "tree-affine.h" #include "tree-ssa-propagate.h" #include "trans-mem.h" diff --git a/gcc/tree-ssa-loop-ivcanon.c b/gcc/tree-ssa-loop-ivcanon.c index 7b352431225..c2543eec925 100644 --- a/gcc/tree-ssa-loop-ivcanon.c +++ b/gcc/tree-ssa-loop-ivcanon.c @@ -59,7 +59,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgloop.h" #include "tree-chrec.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "tree-inline.h" #include "tree-cfgcleanup.h" #include "builtins.h" diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 78efd62a9a5..ab52cbe7afa 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -125,7 +125,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "cfgloop.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "tree-affine.h" #include "tree-ssa-propagate.h" #include "tree-ssa-address.h" diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index 06f90160047..a79912a0483 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "cfgloop.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "tree-inline.h" /* All bitmaps for rewriting into loop-closed SSA go on this obstack, diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index fe24a70451d..d5c1b5b925f 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -41,7 +41,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgloop.h" #include "tree-chrec.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "tree-dfa.h" diff --git a/gcc/tree-ssa-loop-prefetch.c b/gcc/tree-ssa-loop-prefetch.c index cb22657c309..9d9c7a6f27c 100644 --- a/gcc/tree-ssa-loop-prefetch.c +++ b/gcc/tree-ssa-loop-prefetch.c @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-into-ssa.h" #include "cfgloop.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "langhooks.h" #include "tree-inline.h" #include "tree-data-ref.h" diff --git a/gcc/tree-ssa-loop-split.c b/gcc/tree-ssa-loop-split.c index 57dbc8769dc..34004847fc2 100644 --- a/gcc/tree-ssa-loop-split.c +++ b/gcc/tree-ssa-loop-split.c @@ -35,7 +35,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-inline.h" #include "tree-cfgcleanup.h" #include "cfgloop.h" -#include "params.h" #include "tree-scalar-evolution.h" #include "gimple-iterator.h" #include "gimple-pretty-print.h" diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index 4e3aa7c41b7..49951eb21b6 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -33,7 +33,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa-loop.h" #include "tree-into-ssa.h" #include "cfgloop.h" -#include "params.h" #include "tree-inline.h" #include "gimple-iterator.h" #include "cfghooks.h" diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 8b5f3149cbc..d90191aea2e 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -109,7 +109,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-dfa.h" #include "tree-ssa.h" #include "builtins.h" -#include "params.h" #include "internal-fn.h" #include "case-cfn-macros.h" #include "optabs-libfuncs.h" diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index 43990b79644..c2595c85241 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -44,7 +44,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-data-ref.h" #include "tree-scalar-evolution.h" #include "tree-inline.h" -#include "params.h" #include "case-cfn-macros.h" static unsigned int tree_ssa_phiopt_worker (bool, bool, bool); diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 58a147036af..d0a037b7057 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -45,7 +45,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgloop.h" #include "tree-ssa-sccvn.h" #include "tree-scalar-evolution.h" -#include "params.h" #include "dbgcnt.h" #include "domwalk.h" #include "tree-ssa-propagate.h" diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c index 9e5b5290b55..ed14b6b4e7a 100644 --- a/gcc/tree-ssa-reassoc.c +++ b/gcc/tree-ssa-reassoc.c @@ -48,7 +48,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "langhooks.h" #include "cfgloop.h" -#include "params.h" #include "builtins.h" #include "gimplify.h" #include "case-cfn-macros.h" diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index 429f09d4017..8e395675c66 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -53,7 +53,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa.h" #include "dumpfile.h" #include "cfgloop.h" -#include "params.h" #include "tree-ssa-propagate.h" #include "tree-cfg.h" #include "domwalk.h" diff --git a/gcc/tree-ssa-scopedtables.c b/gcc/tree-ssa-scopedtables.c index 9fb2f500f46..a9dfcf38287 100644 --- a/gcc/tree-ssa-scopedtables.c +++ b/gcc/tree-ssa-scopedtables.c @@ -34,7 +34,6 @@ along with GCC; see the file COPYING3. If not see #include "internal-fn.h" #include "tree-dfa.h" #include "options.h" -#include "params.h" static bool hashable_expr_equal_p (const struct hashable_expr *, const struct hashable_expr *); diff --git a/gcc/tree-ssa-sink.c b/gcc/tree-ssa-sink.c index cbad34b26de..9e210effcba 100644 --- a/gcc/tree-ssa-sink.c +++ b/gcc/tree-ssa-sink.c @@ -34,7 +34,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "tree-cfg.h" #include "cfgloop.h" -#include "params.h" /* TODO: 1. Sinking store only using scalar promotion (IE without moving the RHS): diff --git a/gcc/tree-ssa-strlen.c b/gcc/tree-ssa-strlen.c index 54f9bcf05f2..c7d36dbd450 100644 --- a/gcc/tree-ssa-strlen.c +++ b/gcc/tree-ssa-strlen.c @@ -45,7 +45,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa-alias.h" #include "tree-ssa-propagate.h" #include "tree-ssa-strlen.h" -#include "params.h" #include "tree-hash-traits.h" #include "tree-object-size.h" #include "builtins.h" diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 74edcd4458f..68298ea7eb2 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -37,7 +37,6 @@ #include "gimple-iterator.h" #include "tree-into-ssa.h" #include "tree-dfa.h" -#include "params.h" #include "gimple-walk.h" #include "varasm.h" #include "stringpool.h" diff --git a/gcc/tree-ssa-tail-merge.c b/gcc/tree-ssa-tail-merge.c index ddf7449d945..2c7e11e5492 100644 --- a/gcc/tree-ssa-tail-merge.c +++ b/gcc/tree-ssa-tail-merge.c @@ -201,7 +201,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "tree-cfg.h" #include "tree-into-ssa.h" -#include "params.h" #include "tree-ssa-sccvn.h" #include "cfgloop.h" #include "tree-eh.h" diff --git a/gcc/tree-ssa-threadbackward.c b/gcc/tree-ssa-threadbackward.c index 6d534647c60..5629b688f96 100644 --- a/gcc/tree-ssa-threadbackward.c +++ b/gcc/tree-ssa-threadbackward.c @@ -29,7 +29,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "tree-cfg.h" #include "tree-ssa-threadupdate.h" -#include "params.h" #include "tree-ssa-loop.h" #include "cfganal.h" #include "tree-pass.h" diff --git a/gcc/tree-ssa-threadedge.c b/gcc/tree-ssa-threadedge.c index c43d7c5c39e..1818895acb5 100644 --- a/gcc/tree-ssa-threadedge.c +++ b/gcc/tree-ssa-threadedge.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "tree-cfg.h" #include "tree-ssa-threadupdate.h" -#include "params.h" #include "tree-ssa-scopedtables.h" #include "tree-ssa-threadedge.h" #include "tree-ssa-dom.h" diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c index ae441067789..1d911d2fbba 100644 --- a/gcc/tree-ssa-uninit.c +++ b/gcc/tree-ssa-uninit.c @@ -31,7 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "fold-const.h" #include "gimple-iterator.h" #include "tree-ssa.h" -#include "params.h" #include "tree-cfg.h" #include "cfghooks.h" diff --git a/gcc/tree-switch-conversion.c b/gcc/tree-switch-conversion.c index 166e40c3931..af4fd5e33bd 100644 --- a/gcc/tree-switch-conversion.c +++ b/gcc/tree-switch-conversion.c @@ -36,7 +36,6 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #include "optabs-tree.h" #include "cgraph.h" #include "gimple-pretty-print.h" -#include "params.h" #include "fold-const.h" #include "varasm.h" #include "stor-layout.h" diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index 5abbdc747f4..3ace4569ba4 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -49,7 +49,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-vectorizer.h" #include "expr.h" #include "builtins.h" -#include "params.h" #include "tree-cfg.h" #include "tree-hash-traits.h" #include "vec-perm-indices.h" diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index db58a2f7c81..d0fb6c2aa66 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -43,7 +43,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-ssa-loop-niter.h" #include "tree-ssa-loop.h" #include "cfgloop.h" -#include "params.h" #include "tree-scalar-evolution.h" #include "tree-vectorizer.h" #include "gimple-fold.h" diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c index 9d3d991e516..4bc0cc77de4 100644 --- a/gcc/tree-vect-slp.c +++ b/gcc/tree-vect-slp.c @@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see #include "optabs-tree.h" #include "insn-config.h" #include "recog.h" /* FIXME: for insn_data */ -#include "params.h" #include "fold-const.h" #include "stor-layout.h" #include "gimple-iterator.h" diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 399c3332452..12f4255d36a 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -59,7 +59,6 @@ along with GCC; see the file COPYING3. If not see #include "omp-general.h" #include "target.h" #include "case-cfn-macros.h" -#include "params.h" #include "alloc-pool.h" #include "domwalk.h" #include "tree-cfgcleanup.h" diff --git a/gcc/tree.c b/gcc/tree.c index c3cd527e14a..78c2815028b 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -54,7 +54,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-iterator.h" #include "gimplify.h" #include "tree-dfa.h" -#include "params.h" #include "langhooks-def.h" #include "tree-diagnostic.h" #include "except.h" diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 789309c533e..cc3542f0295 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -42,7 +42,6 @@ along with GCC; see the file COPYING3. If not see #include "gimple-pretty-print.h" #include "dumpfile.h" #include "builtins.h" -#include "params.h" /* In this file value profile based optimizations are placed. Currently the following optimizations are implemented (for more detailed descriptions diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index c80a06c92b7..88cc1a93027 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -111,7 +111,6 @@ #include "tree-dfa.h" #include "tree-ssa.h" #include "cselib.h" -#include "params.h" #include "tree-pretty-print.h" #include "rtl-iter.h" #include "fibonacci_heap.h" -- 2.30.2