summaryrefslogtreecommitdiff
path: root/gcc/df.h
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-22 14:23:40 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-22 14:23:40 +0000
commit3d6b8be710445a7a01af0b657ea2e47c6a3c6670 (patch)
tree85322ca05abf7b49ec62b5f1ab6e6fd391a10f29 /gcc/df.h
parent8dba02f779af476cdaf6c33c05eb0d7480acec95 (diff)
downloadgcc-3d6b8be710445a7a01af0b657ea2e47c6a3c6670.tar.gz
* df.c (df_bitmaps_free): Only work for bbs for that structures are
allocated. (df_bb_modify): Realloc tables to the new index. (df_find_use): New function. (df_find_def, df_reg_used): Handle subregs. * df.h (df_find_use): Declare. * loop-invariant.c: Include hashtab.h. (struct invariant): Remove processed field, add eqto and reg fields. (struct invariant_expr_entry): New. (invariant_for_use, hash_invariant_expr_1, invariant_expr_equal_p, hash_invariant_expr, eq_invariant_expr, find_or_insert_inv, find_identical_invariants, merge_identical_invariants): New functions. (create_new_invariant): Return the new invariant. Initialize new fields. (find_invariants): Call merge_identical_invariants. (get_inv_cost, best_gain_for_invariant, set_move_mark, move_invariant_reg): Handle equivalent invariants. * Makefile.in (loop-invariant.o): Add HASHTAB_H dependency. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108949 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df.h')
-rw-r--r--gcc/df.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/df.h b/gcc/df.h
index 65d6b1c0956..e2ad9774dfb 100644
--- a/gcc/df.h
+++ b/gcc/df.h
@@ -290,6 +290,8 @@ extern struct ref *df_bb_regno_last_def_find (struct df *, basic_block, unsigned
extern struct ref *df_find_def (struct df *, rtx, rtx);
+extern struct ref *df_find_use (struct df *, rtx, rtx);
+
extern int df_reg_used (struct df *, rtx, rtx);
/* Functions for debugging from GDB. */