]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-inline.c
tree-inline.h (eni_weights): Add field target_builtin_cost to reflect the cost per...
authorPranav Bhandarkar <pranav.bhandarkar@celunite.com>
Mon, 24 Sep 2007 13:31:25 +0000 (13:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Sep 2007 13:31:25 +0000 (13:31 +0000)
commit625a2efbe74a402a8a6121ccef1bb776011051a5
tree5ae6ba82a1b1c37487df12609385809595a18d5e
parent548183dbd3b728a6b93a4e8c5397620f386bf618
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
gcc/ChangeLog
gcc/tree-inline.c
gcc/tree-inline.h