]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/cfghooks.c
arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting 64-bit alignment.
[thirdparty/gcc.git] / gcc / cfghooks.c
CommitLineData
9ee634e3
JH
1/* Hooks for cfg representation specific functions.
2 Copyright (C) 2003 Free Software Foundation, Inc.
3 Contributed by Sebastian Pop <s.pop@laposte.net>
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GCC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING. If not, write to
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA. */
21
22#include "config.h"
23#include "system.h"
24#include "coretypes.h"
25#include "tm.h"
26#include "tree.h"
27#include "rtl.h"
28#include "basic-block.h"
29
30extern struct cfg_hooks rtl_cfg_hooks;
31extern struct cfg_hooks cfg_layout_rtl_cfg_hooks;
32
33/* A pointer to one of the hooks containers. */
34struct cfg_hooks *cfg_hooks;
35
36/* Initialization of functions specific to the rtl IR. */
37void
38rtl_register_cfg_hooks ()
39{
40 cfg_hooks = &rtl_cfg_hooks;
41}
42
43/* Initialization of functions specific to the rtl IR. */
44void
45cfg_layout_rtl_register_cfg_hooks ()
46{
47 cfg_hooks = &cfg_layout_rtl_cfg_hooks;
48}