diff options
author | Pranav Bhandarkar <pranav.bhandarkar@celunite.com> | 2007-09-24 13:31:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-09-24 13:31:25 +0000 |
commit | 625a2efbe74a402a8a6121ccef1bb776011051a5 (patch) | |
tree | 5ae6ba82a1b1c37487df12609385809595a18d5e /gcc/tree-inline.h | |
parent | 548183dbd3b728a6b93a4e8c5397620f386bf618 (diff) | |
download | gcc-625a2efbe74a402a8a6121ccef1bb776011051a5.zip gcc-625a2efbe74a402a8a6121ccef1bb776011051a5.tar.gz gcc-625a2efbe74a402a8a6121ccef1bb776011051a5.tar.bz2 |
tree-inline.h (eni_weights): Add field target_builtin_cost to reflect the cost per call to a target specific...
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.
Co-Authored-By: Ramana Radhakrishnan <ramana@hercules.pun.celunite.com>
From-SVN: r128714
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 1fa360a..895a0af 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; |