* invoke.texi: Fix typo.
[official-gcc.git] / gcc / rtlhooks-def.h
blobaaae80cab8c44252827339e6dd69fdf0f0b8e23d
1 /* Default macros to initialize an rtl_hooks data structure.
2 Copyright 2004 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #ifndef GCC_RTL_HOOKS_DEF_H
22 #define GCC_RTL_HOOKS_DEF_H
24 #include "rtl.h"
26 #define RTL_HOOKS_GEN_LOWPART gen_lowpart_general
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
30 /* The structure is defined in rtl.h. */
31 #define RTL_HOOKS_INITIALIZER { \
32 RTL_HOOKS_GEN_LOWPART, \
33 RTL_HOOKS_REG_NONZERO_REG_BITS, \
34 RTL_HOOKS_REG_NUM_SIGN_BIT_COPIES, \
37 extern rtx gen_lowpart_general (enum machine_mode, rtx);
38 extern rtx reg_nonzero_bits_general (rtx, enum machine_mode, rtx,
39 enum machine_mode,
40 unsigned HOST_WIDE_INT,
41 unsigned HOST_WIDE_INT *);
42 extern rtx reg_num_sign_bit_copies_general (rtx, enum machine_mode, rtx,
43 enum machine_mode,
44 unsigned int, unsigned int *);
46 #endif /* GCC_RTL_HOOKS_DEF_H */