PR c++/60252
[official-gcc.git] / gcc / builtins.h
blob5eb930369d4bf810aff4148af52433cdbd4a1b17
1 /* Expand builtin functions.
2 Copyright (C) 1988-2014 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef GCC_BUILTINS_H
21 #define GCC_BUILTINS_H
23 /* Target-dependent globals. */
24 struct target_builtins {
25 /* For each register that may be used for calling a function, this
26 gives a mode used to copy the register's value. VOIDmode indicates
27 the register is not used for calling a function. If the machine
28 has register windows, this gives only the outbound registers.
29 INCOMING_REGNO gives the corresponding inbound register. */
30 enum machine_mode x_apply_args_mode[FIRST_PSEUDO_REGISTER];
32 /* For each register that may be used for returning values, this gives
33 a mode used to copy the register's value. VOIDmode indicates the
34 register is not used for returning values. If the machine has
35 register windows, this gives only the outbound registers.
36 INCOMING_REGNO gives the corresponding inbound register. */
37 enum machine_mode x_apply_result_mode[FIRST_PSEUDO_REGISTER];
40 extern GTY(()) struct target_builtins default_target_builtins;
41 #if SWITCHABLE_TARGET
42 extern struct target_builtins *this_target_builtins;
43 #else
44 #define this_target_builtins (&default_target_builtins)
45 #endif
47 extern bool validate_gimple_arglist (const_gimple, ...);
49 #endif