2011-04-29 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / gcc / bb-reorder.h
blob0b5ed254826e7908b636e1da31a527a312f59a27
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.
5 This file is part of GCC.
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.
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.
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/>. */
21 #ifndef GCC_BB_REORDER
22 #define GCC_BB_REORDER
24 /* Target-specific globals. */
25 struct target_bb_reorder {
26 /* Length of unconditional jump instruction. */
27 int x_uncond_jump_length;
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
37 #endif