Enabled Usage of _Cilk_spawn and _Cilk_sync in Cilk Runtime (libcilkrts).
[official-gcc.git] / gcc / builtins.h
blob0ed9479bdbf9e4c47d5c8befaa72129ca3790137
1 /* Expand builtin functions.
2 Copyright (C) 1988-2013 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