summaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.h
diff options
context:
space:
mode:
authorrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-28 13:01:53 +0000
committerrazya <razya@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-28 13:01:53 +0000
commit8624b7fc4d88af3e0f2f10482f2080f17d57a37d (patch)
treec73db10bbc05de607bbac8c68ffe25e8add6c151 /gcc/ipa-prop.h
parent4dd9a77f3b73c418225e8a10506ad5ccf72d5069 (diff)
downloadgcc-8624b7fc4d88af3e0f2f10482f2080f17d57a37d.tar.gz
2007-01-25 Razya Ladelsky <razya@il.ibm.com>
* ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA. (ipcp_driver): Change to static definition. Add dumping of the ifunctions. (constant_val_insert): Remove unused parameter. Support for SSA. (ipcp_propagate_const): Support for SSA. (ipcp_profile_bb_print): Print only analyzed nodes. (ipcp_replace_map_create): Remove support for Fortran constant for now. * ipa-prop.c (ipa_method_modify_stmt, ipa_callsite_compute_param): Support for SSA. * ipa-prop.h (ipcp_driver): Remove declaration. (IS_VALID_TREE_MAP_INDEX): Add define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r--gcc/ipa-prop.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h
index b5c5f2deaa0..8450ce4d8ad 100644
--- a/gcc/ipa-prop.h
+++ b/gcc/ipa-prop.h
@@ -106,6 +106,9 @@ struct ipa_replace_map
to ipa_node/ipa_edge struct. */
#define IPA_NODE_REF(MT) ((struct ipa_node *)(MT)->aux)
#define IPA_EDGE_REF(EDGE) ((struct ipa_edge *)(EDGE)->aux)
+/* This macro checks validity of index returned by
+ ipa_method_tree_map function. */
+#define IS_VALID_TREE_MAP_INDEX(I) ((I) != -1)
/* ipa_node stores information related to a method and
its formal parameters. It is pointed to by a field in the
@@ -199,6 +202,4 @@ void ipa_nodes_free (void);
void ipa_method_tree_print (FILE *);
void ipa_method_modify_print (FILE *);
-unsigned int ipcp_driver (void);
-
#endif /* IPA_PROP_H */