comparison gcc/hooks.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 84e7813d76e9
children 1830386684a0
comparison
equal deleted inserted replaced
130:e108057fa461 132:d34655255c78
1 /* General-purpose hooks. 1 /* General-purpose hooks.
2 Copyright (C) 2002-2017 Free Software Foundation, Inc. 2 Copyright (C) 2002-2018 Free Software Foundation, Inc.
3 3
4 This program is free software; you can redistribute it and/or modify it 4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the 5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 3, or (at your option) any 6 Free Software Foundation; either version 3, or (at your option) any
7 later version. 7 later version.
131 hook_bool_mode_uhwi_false (machine_mode, unsigned HOST_WIDE_INT) 131 hook_bool_mode_uhwi_false (machine_mode, unsigned HOST_WIDE_INT)
132 { 132 {
133 return false; 133 return false;
134 } 134 }
135 135
136 /* Generic hook that takes (unsigned int, unsigned int) and returns true. */ 136 /* Generic hook that takes (poly_uint64, poly_uint64) and returns true. */
137 bool 137 bool
138 hook_bool_uint_uint_true (unsigned int, unsigned int) 138 hook_bool_puint64_puint64_true (poly_uint64, poly_uint64)
139 { 139 {
140 return true; 140 return true;
141 } 141 }
142 142
143 /* Generic hook that takes (unsigned int, machine_mode) and returns false. */ 143 /* Generic hook that takes (unsigned int, machine_mode) and returns false. */
231 231
232 int 232 int
233 hook_int_rtx_1 (rtx) 233 hook_int_rtx_1 (rtx)
234 { 234 {
235 return 1; 235 return 1;
236 }
237
238 int
239 hook_int_rtx_insn_0 (rtx_insn *)
240 {
241 return 0;
236 } 242 }
237 243
238 int 244 int
239 hook_int_rtx_insn_unreachable (rtx_insn *) 245 hook_int_rtx_insn_unreachable (rtx_insn *)
240 { 246 {
523 reg_class_t) 529 reg_class_t)
524 { 530 {
525 return false; 531 return false;
526 } 532 }
527 533
534 /* Generic hook that takes a mode and an unsigned HOST_WIDE_INT and
535 returns no mode. */
536
537 opt_machine_mode
538 hook_optmode_mode_uhwi_none (machine_mode, unsigned HOST_WIDE_INT)
539 {
540 return opt_machine_mode ();
541 }