OSDN Git Service

compiler: Don't create a closure if not needed.
[pf3gnuchains/gcc-fork.git] / gcc / params.def
index a795c38..27db782 100644 (file)
@@ -1,6 +1,6 @@
 /* params.def - Run-time parameters.
    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-   2011
+   2011, 2012
    Free Software Foundation, Inc.
    Written by Mark Mitchell <mark@codesourcery.com>.
 
@@ -111,7 +111,7 @@ DEFPARAM (PARAM_EARLY_INLINER_MAX_ITERATIONS,
 /* Limit on probability of entry BB.  */
 DEFPARAM (PARAM_COMDAT_SHARING_PROBABILITY,
          "comdat-sharing-probability",
-         "Probability that COMDAT function will be shared with different compilatoin unit",
+         "Probability that COMDAT function will be shared with different compilation unit",
          20, 0, 0)
 
 /* Limit on probability of entry BB.  */
@@ -165,6 +165,13 @@ DEFPARAM(PARAM_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",
@@ -559,6 +566,11 @@ DEFPARAM(PARAM_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",
@@ -808,6 +820,12 @@ DEFPARAM (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION,
          "maximum number of basic blocks per function to be analyzed by Graphite",
          100, 0, 0)
 
+/* 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,
@@ -860,6 +878,13 @@ DEFPARAM (PARAM_IPA_SRA_PTR_GROWTH_FACTOR,
          "a pointer to an aggregate with",
          2, 0, 0)
 
+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_IPA_CP_VALUE_LIST_SIZE,
          "ipa-cp-value-list-size",
          "Maximum size of a list of values associated with each parameter for "
@@ -909,11 +934,26 @@ DEFPARAM (PARAM_CASE_VALUES_THRESHOLD,
           0, 0, 0)
 
 /* Data race flags for C++0x memory model compliance.  */
+DEFPARAM (PARAM_ALLOW_LOAD_DATA_RACES,
+         "allow-load-data-races",
+         "Allow new data races on loads to be introduced",
+         1, 0, 1)
+
 DEFPARAM (PARAM_ALLOW_STORE_DATA_RACES,
          "allow-store-data-races",
          "Allow new data races on stores to be introduced",
          1, 0, 1)
 
+DEFPARAM (PARAM_ALLOW_PACKED_LOAD_DATA_RACES,
+         "allow-packed-load-data-races",
+         "Allow new data races on packed data loads to be introduced",
+         1, 0, 1)
+
+DEFPARAM (PARAM_ALLOW_PACKED_STORE_DATA_RACES,
+         "allow-packed-store-data-races",
+         "Allow new data races on packed data stores to be introduced",
+         1, 0, 1)
+
 /* Reassociation width to be used by tree reassoc optimization.  */
 DEFPARAM (PARAM_TREE_REASSOC_WIDTH,
          "tree-reassoc-width",