diff options
author | Kurt Garloff <garloff@suse.de> | 2002-04-27 11:59:40 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-04-27 11:59:40 -0700 |
commit | a62271540b77521105201f891e7b15391bc8e977 (patch) | |
tree | 44b746e8edff894622cc845061d0426f9996dee0 /gcc/params.h | |
parent | c3a6afe78df226088609daacffd8a329a3a7ede7 (diff) | |
download | gcc-a62271540b77521105201f891e7b15391bc8e977.zip gcc-a62271540b77521105201f891e7b15391bc8e977.tar.gz gcc-a62271540b77521105201f891e7b15391bc8e977.tar.bz2 |
tree-inline.c (inlinable_function_p): Improve heuristics by using a smoother function to cut down allowable inlinable...
* tree-inline.c (inlinable_function_p): Improve heuristics
by using a smoother function to cut down allowable inlinable size.
* param.def: Add parameters max-inline-insns-single,
max-inline-slope, min-inline-insns that determine the exact
shape of the above function.
* param.h: Likewise.
From-SVN: r52832
Diffstat (limited to 'gcc/params.h')
-rw-r--r-- | gcc/params.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/params.h b/gcc/params.h index 36800af..c4474e4 100644 --- a/gcc/params.h +++ b/gcc/params.h @@ -84,8 +84,14 @@ typedef enum compiler_param (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_DELAY_SLOT_INSN_SEARCH \ PARAM_VALUE (PARAM_MAX_DELAY_SLOT_INSN_SEARCH) #define MAX_DELAY_SLOT_LIVE_SEARCH \ |