diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-19 17:08:48 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-19 17:08:48 +0000 |
commit | 4270b4b9847f7bb93e010f2d96cb2c17aedd9fae (patch) | |
tree | b294c67de998851f229c1f90e61eb62fdc07c65f /gcc/df.h | |
parent | df21ac14d9aeff8e2e3539a2bb9699ef3f335445 (diff) | |
download | linaro-gcc-4270b4b9847f7bb93e010f2d96cb2c17aedd9fae.tar.gz linaro-gcc-4270b4b9847f7bb93e010f2d96cb2c17aedd9fae.tar.bz2 linaro-gcc-4270b4b9847f7bb93e010f2d96cb2c17aedd9fae.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47175 138bc75d-0d04-0410-961f-82ee72b054a4
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. */ |