comparison gcc/predict.h @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* Definitions for branch prediction routines in the GNU compiler. 1 /* Definitions for branch prediction routines in the GNU compiler.
2 Copyright (C) 2001-2018 Free Software Foundation, Inc. 2 Copyright (C) 2001-2020 Free Software Foundation, Inc.
3 3
4 This file is part of GCC. 4 This file is part of GCC.
5 5
6 GCC is free software; you can redistribute it and/or modify it under 6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free 7 the terms of the GNU General Public License as published by the Free
66 extern optimization_type bb_optimization_type (const_basic_block); 66 extern optimization_type bb_optimization_type (const_basic_block);
67 extern bool optimize_edge_for_size_p (edge); 67 extern bool optimize_edge_for_size_p (edge);
68 extern bool optimize_edge_for_speed_p (edge); 68 extern bool optimize_edge_for_speed_p (edge);
69 extern bool optimize_insn_for_size_p (void); 69 extern bool optimize_insn_for_size_p (void);
70 extern bool optimize_insn_for_speed_p (void); 70 extern bool optimize_insn_for_speed_p (void);
71 extern bool optimize_loop_for_size_p (struct loop *); 71 extern bool optimize_loop_for_size_p (class loop *);
72 extern bool optimize_loop_for_speed_p (struct loop *); 72 extern bool optimize_loop_for_speed_p (class loop *);
73 extern bool optimize_loop_nest_for_speed_p (struct loop *); 73 extern bool optimize_loop_nest_for_speed_p (class loop *);
74 extern bool optimize_loop_nest_for_size_p (struct loop *); 74 extern bool optimize_loop_nest_for_size_p (class loop *);
75 extern bool predictable_edge_p (edge); 75 extern bool predictable_edge_p (edge);
76 extern void rtl_profile_for_bb (basic_block); 76 extern void rtl_profile_for_bb (basic_block);
77 extern void rtl_profile_for_edge (edge); 77 extern void rtl_profile_for_edge (edge);
78 extern void default_rtl_profile (void); 78 extern void default_rtl_profile (void);
79 extern bool rtl_predicted_by_p (const_basic_block, enum br_predictor); 79 extern bool rtl_predicted_by_p (const_basic_block, enum br_predictor);