From 67186a97fee72340e779378f7059d9b71d0f7912 Mon Sep 17 00:00:00 2001 From: Trevor Smigiel Date: Mon, 10 Sep 2007 13:16:38 +0000 Subject: New target hook to calculate MII Co-Authored-By: Revital Eres From-SVN: r128343 --- gcc/target.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gcc/target.h') 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. */ -- cgit v1.1