diff options
author | Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> | 2007-09-10 13:16:38 +0000 |
---|---|---|
committer | Revital Eres <revitale@gcc.gnu.org> | 2007-09-10 13:16:38 +0000 |
commit | 67186a97fee72340e779378f7059d9b71d0f7912 (patch) | |
tree | 6a134dc64a3873eb40dadbaa25d0e75243c9a879 /gcc/target.h | |
parent | 77340500f261c833adb77bc8ad37be5d5789310e (diff) | |
download | gcc-67186a97fee72340e779378f7059d9b71d0f7912.zip gcc-67186a97fee72340e779378f7059d9b71d0f7912.tar.gz gcc-67186a97fee72340e779378f7059d9b71d0f7912.tar.bz2 |
New target hook to calculate MII
Co-Authored-By: Revital Eres <eres@il.ibm.com>
From-SVN: r128343
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index bf76402..4d8cd01 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. */ |