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