110d565efSmrg /* Basic block reordering routines for the GNU compiler. 2*ec02198aSmrg Copyright (C) 2000-2020 Free Software Foundation, Inc. 310d565efSmrg 410d565efSmrg This file is part of GCC. 510d565efSmrg 610d565efSmrg GCC is free software; you can redistribute it and/or modify it 710d565efSmrg under the terms of the GNU General Public License as published by 810d565efSmrg the Free Software Foundation; either version 3, or (at your option) 910d565efSmrg any later version. 1010d565efSmrg 1110d565efSmrg GCC is distributed in the hope that it will be useful, but WITHOUT 1210d565efSmrg ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 1310d565efSmrg or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 1410d565efSmrg License for more details. 1510d565efSmrg 1610d565efSmrg You should have received a copy of the GNU General Public License 1710d565efSmrg along with GCC; see the file COPYING3. If not see 1810d565efSmrg <http://www.gnu.org/licenses/>. */ 1910d565efSmrg 2010d565efSmrg #ifndef GCC_BB_REORDER 2110d565efSmrg #define GCC_BB_REORDER 2210d565efSmrg 2310d565efSmrg /* Target-specific globals. */ 2410d565efSmrg struct target_bb_reorder { 2510d565efSmrg /* Length of unconditional jump instruction. */ 2610d565efSmrg int x_uncond_jump_length; 2710d565efSmrg }; 2810d565efSmrg 2910d565efSmrg extern struct target_bb_reorder default_target_bb_reorder; 3010d565efSmrg #if SWITCHABLE_TARGET 3110d565efSmrg extern struct target_bb_reorder *this_target_bb_reorder; 3210d565efSmrg #else 3310d565efSmrg #define this_target_bb_reorder (&default_target_bb_reorder) 3410d565efSmrg #endif 3510d565efSmrg 3610d565efSmrg extern int get_uncond_jump_length (void); 3710d565efSmrg 3810d565efSmrg extern void insert_section_boundary_note (void); 3910d565efSmrg 4010d565efSmrg #endif 41