summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/params.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/params.h')
-rw-r--r--contrib/gcc/params.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/contrib/gcc/params.h b/contrib/gcc/params.h
index 33eec39..caddf85 100644
--- a/contrib/gcc/params.h
+++ b/contrib/gcc/params.h
@@ -59,7 +59,7 @@ extern param_info *compiler_params;
/* Add the N PARAMS to the current list of compiler parameters. */
-extern void add_params
+extern void add_params
PARAMS ((const param_info params[], size_t n));
/* Set the VALUE associated with the parameter given by NAME. */
@@ -75,17 +75,27 @@ typedef enum compiler_param
#define DEFPARAM(enumerator, option, msgid, default) \
enumerator,
#include "params.def"
-#undef DEFPARAM
+#undef DEFPARAM
LAST_PARAM
} compiler_param;
/* The value of the parameter given by ENUM. */
#define PARAM_VALUE(ENUM) \
(compiler_params[(int) ENUM].value)
-
+
/* 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_INLINE_INSNS_RTL \
+ PARAM_VALUE (PARAM_MAX_INLINE_INSNS_RTL)
#define MAX_DELAY_SLOT_INSN_SEARCH \
PARAM_VALUE (PARAM_MAX_DELAY_SLOT_INSN_SEARCH)
#define MAX_DELAY_SLOT_LIVE_SEARCH \
@@ -96,4 +106,6 @@ typedef enum compiler_param
((size_t) PARAM_VALUE (PARAM_MAX_GCSE_MEMORY))
#define MAX_GCSE_PASSES \
PARAM_VALUE (PARAM_MAX_GCSE_PASSES)
+#define MAX_UNROLLED_INSNS \
+ PARAM_VALUE (PARAM_MAX_UNROLLED_INSNS)
#endif /* ! GCC_PARAMS_H */
OpenPOWER on IntegriCloud