diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-24 13:31:25 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-24 13:31:25 +0000 |
commit | 4a5b1b7cdfea68335a50202078ab716ac751dabf (patch) | |
tree | 5ae6ba82a1b1c37487df12609385809595a18d5e /gcc/tree-inline.h | |
parent | 89e11285eb627e9ebd4efa5da00dad103921b7f1 (diff) | |
download | gcc-4a5b1b7cdfea68335a50202078ab716ac751dabf.tar.gz |
2007-09-24 Pranav Bhandarkar <pranav.bhandarkar@celunite.com>
Ramana Radhakrishnan <ramana@hercules.pun.celunite.com>
* tree-inline.h (eni_weights): Add field target_builtin_cost to
reflect the cost per call to a target specific builtin.
* tree-inline.c (estimate_num_insns_1): If it is a CALL_EXPR for
* a
call to a target specific builtin, then use
target_builtin_call_cost.
(init_inline_once): Initialize target_builtin_call_cost field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index 1fa360ad345..895a0afcbbd 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -103,6 +103,9 @@ typedef struct eni_weights_d /* Cost per call. */ unsigned call_cost; + /* Cost per call to a target specific builtin */ + unsigned target_builtin_call_cost; + /* Cost of "expensive" div and mod operations. */ unsigned div_mod_cost; |