]> gcc.gnu.org Git - gcc.git/blame - gcc/rtlhooks-def.h
decl.c: Do not undefine IN_GCC_FRONTEND and do not include expr.h.
[gcc.git] / gcc / rtlhooks-def.h
CommitLineData
2f93eea8 1/* Default macros to initialize an rtl_hooks data structure.
66647d44 2 Copyright 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
2f93eea8
PB
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
9dcd6f09 8the Free Software Foundation; either version 3, or (at your option)
2f93eea8
PB
9any later version.
10
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
9dcd6f09
NC
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
2f93eea8
PB
19
20#ifndef GCC_RTL_HOOKS_DEF_H
21#define GCC_RTL_HOOKS_DEF_H
22
23#include "rtl.h"
24
25#define RTL_HOOKS_GEN_LOWPART gen_lowpart_general
9ce921ab 26#define RTL_HOOKS_GEN_LOWPART_NO_EMIT gen_lowpart_no_emit_general
2f93eea8
PB
27#define RTL_HOOKS_REG_NONZERO_REG_BITS reg_nonzero_bits_general
28#define RTL_HOOKS_REG_NUM_SIGN_BIT_COPIES reg_num_sign_bit_copies_general
d3b72690 29#define RTL_HOOKS_REG_TRUNCATED_TO_MODE reg_truncated_to_mode_general
2f93eea8
PB
30
31/* The structure is defined in rtl.h. */
32#define RTL_HOOKS_INITIALIZER { \
33 RTL_HOOKS_GEN_LOWPART, \
9ce921ab 34 RTL_HOOKS_GEN_LOWPART_NO_EMIT, \
2f93eea8
PB
35 RTL_HOOKS_REG_NONZERO_REG_BITS, \
36 RTL_HOOKS_REG_NUM_SIGN_BIT_COPIES, \
e855c69d 37 RTL_HOOKS_REG_TRUNCATED_TO_MODE \
2f93eea8
PB
38}
39
40extern rtx gen_lowpart_general (enum machine_mode, rtx);
9ce921ab 41extern rtx gen_lowpart_no_emit_general (enum machine_mode, rtx);
fa233e34 42extern rtx reg_nonzero_bits_general (const_rtx, enum machine_mode, const_rtx,
2f93eea8
PB
43 enum machine_mode,
44 unsigned HOST_WIDE_INT,
45 unsigned HOST_WIDE_INT *);
fa233e34 46extern rtx reg_num_sign_bit_copies_general (const_rtx, enum machine_mode, const_rtx,
2f93eea8
PB
47 enum machine_mode,
48 unsigned int, unsigned int *);
fa233e34 49extern bool reg_truncated_to_mode_general (enum machine_mode, const_rtx);
2f93eea8
PB
50
51#endif /* GCC_RTL_HOOKS_DEF_H */
This page took 2.774892 seconds and 5 git commands to generate.