From 6cc4057d94f5b2b7d07672c2160e30c75671573b Mon Sep 17 00:00:00 2001 From: rth Date: Sat, 27 Apr 2002 18:59:40 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52832 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/params.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/params.h') diff --git a/gcc/params.h b/gcc/params.h index 36800af2ec4..c4474e418ee 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 \ -- cgit v1.2.1