xref: /dflybsd-src/contrib/gcc-4.7/gcc/cfglayout.h (revision 04febcfb30580676d3e95f58a16c5137ee478b32)
1*e4b17023SJohn Marino /* Basic block reordering routines for the GNU compiler.
2*e4b17023SJohn Marino    Copyright (C) 2000, 2003, 2004, 2007, 2011 Free Software Foundation, Inc.
3*e4b17023SJohn Marino 
4*e4b17023SJohn Marino    This file is part of GCC.
5*e4b17023SJohn Marino 
6*e4b17023SJohn Marino    GCC is free software; you can redistribute it and/or modify it
7*e4b17023SJohn Marino    under the terms of the GNU General Public License as published by
8*e4b17023SJohn Marino    the Free Software Foundation; either version 3, or (at your option)
9*e4b17023SJohn Marino    any later version.
10*e4b17023SJohn Marino 
11*e4b17023SJohn Marino    GCC is distributed in the hope that it will be useful, but WITHOUT
12*e4b17023SJohn Marino    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13*e4b17023SJohn Marino    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
14*e4b17023SJohn Marino    License for more details.
15*e4b17023SJohn Marino 
16*e4b17023SJohn Marino    You should have received a copy of the GNU General Public License
17*e4b17023SJohn Marino    along with GCC; see the file COPYING3.  If not see
18*e4b17023SJohn Marino    <http://www.gnu.org/licenses/>.  */
19*e4b17023SJohn Marino 
20*e4b17023SJohn Marino #ifndef GCC_CFGLAYOUT_H
21*e4b17023SJohn Marino #define GCC_CFGLAYOUT_H
22*e4b17023SJohn Marino 
23*e4b17023SJohn Marino #include "basic-block.h"
24*e4b17023SJohn Marino 
25*e4b17023SJohn Marino extern GTY(()) rtx cfg_layout_function_footer;
26*e4b17023SJohn Marino extern GTY(()) rtx cfg_layout_function_header;
27*e4b17023SJohn Marino 
28*e4b17023SJohn Marino extern void cfg_layout_initialize (unsigned int);
29*e4b17023SJohn Marino extern void cfg_layout_finalize (void);
30*e4b17023SJohn Marino extern tree insn_scope (const_rtx);
31*e4b17023SJohn Marino extern void reemit_insn_block_notes (void);
32*e4b17023SJohn Marino extern bool can_copy_bbs_p (basic_block *, unsigned);
33*e4b17023SJohn Marino extern void copy_bbs (basic_block *, unsigned, basic_block *,
34*e4b17023SJohn Marino 		      edge *, unsigned, edge *, struct loop *,
35*e4b17023SJohn Marino 		      basic_block);
36*e4b17023SJohn Marino extern rtx duplicate_insn_chain (rtx, rtx);
37*e4b17023SJohn Marino 
38*e4b17023SJohn Marino #endif /* GCC_CFGLAYOUT_H */
39