OSDN Git Service

2010-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / bb-reorder.h
1 /* Basic block reordering routines for the GNU compiler.
2    Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010
3    Free Software Foundation, Inc.
4
5    This file is part of GCC.
6
7    GCC is free software; you can redistribute it and/or modify it
8    under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 3, or (at your option)
10    any later version.
11
12    GCC is distributed in the hope that it will be useful, but WITHOUT
13    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
15    License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with GCC; see the file COPYING3.  If not see
19    <http://www.gnu.org/licenses/>.  */
20
21 #ifndef GCC_BB_REORDER
22 #define GCC_BB_REORDER
23
24 /* Target-specific globals.  */
25 struct target_bb_reorder {
26   /* Length of unconditional jump instruction.  */
27   int x_uncond_jump_length;
28 };
29
30 extern GTY(()) struct target_bb_reorder default_target_bb_reorder;
31 #if SWITCHABLE_TARGET
32 extern struct target_bb_reorder *this_target_bb_reorder;
33 #else
34 #define this_target_bb_reorder (&default_target_bb_reorder)
35 #endif
36
37 #endif