summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-10 13:16:38 +0000
committerrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-10 13:16:38 +0000
commitd52fd16a6bacb2e83fcd5cb1ea4c6e76dc74971e (patch)
tree6a134dc64a3873eb40dadbaa25d0e75243c9a879 /gcc/target.h
parentb2ed6df1be52def6627f0609626922b532738e90 (diff)
downloadgcc-d52fd16a6bacb2e83fcd5cb1ea4c6e76dc74971e.tar.gz
New target hook to calculate MII
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index bf76402eaa5..4d8cd012220 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -88,6 +88,9 @@ typedef struct secondary_reload_info
/* This is defined in sched-int.h . */
struct _dep;
+/* This is defined in ddg.h . */
+struct ddg;
+
struct gcc_target
{
/* Functions that output assembler for the target. */
@@ -397,6 +400,12 @@ struct gcc_target
information about the speculation capabilities of the target.
The parameter is a pointer to spec_info variable. */
void (* set_sched_flags) (struct spec_info_def *);
+
+ /* The following member value is a pointer to a function that provides
+ information about the target resource-based lower bound which is
+ used by the swing modulo scheduler. The parameter is a pointer
+ to ddg variable. */
+ int (* sms_res_mii) (struct ddg *);
} sched;
/* Functions relating to vectorization. */