summaryrefslogtreecommitdiff
path: root/gcc/ipa-type-escape.h
diff options
context:
space:
mode:
authorolga <olga@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-24 10:36:30 +0000
committerolga <olga@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-24 10:36:30 +0000
commitf27ac341aab17a7bbf46db72c10f85d63024c21e (patch)
tree7ca82a7fb1bb05fc28bc4c7186c3833b11ce6de3 /gcc/ipa-type-escape.h
parente9097dc55fc7e8367b03665a46d2b627cbc42ab8 (diff)
downloadgcc-f27ac341aab17a7bbf46db72c10f85d63024c21e.tar.gz
2007-10-24 Olga Golovanevsky <olga@il.ibm.com>
* ipa-type-escape.h: Expose function is_array_access_through_pointer_and_index. * ipa-type-escape.c (is_array_access_through_pointer_and_index): Add three new parameters. Add support of POINTER_PLUS_EXPR tree code. 2007-10-24 Olga Golovanevsky <olga@il.ibm.com> * ipa-struct-reorg.c, ipa-struct-reorg.h: New files. * tree-pass.h: Add pass_ipa_struct_reorg. * common.opt: Add ipa-struct-reorg flag. * Makefile.in: Add ipa-strcut-reorg.o compilation. * passes.c: Add pass pass_ipa_struct_reorg. * params.h: Add STRUCT_REORG_COLD_STRUCT_RATIO. * params.def: Add PARAM_STRUCT_REORG_COLD_STRUCT_RATIO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129600 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-type-escape.h')
-rw-r--r--gcc/ipa-type-escape.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-type-escape.h b/gcc/ipa-type-escape.h
index 170494f5175..c851a2707be 100644
--- a/gcc/ipa-type-escape.h
+++ b/gcc/ipa-type-escape.h
@@ -26,6 +26,8 @@ bool ipa_type_escape_type_contained_p (tree type);
bool ipa_type_escape_field_does_not_clobber_p (tree record_type, tree field_type);
int ipa_type_escape_star_count_of_interesting_type (tree type);
int ipa_type_escape_star_count_of_interesting_or_array_type (tree type);
+bool is_array_access_through_pointer_and_index (enum tree_code, tree, tree,
+ tree *, tree *, tree *);
#endif /* GCC_IPA_TYPE_ESCAPE_H */