diff options
author | Jan Hubicka <jh@suse.cz> | 2001-11-19 18:08:48 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-11-19 17:08:48 +0000 |
commit | 7fcd72187907e12fa670d7c4794641691b30e825 (patch) | |
tree | b294c67de998851f229c1f90e61eb62fdc07c65f /gcc/df.h | |
parent | f83fd9ae2ea1ea580626ed3171c1f5c46a4a05ea (diff) | |
download | gcc-7fcd72187907e12fa670d7c4794641691b30e825.zip gcc-7fcd72187907e12fa670d7c4794641691b30e825.tar.gz gcc-7fcd72187907e12fa670d7c4794641691b30e825.tar.bz2 |
gcse.c (try_replace_reg): Copy RTX before creating note.
* gcse.c (try_replace_reg): Copy RTX before creating note.
* df.h (df_ref_flags): New uenum.
(DF_REF_FLAGS): New macro.
(struct ref): Add field "flags".
* df.c (HANDLE_SUBREG): Remove.
(df_ref_create): Likewise; set flags field of ref.
(df_def_record_1): Strip down read_write subreg; remove
commented out code; set READ_WRITE flag.
(read_modify_subreg_p): New static function.
(df_uses_record): Cleanup SET handling; set READ_WRITE flag;
new argument "flags".
(df_insn_refs_record): Update call of df_uses_record.
(df_insn_modify): Avoid #if 0 around comment.
(df_dump): Dump the read/write flag.
* predict.c (propagate_freq): Make cyclic_probability and frequency
volatile
* i386.c (ix86_cc_mode): Accept USE.
* cfgrtl.c (purge_dead_edges): Cleanup EDGE_ABNORMAL flag if computed
jump is turned into simplejump.
From-SVN: r47175
Diffstat (limited to 'gcc/df.h')
-rw-r--r-- | gcc/df.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -48,6 +48,10 @@ struct df_link struct ref *ref; }; +enum df_ref_flags + { + DF_REF_READ_WRITE = 1 + }; /* Define a register reference structure. */ struct ref @@ -59,6 +63,7 @@ struct ref struct df_link *chain; /* Head of def-use or use-def chain. */ enum df_ref_type type; /* Type of ref. */ int id; /* Ref index. */ + enum df_ref_flags flags; /* Various flags. */ }; @@ -177,6 +182,7 @@ struct df_map #define DF_REF_TYPE(REF) ((REF)->type) #define DF_REF_CHAIN(REF) ((REF)->chain) #define DF_REF_ID(REF) ((REF)->id) +#define DF_REF_FLAGS(REF) ((REF)->flags) /* Macros to determine the reference type. */ |