diff options
author | Razya Ladelsky <razya@gcc.gnu.org> | 2005-08-01 07:47:25 +0000 |
---|---|---|
committer | Razya Ladelsky <razya@gcc.gnu.org> | 2005-08-01 07:47:25 +0000 |
commit | 19734dd84e999ade0e315247f0de9e1b176257bb (patch) | |
tree | 4da9fbc1ee7db5362ec4694645f81df848322798 /gcc/tree-inline.h | |
parent | 57fb53415ece9fc8ce86848b8ff566348d185d94 (diff) | |
download | gcc-19734dd84e999ade0e315247f0de9e1b176257bb.zip gcc-19734dd84e999ade0e315247f0de9e1b176257bb.tar.gz gcc-19734dd84e999ade0e315247f0de9e1b176257bb.tar.bz2 |
Interprocedural constant propagation.
From-SVN: r102626
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index 23d562c..65ffed2 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -22,6 +22,7 @@ Boston, MA 02110-1301, USA. */ #ifndef GCC_TREE_INLINE_H #define GCC_TREE_INLINE_H +#include "varray.h" /* Function prototypes. */ void optimize_inline_calls (tree); @@ -33,6 +34,12 @@ int estimate_move_cost (tree type); void push_cfun (struct function *new_cfun); void pop_cfun (void); int estimate_num_insns (tree expr); +bool tree_versionable_function_p (tree); +void tree_function_versioning (tree, tree, varray_type); + +/* Copy a declaration when one function is substituted inline into + another. It is used also for versioning. */ +extern tree copy_decl_for_dup (tree, tree, tree, bool); /* 0 if we should not perform inlining. 1 if we should expand functions calls inline at the tree level. |