aboutsummaryrefslogtreecommitdiff
path: root/gcc/target-def.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2008-09-20 09:15:43 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2008-09-20 09:15:43 +0000
commit76e68dca26be88ab2e96aac6c1af79b946d0f4ee (patch)
treea9c18e21b19d7e54614cb457343b3cedb422d6bd /gcc/target-def.h
parentd84b344a6c22cb816af1f204ff782b9f2e5166b5 (diff)
downloadgcc-76e68dca26be88ab2e96aac6c1af79b946d0f4ee.zip
gcc-76e68dca26be88ab2e96aac6c1af79b946d0f4ee.tar.gz
gcc-76e68dca26be88ab2e96aac6c1af79b946d0f4ee.tar.bz2
tm.texi (TARGET_IRA_COVER_CLASSES): Define.
gcc/ * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Define. (IRA_COVER_CLASSES): Refer to TARGET_IRA_COVER_CLASSES. * target.h (gcc_target): Add ira_cover_classes. * ira.c: Remove IRA_COVER_CLASSES guards. (setup_cover_and_important_classes): Use targetm.ira_cover_classes instead of IRA_COVER_CLASSES. (setup_cover_and_important_classes): Remove IRA_COVER_CLASSES guard. (setup_class_translate): Likewise. (setup_reg_class_intersect_union): Likewise. (find_reg_class_closure): Replace IRA_COVER_CLASSES guard with a test of targetm.ira_cover_classes. * opts.c (decode_options): Use targetm.ira_cover_classes instead of IRA_COVER_CLASSES. * target-def.h (TARGET_IRA_COVER_CLASSES): Define. (TARGET_INITIALIZER): Include it. * targhooks.h (default_ira_cover_classes): Declare. * targhooks.c (default_ira_cover_classes): New function. From-SVN: r140512
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r--gcc/target-def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h
index 07b7f33..3a332d8 100644
--- a/gcc/target-def.h
+++ b/gcc/target-def.h
@@ -631,6 +631,12 @@
#define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 0
#endif
+#ifdef IRA_COVER_CLASSES
+#define TARGET_IRA_COVER_CLASSES default_ira_cover_classes
+#else
+#define TARGET_IRA_COVER_CLASSES 0
+#endif
+
#ifndef TARGET_SECONDARY_RELOAD
#define TARGET_SECONDARY_RELOAD default_secondary_reload
#endif
@@ -907,6 +913,7 @@
TARGET_INVALID_CONVERSION, \
TARGET_INVALID_UNARY_OP, \
TARGET_INVALID_BINARY_OP, \
+ TARGET_IRA_COVER_CLASSES, \
TARGET_SECONDARY_RELOAD, \
TARGET_EXPAND_TO_RTL_HOOK, \
TARGET_INSTANTIATE_DECLS, \