aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/params.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/params.def')
-rw-r--r--gcc-4.9/gcc/params.def48
1 files changed, 45 insertions, 3 deletions
diff --git a/gcc-4.9/gcc/params.def b/gcc-4.9/gcc/params.def
index f8d2a9cd1..3d2c913fd 100644
--- a/gcc-4.9/gcc/params.def
+++ b/gcc-4.9/gcc/params.def
@@ -78,6 +78,11 @@ DEFPARAM (PARAM_MAX_INLINE_INSNS_AUTO,
"The maximum number of instructions when automatically inlining",
40, 0, 0)
+DEFPARAM (PARAM_MAX_GROWTH_AUTO_INLINE_FUNC,
+ "max-growth-auto-inline-func",
+ "The maximum size growth when inlining functions without inline declared in plain mode",
+ 25, 0, 0)
+
DEFPARAM (PARAM_MAX_INLINE_INSNS_RECURSIVE,
"max-inline-insns-recursive",
"The maximum number of instructions inline function can grow to via recursive inlining",
@@ -343,7 +348,7 @@ DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
DEFPARAM(PARAM_MAX_DEFAULT_COMPLETELY_PEELED_INSNS,
"max-default-completely-peeled-insns",
"The maximum number of insns of a completely peeled loop",
- 200, 0, 0)
+ 100, 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",
@@ -454,6 +459,11 @@ DEFPARAM (PARAM_ALIGN_LOOP_ITERATIONS,
"Loops iterating at least selected number of iterations will get loop alignement.",
4, 0, 0)
+DEFPARAM (PARAM_ALIGN_LOOP_SIZE,
+ "align-loop-size",
+ "For loop small enough, try to align them more strictly.",
+ 10, 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
@@ -950,7 +960,7 @@ DEFPARAM (PARAM_ICALL_PROMOTE_PERCENT_THRESHOLD,
"icall-promote-target-percent-threshold",
"percentage threshold for direct call promotion"
" of a callee target",
- 33, 0, 100)
+ 30, 0, 100)
DEFPARAM (PARAM_ICALL_PROMOTE_COUNT_THRESHOLD,
"icall-promote-target_count-threshold",
@@ -1101,6 +1111,16 @@ DEFPARAM (PARAM_PROFILE_GENERATE_SAMPLING_PERIOD,
"sampling rate with -fprofile-generate-sampling",
100, 0, 2000000000)
+DEFPARAM (PARAM_LIPO_SAMPLING_PERIOD,
+ "lipo-sampling-period",
+ "sampling rate for lipo direct call and indirect call profile",
+ 79, 0, 2000000000)
+
+DEFPARAM (PARAM_PROFILE_VALUES_TIME,
+ "profile-values-time",
+ "Enable time profiling when value profiling",
+ 0, 0, 1)
+
DEFPARAM (PARAM_COVERAGE_CALLBACK,
"coverage-callback",
"callback a user-define function when for arc counter increments.",
@@ -1354,14 +1374,36 @@ DEFPARAM (PARAM_ASAN_MEMINTRIN,
DEFPARAM (PARAM_ASAN_USE_AFTER_RETURN,
"asan-use-after-return",
- "Enable asan builtin functions protection",
+ "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",
+ INT_MAX, 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)
+
+/* Fraction of adjusting fp setting cost in framepointer shrinkwrapping. */
+DEFPARAM (PARAM_FPSET_COST_FRACTION,
+ "fpset-cost-fraction",
+ "Adjust the estimation of fp setting insn cost with this fraction in"
+ "framepointer shrinkwrapping",
+ 10, 1, 100)
+
+/* Fraction of promoting when choose to promote or not to promote fpset in
+ framepointer shrinkwrapping. */
+DEFPARAM (PARAM_FPSET_PROMOTE_FRACTION,
+ "fpset-promote-fraction",
+ "Adjust the estimation of fpset promotion cost with this fraction in"
+ "framepointer shrinkwrapping",
+ 1, 0, 100)
+
/*
Local variables: