]>
Commit | Line | Data |
---|---|---|
fa19795e | 1 | /* Expand builtin functions. |
d1e082c2 | 2 | Copyright (C) 1988-2013 Free Software Foundation, Inc. |
fa19795e RS |
3 | |
4 | This file is part of GCC. | |
5 | ||
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. | |
10 | ||
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. | |
15 | ||
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/>. */ | |
19 | ||
20 | #ifndef GCC_BUILTINS_H | |
21 | #define GCC_BUILTINS_H | |
22 | ||
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]; | |
31 | ||
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]; | |
38 | }; | |
39 | ||
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 | |
46 | ||
47 | #endif |