summaryrefslogtreecommitdiffstats
path: root/gcc/params.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-27 18:59:40 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-27 18:59:40 +0000
commit6cc4057d94f5b2b7d07672c2160e30c75671573b (patch)
tree44b746e8edff894622cc845061d0426f9996dee0 /gcc/params.h
parent9f47387724ff88d65fe366ec2a4d8e65864391ba (diff)
downloadppe42-gcc-6cc4057d94f5b2b7d07672c2160e30c75671573b.tar.gz
ppe42-gcc-6cc4057d94f5b2b7d07672c2160e30c75671573b.zip
* 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
Diffstat (limited to 'gcc/params.h')
-rw-r--r--gcc/params.h6
1 files changed, 6 insertions, 0 deletions
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 \
OpenPOWER on IntegriCloud