comparison gcc/rtlhooks-def.h @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents a06113de4d67
children 84e7813d76e9
comparison
equal deleted inserted replaced
15:561a7518be6b 16:04ced10e8804
1 /* Default macros to initialize an rtl_hooks data structure. 1 /* Default macros to initialize an rtl_hooks data structure.
2 Copyright 2004, 2005, 2007, 2008 Free Software Foundation, Inc. 2 Copyright (C) 2004-2017 Free Software Foundation, Inc.
3 3
4 This file is part of GCC. 4 This file is part of GCC.
5 5
6 GCC is free software; you can redistribute it and/or modify 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 7 it under the terms of the GNU General Public License as published by
21 #define GCC_RTL_HOOKS_DEF_H 21 #define GCC_RTL_HOOKS_DEF_H
22 22
23 #include "rtl.h" 23 #include "rtl.h"
24 24
25 #define RTL_HOOKS_GEN_LOWPART gen_lowpart_general 25 #define RTL_HOOKS_GEN_LOWPART gen_lowpart_general
26 #define RTL_HOOKS_GEN_LOWPART_NO_EMIT gen_lowpart_no_emit_general 26 #define RTL_HOOKS_GEN_LOWPART_NO_EMIT gen_lowpart_if_possible
27 #define RTL_HOOKS_REG_NONZERO_REG_BITS reg_nonzero_bits_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 28 #define RTL_HOOKS_REG_NUM_SIGN_BIT_COPIES reg_num_sign_bit_copies_general
29 #define RTL_HOOKS_REG_TRUNCATED_TO_MODE reg_truncated_to_mode_general 29 #define RTL_HOOKS_REG_TRUNCATED_TO_MODE reg_truncated_to_mode_general
30 30
31 /* The structure is defined in rtl.h. */ 31 /* The structure is defined in rtl.h. */
35 RTL_HOOKS_REG_NONZERO_REG_BITS, \ 35 RTL_HOOKS_REG_NONZERO_REG_BITS, \
36 RTL_HOOKS_REG_NUM_SIGN_BIT_COPIES, \ 36 RTL_HOOKS_REG_NUM_SIGN_BIT_COPIES, \
37 RTL_HOOKS_REG_TRUNCATED_TO_MODE \ 37 RTL_HOOKS_REG_TRUNCATED_TO_MODE \
38 } 38 }
39 39
40 extern rtx gen_lowpart_general (enum machine_mode, rtx); 40 extern rtx gen_lowpart_general (machine_mode, rtx);
41 extern rtx gen_lowpart_no_emit_general (enum machine_mode, rtx); 41 extern rtx reg_nonzero_bits_general (const_rtx, scalar_int_mode,
42 extern rtx reg_nonzero_bits_general (const_rtx, enum machine_mode, const_rtx, 42 scalar_int_mode,
43 enum machine_mode,
44 unsigned HOST_WIDE_INT,
45 unsigned HOST_WIDE_INT *); 43 unsigned HOST_WIDE_INT *);
46 extern rtx reg_num_sign_bit_copies_general (const_rtx, enum machine_mode, const_rtx, 44 extern rtx reg_num_sign_bit_copies_general (const_rtx, scalar_int_mode,
47 enum machine_mode, 45 scalar_int_mode, unsigned int *);
48 unsigned int, unsigned int *); 46 extern bool reg_truncated_to_mode_general (machine_mode, const_rtx);
49 extern bool reg_truncated_to_mode_general (enum machine_mode, const_rtx);
50 47
51 #endif /* GCC_RTL_HOOKS_DEF_H */ 48 #endif /* GCC_RTL_HOOKS_DEF_H */