summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-01 07:47:25 +0000
committerrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-01 07:47:25 +0000
commitc5235c0b315ea8765f6b018a98fee695d60d9469 (patch)
tree4da9fbc1ee7db5362ec4694645f81df848322798 /gcc/tree-inline.h
parentb5d36404491f8d956d5061823e212a6ed4cfed50 (diff)
downloadgcc-c5235c0b315ea8765f6b018a98fee695d60d9469.tar.gz
Interprocedural constant propagation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r--gcc/tree-inline.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index 23d562cc7d1..65ffed29b8d 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.