]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/common/config/gcn/gcn-common.c
GCN back-end code
[thirdparty/gcc.git] / gcc / common / config / gcn / gcn-common.c
CommitLineData
5326695a
AS
1/* Common hooks for GCN
2 Copyright (C) 2016-2019 Free Software Foundation, Inc.
3
4 This file is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 3 of the License, or (at your option)
7 any later version.
8
9 This file is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with GCC; see the file COPYING3. If not see
16 <http://www.gnu.org/licenses/>. */
17
18#include "config.h"
19#include "system.h"
20#include "coretypes.h"
21#include "tm.h"
22#include "common/common-target.h"
23#include "common/common-target-def.h"
24#include "opts.h"
25#include "flags.h"
26#include "params.h"
27
28/* Set default optimization options. */
29static const struct default_options gcn_option_optimization_table[] =
30 {
31 { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 },
32 { OPT_LEVELS_NONE, 0, NULL, 0 }
33 };
34
35#undef TARGET_OPTION_OPTIMIZATION_TABLE
36#define TARGET_OPTION_OPTIMIZATION_TABLE gcn_option_optimization_table
37
38struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;