i386: move alignment defaults to processor_costs.
[official-gcc.git] / gcc / common / common-targhooks.h
blob4bdf8efdbe6b8afc183e051c6daaa044e3cc73fa
1 /* Default common target hook functions.
2 Copyright (C) 2003-2018 Free Software Foundation, Inc.
4 This file is part of GCC.
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
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_COMMON_TARGHOOKS_H
21 #define GCC_COMMON_TARGHOOKS_H
23 extern enum unwind_info_type default_except_unwind_info (struct gcc_options *);
24 extern enum unwind_info_type dwarf2_except_unwind_info (struct gcc_options *);
25 extern enum unwind_info_type sjlj_except_unwind_info (struct gcc_options *);
27 extern bool default_target_handle_option (struct gcc_options *,
28 struct gcc_options *,
29 const struct cl_decoded_option *,
30 location_t);
31 extern vec<const char *> default_get_valid_option_values (int, const char *);
33 extern const struct default_options empty_optimization_table[];
35 #endif