summaryrefslogtreecommitdiff
path: root/gcc/df.h
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-20 23:02:54 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-20 23:02:54 +0000
commit6e1553b47505ba910d8d04405723feaa15d14ac9 (patch)
treedad7e79390d01f10787cd677e498cf80c07d1887 /gcc/df.h
parentd262181e163933d2b87b83caf42799065509859e (diff)
downloadgcc-6e1553b47505ba910d8d04405723feaa15d14ac9.tar.gz
2003-03-20 Daniel Berlin <dberlin@dberlin.org>
Merge changes from new-regalloc-branch From Michael Matz <matz@suse.de> * df.c (df_ref_record_1): Move init of loc to safe point. Only recurse on interesting things in parallels. Handle CLASS_CANNOT_CHANGE_MODE smarter. (df_uses_record): Ditto. * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which it's already okay to use memory operands in (IE doesn't require adding another insn or anything). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64629 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df.h')
-rw-r--r--gcc/df.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/df.h b/gcc/df.h
index 2191ab5e9dd..fa8aab4557c 100644
--- a/gcc/df.h
+++ b/gcc/df.h
@@ -63,7 +63,12 @@ enum df_ref_flags
/* This flag is set, if we stripped the subreg from the reference.
In this case we must make conservative guesses, at what the
outer mode was. */
- DF_REF_STRIPPED = 4
+ DF_REF_STRIPPED = 4,
+
+ /* This flag is set during register allocation if it's okay for
+ the reference's INSN to have one of its operands replaced with a
+ memory reference. */
+ DF_REF_MEM_OK = 8
};