1 /* This file contains the definitions and documentation for the
2 builtins used in the GNU compiler.
3 Copyright (C
) 2000, 2001, 2002, 2003, 2004, 2005
4 Free Software Foundation
, Inc.
6 This file is part of GCC.
8 GCC is free software
; you can redistribute it and
/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation
; either version
2, or (at your option
) any later
13 GCC is distributed in the hope that it will be useful
, but WITHOUT ANY
14 WARRANTY
; without even the implied warranty of MERCHANTABILITY or
15 FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 You should have received a copy of the GNU General Public License
19 along with GCC
; see the file COPYING. If not
, write to the Free
20 Software Foundation
, 59 Temple Place
- Suite
330, Boston
, MA
23 /* Before including this file
, you should define a macro
:
25 DEF_BUILTIN (ENUM
, NAME
, CLASS
, TYPE, LIBTYPE
, BOTH_P
,
26 FALLBACK_P
, NONANSI_P
, ATTRS
, IMPLICIT
)
28 This macro will be called once for each builtin function. The
29 ENUM will be of type `enum built_in_function
', and will indicate
30 which builtin function is being processed. The NAME of the builtin
31 function (which will always start with `__builtin_') is a string
32 literal. The CLASS is of type `enum built_in_class
' and indicates
33 what kind of builtin is being processed.
35 Some builtins are actually two separate functions. For example,
36 for `strcmp' there are two builtin functions
; `__builtin_strcmp
'
37 and `strcmp' itself. Both behave identically. Other builtins
38 define only the `__builtin
' variant. If BOTH_P is TRUE, then this
39 builtin has both variants; otherwise, it is has only the first
42 TYPE indicates the type of the function. The symbols correspond to
43 enumerals from builtin-types.def. If BOTH_P is true, then LIBTYPE
44 is the type of the non-`__builtin_' variant. Otherwise
, LIBTYPE
47 If FALLBACK_P is true then
, if for some reason
, the compiler cannot
48 expand the builtin function directly
, it will call the
49 corresponding library
function (which does not have the
52 If NONANSI_P is true, then the non-`__builtin_' variant is not an
53 ANSI
/ISO library function
, and so we should pretend it does not
54 exist when compiling in ANSI conformant mode.
56 ATTRs is an attribute list as defined in builtin
-attrs.def that
57 describes the attributes of this builtin function.
59 IMPLICIT specifies condition when the builtin can be produced by
60 compiler. For instance C90 reserves floorf function
, but does not
61 define it
's meaning. When user uses floorf we may assume that the
62 floorf has the meaning we expect, but we can't produce floorf by
63 simplifying
floor((double
)float
) since the runtime need not implement
66 /* A GCC
builtin (like __builtin_saveregs
) is provided by the
67 compiler
, but does not correspond to a function in the standard
69 #undef DEF_GCC_BUILTIN
70 #define
DEF_GCC_BUILTIN(ENUM
, NAME
, TYPE, ATTRS
) \
71 DEF_BUILTIN (ENUM
, "__builtin_" NAME
, BUILT_IN_NORMAL
, TYPE, BT_LAST
, \
72 false
, false
, false
, ATTRS
, true
, true
)
74 /* Like DEF_GCC_BUILTIN
, except we don
't prepend "__builtin_". */
75 #undef DEF_SYNC_BUILTIN
76 #define DEF_SYNC_BUILTIN(ENUM, NAME, TYPE, ATTRS) \
77 DEF_BUILTIN (ENUM, NAME, BUILT_IN_NORMAL, TYPE, BT_LAST, \
78 false, false, false, ATTRS, true, true)
80 /* A library builtin (like __builtin_strchr) is a builtin equivalent
81 of an ANSI/ISO standard library function. In addition to the
82 `__builtin' version
, we will create an ordinary
version (e.g
,
83 `strchr
') as well. If we cannot compute the answer using the
84 builtin function, we will fall back to the standard library
86 #undef DEF_LIB_BUILTIN
87 #define DEF_LIB_BUILTIN(ENUM, NAME, TYPE, ATTRS) \
88 DEF_BUILTIN (ENUM, "__builtin_" NAME, BUILT_IN_NORMAL, TYPE, TYPE, \
89 true, true, false, ATTRS, true, true)
91 /* Like DEF_LIB_BUILTIN, except that the function is not one that is
92 specified by ANSI/ISO C. So, when we're being fully conformant we
93 ignore the version of these builtins that does not begin with
95 #undef DEF_EXT_LIB_BUILTIN
96 #define
DEF_EXT_LIB_BUILTIN(ENUM
, NAME
, TYPE, ATTRS
) \
97 DEF_BUILTIN (ENUM
, "__builtin_" NAME
, BUILT_IN_NORMAL
, TYPE, TYPE, \
98 true
, true
, true
, ATTRS
, false
, true
)
100 /* Like DEF_LIB_BUILTIN
, except that the function is only a part of
101 the standard in C94 or above.
*/
102 #undef DEF_C94_BUILTIN
103 #define
DEF_C94_BUILTIN(ENUM
, NAME
, TYPE, ATTRS
) \
104 DEF_BUILTIN (ENUM
, "__builtin_" NAME
, BUILT_IN_NORMAL
, TYPE, TYPE, \
105 true
, true
, !flag_isoc94
, ATTRS
, TARGET_C99_FUNCTIONS
, true
)
107 /* Like DEF_LIB_BUILTIN
, except that the function is only a part of
108 the standard in C99 or above.
*/
109 #undef DEF_C99_BUILTIN
110 #define
DEF_C99_BUILTIN(ENUM
, NAME
, TYPE, ATTRS
) \
111 DEF_BUILTIN (ENUM
, "__builtin_" NAME
, BUILT_IN_NORMAL
, TYPE, TYPE, \
112 true
, true
, !flag_isoc99
, ATTRS
, TARGET_C99_FUNCTIONS
, true
)
114 /* Builtin that is specified by C99 and C90 reserve the name for future use.
115 We can still recognize the builtin in C90 mode but we can
't produce it
117 #undef DEF_C99_C90RES_BUILTIN
118 #define DEF_C99_C90RES_BUILTIN(ENUM, NAME, TYPE, ATTRS) \
119 DEF_BUILTIN (ENUM, "__builtin_" NAME, BUILT_IN_NORMAL, TYPE, TYPE, \
120 true, true, !flag_isoc99, ATTRS, TARGET_C99_FUNCTIONS, true)
122 /* Allocate the enum and the name for a builtin, but do not actually
123 define it here at all. */
124 #undef DEF_BUILTIN_STUB
125 #define DEF_BUILTIN_STUB(ENUM, NAME) \
126 DEF_BUILTIN (ENUM, NAME, BUILT_IN_NORMAL, 0, 0, false, false, \
127 false, 0, false, false)
129 /* Define an attribute list for math functions that are normally
130 "impure" because some of them may write into global memory for
131 `errno'. If
!flag_errno_math they are instead
"const".
*/
132 #undef ATTR_MATHFN_ERRNO
133 #define
ATTR_MATHFN_ERRNO (flag_errno_math ? \
134 ATTR_NOTHROW_LIST
: ATTR_CONST_NOTHROW_LIST
)
136 /* Define an attribute list for math functions that are normally
137 "pure" but if flag_unsafe_math_optimizations is set they are
138 instead
"const". This distinction accounts for the fact that some
139 math functions check the rounding mode which is akin to examining
140 global memory. In
"unsafe" mode we can be less careful.
*/
141 #undef ATTR_MATHFN_FPROUNDING
142 #define
ATTR_MATHFN_FPROUNDING (flag_unsafe_math_optimizations ? \
143 ATTR_CONST_NOTHROW_LIST
: ATTR_PURE_NOTHROW_NOVOPS_LIST
)
145 /* Define an attribute list for math functions that are normally
146 "impure" because some of them may write into global memory for
147 `errno
'. If !flag_errno_math, we can possibly use "pure" or
148 "const" depending on whether we care about FP rounding. */
149 #undef ATTR_MATHFN_FPROUNDING_ERRNO
150 #define ATTR_MATHFN_FPROUNDING_ERRNO (flag_errno_math ? \
151 ATTR_NOTHROW_LIST : ATTR_MATHFN_FPROUNDING)
153 /* Define an attribute list for math functions that need to mind FP
154 rounding, but because they store into memory they are never "const"
155 or "pure". Use of this macro is mainly for documentation and
156 maintenance purposes. */
157 #undef ATTR_MATHFN_FPROUNDING_STORE
158 #define ATTR_MATHFN_FPROUNDING_STORE ATTR_NOTHROW_LIST
160 /* Category: math builtins. */
161 DEF_LIB_BUILTIN (BUILT_IN_ACOS, "acos", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
162 DEF_C99_C90RES_BUILTIN (BUILT_IN_ACOSF, "acosf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
163 DEF_C99_BUILTIN (BUILT_IN_ACOSH, "acosh", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
164 DEF_C99_BUILTIN (BUILT_IN_ACOSHF, "acoshf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
165 DEF_C99_BUILTIN (BUILT_IN_ACOSHL, "acoshl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
166 DEF_C99_C90RES_BUILTIN (BUILT_IN_ACOSL, "acosl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
167 DEF_LIB_BUILTIN (BUILT_IN_ASIN, "asin", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
168 DEF_C99_C90RES_BUILTIN (BUILT_IN_ASINF, "asinf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
169 DEF_C99_BUILTIN (BUILT_IN_ASINH, "asinh", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
170 DEF_C99_BUILTIN (BUILT_IN_ASINHF, "asinhf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
171 DEF_C99_BUILTIN (BUILT_IN_ASINHL, "asinhl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
172 DEF_C99_C90RES_BUILTIN (BUILT_IN_ASINL, "asinl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
173 DEF_LIB_BUILTIN (BUILT_IN_ATAN, "atan", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
174 DEF_LIB_BUILTIN (BUILT_IN_ATAN2, "atan2", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
175 DEF_C99_C90RES_BUILTIN (BUILT_IN_ATAN2F, "atan2f", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
176 DEF_C99_C90RES_BUILTIN (BUILT_IN_ATAN2L, "atan2l", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
177 DEF_C99_C90RES_BUILTIN (BUILT_IN_ATANF, "atanf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
178 DEF_C99_BUILTIN (BUILT_IN_ATANH, "atanh", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
179 DEF_C99_BUILTIN (BUILT_IN_ATANHF, "atanhf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
180 DEF_C99_BUILTIN (BUILT_IN_ATANHL, "atanhl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
181 DEF_C99_C90RES_BUILTIN (BUILT_IN_ATANL, "atanl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
182 DEF_C99_BUILTIN (BUILT_IN_CBRT, "cbrt", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
183 DEF_C99_BUILTIN (BUILT_IN_CBRTF, "cbrtf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
184 DEF_C99_BUILTIN (BUILT_IN_CBRTL, "cbrtl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
185 DEF_LIB_BUILTIN (BUILT_IN_CEIL, "ceil", BT_FN_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
186 DEF_C99_C90RES_BUILTIN (BUILT_IN_CEILF, "ceilf", BT_FN_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
187 DEF_C99_C90RES_BUILTIN (BUILT_IN_CEILL, "ceill", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
188 DEF_C99_BUILTIN (BUILT_IN_COPYSIGN, "copysign", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
189 DEF_C99_BUILTIN (BUILT_IN_COPYSIGNF, "copysignf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
190 DEF_C99_BUILTIN (BUILT_IN_COPYSIGNL, "copysignl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
191 DEF_LIB_BUILTIN (BUILT_IN_COS, "cos", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
192 DEF_C99_C90RES_BUILTIN (BUILT_IN_COSF, "cosf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
193 DEF_LIB_BUILTIN (BUILT_IN_COSH, "cosh", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
194 DEF_C99_C90RES_BUILTIN (BUILT_IN_COSHF, "coshf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
195 DEF_C99_C90RES_BUILTIN (BUILT_IN_COSHL, "coshl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
196 DEF_C99_C90RES_BUILTIN (BUILT_IN_COSL, "cosl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
197 DEF_EXT_LIB_BUILTIN (BUILT_IN_DREM, "drem", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
198 DEF_EXT_LIB_BUILTIN (BUILT_IN_DREMF, "dremf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
199 DEF_EXT_LIB_BUILTIN (BUILT_IN_DREML, "dreml", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
200 DEF_C99_BUILTIN (BUILT_IN_ERF, "erf", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
201 DEF_C99_BUILTIN (BUILT_IN_ERFC, "erfc", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
202 DEF_C99_BUILTIN (BUILT_IN_ERFCF, "erfcf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
203 DEF_C99_BUILTIN (BUILT_IN_ERFCL, "erfcl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
204 DEF_C99_BUILTIN (BUILT_IN_ERFF, "erff", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
205 DEF_C99_BUILTIN (BUILT_IN_ERFL, "erfl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
206 DEF_LIB_BUILTIN (BUILT_IN_EXP, "exp", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
207 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXP10, "exp10", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
208 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXP10F, "exp10f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
209 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXP10L, "exp10l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
210 DEF_C99_BUILTIN (BUILT_IN_EXP2, "exp2", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
211 DEF_C99_BUILTIN (BUILT_IN_EXP2F, "exp2f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
212 DEF_C99_BUILTIN (BUILT_IN_EXP2L, "exp2l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
213 DEF_C99_C90RES_BUILTIN (BUILT_IN_EXPF, "expf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
214 DEF_C99_C90RES_BUILTIN (BUILT_IN_EXPL, "expl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
215 DEF_C99_BUILTIN (BUILT_IN_EXPM1, "expm1", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
216 DEF_C99_BUILTIN (BUILT_IN_EXPM1F, "expm1f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
217 DEF_C99_BUILTIN (BUILT_IN_EXPM1L, "expm1l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
218 DEF_LIB_BUILTIN (BUILT_IN_FABS, "fabs", BT_FN_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
219 DEF_C99_C90RES_BUILTIN (BUILT_IN_FABSF, "fabsf", BT_FN_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
220 DEF_C99_C90RES_BUILTIN (BUILT_IN_FABSL, "fabsl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
221 DEF_C99_BUILTIN (BUILT_IN_FDIM, "fdim", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
222 DEF_C99_BUILTIN (BUILT_IN_FDIMF, "fdimf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
223 DEF_C99_BUILTIN (BUILT_IN_FDIML, "fdiml", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
224 DEF_LIB_BUILTIN (BUILT_IN_FLOOR, "floor", BT_FN_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
225 DEF_C99_C90RES_BUILTIN (BUILT_IN_FLOORF, "floorf", BT_FN_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
226 DEF_C99_C90RES_BUILTIN (BUILT_IN_FLOORL, "floorl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
227 DEF_C99_BUILTIN (BUILT_IN_FMA, "fma", BT_FN_DOUBLE_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
228 DEF_C99_BUILTIN (BUILT_IN_FMAF, "fmaf", BT_FN_FLOAT_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
229 DEF_C99_BUILTIN (BUILT_IN_FMAL, "fmal", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
230 DEF_C99_BUILTIN (BUILT_IN_FMAX, "fmax", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
231 DEF_C99_BUILTIN (BUILT_IN_FMAXF, "fmaxf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
232 DEF_C99_BUILTIN (BUILT_IN_FMAXL, "fmaxl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
233 DEF_C99_BUILTIN (BUILT_IN_FMIN, "fmin", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
234 DEF_C99_BUILTIN (BUILT_IN_FMINF, "fminf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
235 DEF_C99_BUILTIN (BUILT_IN_FMINL, "fminl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
236 DEF_LIB_BUILTIN (BUILT_IN_FMOD, "fmod", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
237 DEF_C99_C90RES_BUILTIN (BUILT_IN_FMODF, "fmodf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
238 DEF_C99_C90RES_BUILTIN (BUILT_IN_FMODL, "fmodl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
239 DEF_LIB_BUILTIN (BUILT_IN_FREXP, "frexp", BT_FN_DOUBLE_DOUBLE_INTPTR, ATTR_MATHFN_FPROUNDING_STORE)
240 DEF_C99_C90RES_BUILTIN (BUILT_IN_FREXPF, "frexpf", BT_FN_FLOAT_FLOAT_INTPTR, ATTR_MATHFN_FPROUNDING_STORE)
241 DEF_C99_C90RES_BUILTIN (BUILT_IN_FREXPL, "frexpl", BT_FN_LONGDOUBLE_LONGDOUBLE_INTPTR, ATTR_MATHFN_FPROUNDING_STORE)
242 DEF_EXT_LIB_BUILTIN (BUILT_IN_GAMMA, "gamma", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
243 DEF_EXT_LIB_BUILTIN (BUILT_IN_GAMMAF, "gammaf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
244 DEF_EXT_LIB_BUILTIN (BUILT_IN_GAMMAL, "gammal", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
245 DEF_GCC_BUILTIN (BUILT_IN_HUGE_VAL, "huge_val", BT_FN_DOUBLE, ATTR_CONST_NOTHROW_LIST)
246 DEF_GCC_BUILTIN (BUILT_IN_HUGE_VALF, "huge_valf", BT_FN_FLOAT, ATTR_CONST_NOTHROW_LIST)
247 DEF_GCC_BUILTIN (BUILT_IN_HUGE_VALL, "huge_vall", BT_FN_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
248 DEF_C99_BUILTIN (BUILT_IN_HYPOT, "hypot", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
249 DEF_C99_BUILTIN (BUILT_IN_HYPOTF, "hypotf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
250 DEF_C99_BUILTIN (BUILT_IN_HYPOTL, "hypotl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
251 DEF_C99_BUILTIN (BUILT_IN_ILOGB, "ilogb", BT_FN_INT_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
252 DEF_C99_BUILTIN (BUILT_IN_ILOGBF, "ilogbf", BT_FN_INT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
253 DEF_C99_BUILTIN (BUILT_IN_ILOGBL, "ilogbl", BT_FN_INT_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
254 DEF_GCC_BUILTIN (BUILT_IN_INF, "inf", BT_FN_DOUBLE, ATTR_CONST_NOTHROW_LIST)
255 DEF_GCC_BUILTIN (BUILT_IN_INFF, "inff", BT_FN_FLOAT, ATTR_CONST_NOTHROW_LIST)
256 DEF_GCC_BUILTIN (BUILT_IN_INFL, "infl", BT_FN_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
257 DEF_EXT_LIB_BUILTIN (BUILT_IN_J0, "j0", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
258 DEF_EXT_LIB_BUILTIN (BUILT_IN_J0F, "j0f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
259 DEF_EXT_LIB_BUILTIN (BUILT_IN_J0L, "j0l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
260 DEF_EXT_LIB_BUILTIN (BUILT_IN_J1, "j1", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
261 DEF_EXT_LIB_BUILTIN (BUILT_IN_J1F, "j1f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
262 DEF_EXT_LIB_BUILTIN (BUILT_IN_J1L, "j1l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
263 DEF_EXT_LIB_BUILTIN (BUILT_IN_JN, "jn", BT_FN_DOUBLE_INT_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
264 DEF_EXT_LIB_BUILTIN (BUILT_IN_JNF, "jnf", BT_FN_FLOAT_INT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
265 DEF_EXT_LIB_BUILTIN (BUILT_IN_JNL, "jnl", BT_FN_LONGDOUBLE_INT_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
266 DEF_GCC_BUILTIN (BUILT_IN_LCEIL, "lceil", BT_FN_LONG_DOUBLE, ATTR_MATHFN_FPROUNDING)
267 DEF_GCC_BUILTIN (BUILT_IN_LCEILF, "lceilf", BT_FN_LONG_FLOAT, ATTR_MATHFN_FPROUNDING)
268 DEF_GCC_BUILTIN (BUILT_IN_LCEILL, "lceill", BT_FN_LONG_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
269 DEF_LIB_BUILTIN (BUILT_IN_LDEXP, "ldexp", BT_FN_DOUBLE_DOUBLE_INT, ATTR_MATHFN_FPROUNDING_ERRNO)
270 DEF_C99_C90RES_BUILTIN (BUILT_IN_LDEXPF, "ldexpf", BT_FN_FLOAT_FLOAT_INT, ATTR_MATHFN_FPROUNDING_ERRNO)
271 DEF_C99_C90RES_BUILTIN (BUILT_IN_LDEXPL, "ldexpl", BT_FN_LONGDOUBLE_LONGDOUBLE_INT, ATTR_MATHFN_FPROUNDING_ERRNO)
272 DEF_GCC_BUILTIN (BUILT_IN_LFLOOR, "lfloor", BT_FN_LONG_DOUBLE, ATTR_MATHFN_FPROUNDING)
273 DEF_GCC_BUILTIN (BUILT_IN_LFLOORF, "lfloorf", BT_FN_LONG_FLOAT, ATTR_MATHFN_FPROUNDING)
274 DEF_GCC_BUILTIN (BUILT_IN_LFLOORL, "lfloorl", BT_FN_LONG_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
275 DEF_C99_BUILTIN (BUILT_IN_LGAMMA, "lgamma", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
276 DEF_C99_BUILTIN (BUILT_IN_LGAMMAF, "lgammaf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
277 DEF_C99_BUILTIN (BUILT_IN_LGAMMAL, "lgammal", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
278 DEF_GCC_BUILTIN (BUILT_IN_LLCEIL, "llceil", BT_FN_LONGLONG_DOUBLE, ATTR_MATHFN_FPROUNDING)
279 DEF_GCC_BUILTIN (BUILT_IN_LLCEILF, "llceilf", BT_FN_LONGLONG_FLOAT, ATTR_MATHFN_FPROUNDING)
280 DEF_GCC_BUILTIN (BUILT_IN_LLCEILL, "llceill", BT_FN_LONGLONG_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
281 DEF_GCC_BUILTIN (BUILT_IN_LLFLOOR, "llfloor", BT_FN_LONGLONG_DOUBLE, ATTR_MATHFN_FPROUNDING)
282 DEF_GCC_BUILTIN (BUILT_IN_LLFLOORF, "llfloorf", BT_FN_LONGLONG_FLOAT, ATTR_MATHFN_FPROUNDING)
283 DEF_GCC_BUILTIN (BUILT_IN_LLFLOORL, "llfloorl", BT_FN_LONGLONG_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
284 DEF_C99_BUILTIN (BUILT_IN_LLRINT, "llrint", BT_FN_LONGLONG_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
285 DEF_C99_BUILTIN (BUILT_IN_LLRINTF, "llrintf", BT_FN_LONGLONG_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
286 DEF_C99_BUILTIN (BUILT_IN_LLRINTL, "llrintl", BT_FN_LONGLONG_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
287 DEF_C99_BUILTIN (BUILT_IN_LLROUND, "llround", BT_FN_LONGLONG_DOUBLE, ATTR_MATHFN_ERRNO)
288 DEF_C99_BUILTIN (BUILT_IN_LLROUNDF, "llroundf", BT_FN_LONGLONG_FLOAT, ATTR_MATHFN_ERRNO)
289 DEF_C99_BUILTIN (BUILT_IN_LLROUNDL, "llroundl", BT_FN_LONGLONG_LONGDOUBLE, ATTR_MATHFN_ERRNO)
290 DEF_LIB_BUILTIN (BUILT_IN_LOG, "log", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
291 DEF_LIB_BUILTIN (BUILT_IN_LOG10, "log10", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
292 DEF_C99_C90RES_BUILTIN (BUILT_IN_LOG10F, "log10f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
293 DEF_C99_C90RES_BUILTIN (BUILT_IN_LOG10L, "log10l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
294 DEF_C99_BUILTIN (BUILT_IN_LOG1P, "log1p", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
295 DEF_C99_BUILTIN (BUILT_IN_LOG1PF, "log1pf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
296 DEF_C99_BUILTIN (BUILT_IN_LOG1PL, "log1pl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
297 DEF_C99_BUILTIN (BUILT_IN_LOG2, "log2", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
298 DEF_C99_BUILTIN (BUILT_IN_LOG2F, "log2f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
299 DEF_C99_BUILTIN (BUILT_IN_LOG2L, "log2l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
300 DEF_C99_BUILTIN (BUILT_IN_LOGB, "logb", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
301 DEF_C99_BUILTIN (BUILT_IN_LOGBF, "logbf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
302 DEF_C99_BUILTIN (BUILT_IN_LOGBL, "logbl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
303 DEF_C99_C90RES_BUILTIN (BUILT_IN_LOGF, "logf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
304 DEF_C99_C90RES_BUILTIN (BUILT_IN_LOGL, "logl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
305 DEF_C99_BUILTIN (BUILT_IN_LRINT, "lrint", BT_FN_LONG_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
306 DEF_C99_BUILTIN (BUILT_IN_LRINTF, "lrintf", BT_FN_LONG_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
307 DEF_C99_BUILTIN (BUILT_IN_LRINTL, "lrintl", BT_FN_LONG_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
308 DEF_C99_BUILTIN (BUILT_IN_LROUND, "lround", BT_FN_LONG_DOUBLE, ATTR_MATHFN_ERRNO)
309 DEF_C99_BUILTIN (BUILT_IN_LROUNDF, "lroundf", BT_FN_LONG_FLOAT, ATTR_MATHFN_ERRNO)
310 DEF_C99_BUILTIN (BUILT_IN_LROUNDL, "lroundl", BT_FN_LONG_LONGDOUBLE, ATTR_MATHFN_ERRNO)
311 DEF_LIB_BUILTIN (BUILT_IN_MODF, "modf", BT_FN_DOUBLE_DOUBLE_DOUBLEPTR, ATTR_MATHFN_FPROUNDING_STORE)
312 DEF_C99_C90RES_BUILTIN (BUILT_IN_MODFF, "modff", BT_FN_FLOAT_FLOAT_FLOATPTR, ATTR_MATHFN_FPROUNDING_STORE)
313 DEF_C99_C90RES_BUILTIN (BUILT_IN_MODFL, "modfl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLEPTR, ATTR_MATHFN_FPROUNDING_STORE)
314 DEF_GCC_BUILTIN (BUILT_IN_NAN, "nan", BT_FN_DOUBLE_CONST_STRING, ATTR_CONST_NOTHROW_NONNULL)
315 DEF_GCC_BUILTIN (BUILT_IN_NANF, "nanf", BT_FN_FLOAT_CONST_STRING, ATTR_CONST_NOTHROW_NONNULL)
316 DEF_GCC_BUILTIN (BUILT_IN_NANL, "nanl", BT_FN_LONGDOUBLE_CONST_STRING, ATTR_CONST_NOTHROW_NONNULL)
317 DEF_GCC_BUILTIN (BUILT_IN_NANS, "nans", BT_FN_DOUBLE_CONST_STRING, ATTR_CONST_NOTHROW_NONNULL)
318 DEF_GCC_BUILTIN (BUILT_IN_NANSF, "nansf", BT_FN_FLOAT_CONST_STRING, ATTR_CONST_NOTHROW_NONNULL)
319 DEF_GCC_BUILTIN (BUILT_IN_NANSL, "nansl", BT_FN_LONGDOUBLE_CONST_STRING, ATTR_CONST_NOTHROW_NONNULL)
320 DEF_C99_BUILTIN (BUILT_IN_NEARBYINT, "nearbyint", BT_FN_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
321 DEF_C99_BUILTIN (BUILT_IN_NEARBYINTF, "nearbyintf", BT_FN_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
322 DEF_C99_BUILTIN (BUILT_IN_NEARBYINTL, "nearbyintl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
323 DEF_C99_BUILTIN (BUILT_IN_NEXTAFTER, "nextafter", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
324 DEF_C99_BUILTIN (BUILT_IN_NEXTAFTERF, "nextafterf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
325 DEF_C99_BUILTIN (BUILT_IN_NEXTAFTERL, "nextafterl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
326 DEF_C99_BUILTIN (BUILT_IN_NEXTTOWARD, "nexttoward", BT_FN_DOUBLE_DOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
327 DEF_C99_BUILTIN (BUILT_IN_NEXTTOWARDF, "nexttowardf", BT_FN_FLOAT_FLOAT_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
328 DEF_C99_BUILTIN (BUILT_IN_NEXTTOWARDL, "nexttowardl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
329 DEF_LIB_BUILTIN (BUILT_IN_POW, "pow", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
330 DEF_EXT_LIB_BUILTIN (BUILT_IN_POW10, "pow10", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
331 DEF_EXT_LIB_BUILTIN (BUILT_IN_POW10F, "pow10f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
332 DEF_EXT_LIB_BUILTIN (BUILT_IN_POW10L, "pow10l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
333 DEF_C99_C90RES_BUILTIN (BUILT_IN_POWF, "powf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
334 DEF_GCC_BUILTIN (BUILT_IN_POWI, "powi", BT_FN_DOUBLE_DOUBLE_INT, ATTR_MATHFN_FPROUNDING)
335 DEF_GCC_BUILTIN (BUILT_IN_POWIF, "powif", BT_FN_FLOAT_FLOAT_INT, ATTR_MATHFN_FPROUNDING)
336 DEF_GCC_BUILTIN (BUILT_IN_POWIL, "powil", BT_FN_LONGDOUBLE_LONGDOUBLE_INT, ATTR_MATHFN_FPROUNDING)
337 DEF_C99_C90RES_BUILTIN (BUILT_IN_POWL, "powl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
338 DEF_C99_BUILTIN (BUILT_IN_REMAINDER, "remainder", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
339 DEF_C99_BUILTIN (BUILT_IN_REMAINDERF, "remainderf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
340 DEF_C99_BUILTIN (BUILT_IN_REMAINDERL, "remainderl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
341 DEF_C99_BUILTIN (BUILT_IN_REMQUO, "remquo", BT_FN_DOUBLE_DOUBLE_DOUBLE_INTPTR, ATTR_MATHFN_FPROUNDING_STORE)
342 DEF_C99_BUILTIN (BUILT_IN_REMQUOF, "remquof", BT_FN_FLOAT_FLOAT_FLOAT_INTPTR, ATTR_MATHFN_FPROUNDING_STORE)
343 DEF_C99_BUILTIN (BUILT_IN_REMQUOL, "remquol", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE_INTPTR, ATTR_MATHFN_FPROUNDING_STORE)
344 DEF_C99_BUILTIN (BUILT_IN_RINT, "rint", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
345 DEF_C99_BUILTIN (BUILT_IN_RINTF, "rintf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
346 DEF_C99_BUILTIN (BUILT_IN_RINTL, "rintl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
347 DEF_C99_BUILTIN (BUILT_IN_ROUND, "round", BT_FN_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
348 DEF_C99_BUILTIN (BUILT_IN_ROUNDF, "roundf", BT_FN_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
349 DEF_C99_BUILTIN (BUILT_IN_ROUNDL, "roundl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
350 DEF_EXT_LIB_BUILTIN (BUILT_IN_SCALB, "scalb", BT_FN_DOUBLE_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
351 DEF_EXT_LIB_BUILTIN (BUILT_IN_SCALBF, "scalbf", BT_FN_FLOAT_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
352 DEF_EXT_LIB_BUILTIN (BUILT_IN_SCALBL, "scalbl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
353 DEF_C99_BUILTIN (BUILT_IN_SCALBLN, "scalbln", BT_FN_DOUBLE_DOUBLE_LONG, ATTR_MATHFN_FPROUNDING_ERRNO)
354 DEF_C99_BUILTIN (BUILT_IN_SCALBLNF, "scalblnf", BT_FN_FLOAT_FLOAT_LONG, ATTR_MATHFN_FPROUNDING_ERRNO)
355 DEF_C99_BUILTIN (BUILT_IN_SCALBLNL, "scalblnl", BT_FN_LONGDOUBLE_LONGDOUBLE_LONG, ATTR_MATHFN_FPROUNDING_ERRNO)
356 DEF_C99_BUILTIN (BUILT_IN_SCALBN, "scalbn", BT_FN_DOUBLE_DOUBLE_INT, ATTR_MATHFN_FPROUNDING_ERRNO)
357 DEF_C99_BUILTIN (BUILT_IN_SCALBNF, "scalbnf", BT_FN_FLOAT_FLOAT_INT, ATTR_MATHFN_FPROUNDING_ERRNO)
358 DEF_C99_BUILTIN (BUILT_IN_SCALBNL, "scalbnl", BT_FN_LONGDOUBLE_LONGDOUBLE_INT, ATTR_MATHFN_FPROUNDING_ERRNO)
359 DEF_EXT_LIB_BUILTIN (BUILT_IN_SIGNBIT, "signbit", BT_FN_INT_DOUBLE, ATTR_CONST_NOTHROW_LIST)
360 DEF_EXT_LIB_BUILTIN (BUILT_IN_SIGNBITF, "signbitf", BT_FN_INT_FLOAT, ATTR_CONST_NOTHROW_LIST)
361 DEF_EXT_LIB_BUILTIN (BUILT_IN_SIGNBITL, "signbitl", BT_FN_INT_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
362 DEF_EXT_LIB_BUILTIN (BUILT_IN_SIGNIFICAND, "significand", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
363 DEF_EXT_LIB_BUILTIN (BUILT_IN_SIGNIFICANDF, "significandf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
364 DEF_EXT_LIB_BUILTIN (BUILT_IN_SIGNIFICANDL, "significandl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
365 DEF_LIB_BUILTIN (BUILT_IN_SIN, "sin", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
366 DEF_EXT_LIB_BUILTIN (BUILT_IN_SINCOS, "sincos", BT_FN_VOID_DOUBLE_DOUBLEPTR_DOUBLEPTR, ATTR_MATHFN_FPROUNDING_STORE)
367 DEF_EXT_LIB_BUILTIN (BUILT_IN_SINCOSF, "sincosf", BT_FN_VOID_FLOAT_FLOATPTR_FLOATPTR, ATTR_MATHFN_FPROUNDING_STORE)
368 DEF_EXT_LIB_BUILTIN (BUILT_IN_SINCOSL, "sincosl", BT_FN_VOID_LONGDOUBLE_LONGDOUBLEPTR_LONGDOUBLEPTR, ATTR_MATHFN_FPROUNDING_STORE)
369 DEF_C99_C90RES_BUILTIN (BUILT_IN_SINF, "sinf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
370 DEF_LIB_BUILTIN (BUILT_IN_SINH, "sinh", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
371 DEF_C99_C90RES_BUILTIN (BUILT_IN_SINHF, "sinhf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
372 DEF_C99_C90RES_BUILTIN (BUILT_IN_SINHL, "sinhl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
373 DEF_C99_C90RES_BUILTIN (BUILT_IN_SINL, "sinl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
374 DEF_LIB_BUILTIN (BUILT_IN_SQRT, "sqrt", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
375 DEF_C99_C90RES_BUILTIN (BUILT_IN_SQRTF, "sqrtf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
376 DEF_C99_C90RES_BUILTIN (BUILT_IN_SQRTL, "sqrtl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
377 DEF_LIB_BUILTIN (BUILT_IN_TAN, "tan", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
378 DEF_C99_C90RES_BUILTIN (BUILT_IN_TANF, "tanf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
379 DEF_LIB_BUILTIN (BUILT_IN_TANH, "tanh", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING)
380 DEF_C99_C90RES_BUILTIN (BUILT_IN_TANHF, "tanhf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING)
381 DEF_C99_C90RES_BUILTIN (BUILT_IN_TANHL, "tanhl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
382 DEF_C99_C90RES_BUILTIN (BUILT_IN_TANL, "tanl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
383 DEF_C99_BUILTIN (BUILT_IN_TGAMMA, "tgamma", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
384 DEF_C99_BUILTIN (BUILT_IN_TGAMMAF, "tgammaf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
385 DEF_C99_BUILTIN (BUILT_IN_TGAMMAL, "tgammal", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
386 DEF_C99_BUILTIN (BUILT_IN_TRUNC, "trunc", BT_FN_DOUBLE_DOUBLE, ATTR_CONST_NOTHROW_LIST)
387 DEF_C99_BUILTIN (BUILT_IN_TRUNCF, "truncf", BT_FN_FLOAT_FLOAT, ATTR_CONST_NOTHROW_LIST)
388 DEF_C99_BUILTIN (BUILT_IN_TRUNCL, "truncl", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
389 DEF_EXT_LIB_BUILTIN (BUILT_IN_Y0, "y0", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
390 DEF_EXT_LIB_BUILTIN (BUILT_IN_Y0F, "y0f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
391 DEF_EXT_LIB_BUILTIN (BUILT_IN_Y0L, "y0l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
392 DEF_EXT_LIB_BUILTIN (BUILT_IN_Y1, "y1", BT_FN_DOUBLE_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
393 DEF_EXT_LIB_BUILTIN (BUILT_IN_Y1F, "y1f", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
394 DEF_EXT_LIB_BUILTIN (BUILT_IN_Y1L, "y1l", BT_FN_LONGDOUBLE_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
395 DEF_EXT_LIB_BUILTIN (BUILT_IN_YN, "yn", BT_FN_DOUBLE_INT_DOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
396 DEF_EXT_LIB_BUILTIN (BUILT_IN_YNF, "ynf", BT_FN_FLOAT_INT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO)
397 DEF_EXT_LIB_BUILTIN (BUILT_IN_YNL, "ynl", BT_FN_LONGDOUBLE_INT_LONGDOUBLE, ATTR_MATHFN_FPROUNDING_ERRNO)
399 /* Category: _Complex math builtins. */
400 DEF_C99_BUILTIN (BUILT_IN_CABS, "cabs", BT_FN_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
401 DEF_C99_BUILTIN (BUILT_IN_CABSF, "cabsf", BT_FN_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
402 DEF_C99_BUILTIN (BUILT_IN_CABSL, "cabsl", BT_FN_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
403 DEF_C99_BUILTIN (BUILT_IN_CACOS, "cacos", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
404 DEF_C99_BUILTIN (BUILT_IN_CACOSF, "cacosf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
405 DEF_C99_BUILTIN (BUILT_IN_CACOSH, "cacosh", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
406 DEF_C99_BUILTIN (BUILT_IN_CACOSHF, "cacoshf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
407 DEF_C99_BUILTIN (BUILT_IN_CACOSHL, "cacoshl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
408 DEF_C99_BUILTIN (BUILT_IN_CACOSL, "cacosl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
409 DEF_C99_BUILTIN (BUILT_IN_CARG, "carg", BT_FN_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
410 DEF_C99_BUILTIN (BUILT_IN_CARGF, "cargf", BT_FN_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
411 DEF_C99_BUILTIN (BUILT_IN_CARGL, "cargl", BT_FN_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
412 DEF_C99_BUILTIN (BUILT_IN_CASIN, "casin", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
413 DEF_C99_BUILTIN (BUILT_IN_CASINF, "casinf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
414 DEF_C99_BUILTIN (BUILT_IN_CASINH, "casinh", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
415 DEF_C99_BUILTIN (BUILT_IN_CASINHF, "casinhf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
416 DEF_C99_BUILTIN (BUILT_IN_CASINHL, "casinhl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
417 DEF_C99_BUILTIN (BUILT_IN_CASINL, "casinl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
418 DEF_C99_BUILTIN (BUILT_IN_CATAN, "catan", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
419 DEF_C99_BUILTIN (BUILT_IN_CATANF, "catanf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
420 DEF_C99_BUILTIN (BUILT_IN_CATANH, "catanh", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
421 DEF_C99_BUILTIN (BUILT_IN_CATANHF, "catanhf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
422 DEF_C99_BUILTIN (BUILT_IN_CATANHL, "catanhl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
423 DEF_C99_BUILTIN (BUILT_IN_CATANL, "catanl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
424 DEF_C99_BUILTIN (BUILT_IN_CCOS, "ccos", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
425 DEF_C99_BUILTIN (BUILT_IN_CCOSF, "ccosf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
426 DEF_C99_BUILTIN (BUILT_IN_CCOSH, "ccosh", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
427 DEF_C99_BUILTIN (BUILT_IN_CCOSHF, "ccoshf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
428 DEF_C99_BUILTIN (BUILT_IN_CCOSHL, "ccoshl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
429 DEF_C99_BUILTIN (BUILT_IN_CCOSL, "ccosl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
430 DEF_C99_BUILTIN (BUILT_IN_CEXP, "cexp", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
431 DEF_C99_BUILTIN (BUILT_IN_CEXPF, "cexpf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
432 DEF_C99_BUILTIN (BUILT_IN_CEXPL, "cexpl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
433 DEF_C99_BUILTIN (BUILT_IN_CIMAG, "cimag", BT_FN_DOUBLE_COMPLEX_DOUBLE, ATTR_CONST_NOTHROW_LIST)
434 DEF_C99_BUILTIN (BUILT_IN_CIMAGF, "cimagf", BT_FN_FLOAT_COMPLEX_FLOAT, ATTR_CONST_NOTHROW_LIST)
435 DEF_C99_BUILTIN (BUILT_IN_CIMAGL, "cimagl", BT_FN_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
436 DEF_C99_BUILTIN (BUILT_IN_CLOG, "clog", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
437 DEF_C99_BUILTIN (BUILT_IN_CLOGF, "clogf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
438 DEF_C99_BUILTIN (BUILT_IN_CLOGL, "clogl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
439 DEF_C99_BUILTIN (BUILT_IN_CONJ, "conj", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_CONST_NOTHROW_LIST)
440 DEF_C99_BUILTIN (BUILT_IN_CONJF, "conjf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_CONST_NOTHROW_LIST)
441 DEF_C99_BUILTIN (BUILT_IN_CONJL, "conjl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
442 DEF_C99_BUILTIN (BUILT_IN_CPOW, "cpow", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
443 DEF_C99_BUILTIN (BUILT_IN_CPOWF, "cpowf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
444 DEF_C99_BUILTIN (BUILT_IN_CPOWL, "cpowl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
445 DEF_C99_BUILTIN (BUILT_IN_CPROJ, "cproj", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
446 DEF_C99_BUILTIN (BUILT_IN_CPROJF, "cprojf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
447 DEF_C99_BUILTIN (BUILT_IN_CPROJL, "cprojl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
448 DEF_C99_BUILTIN (BUILT_IN_CREAL, "creal", BT_FN_DOUBLE_COMPLEX_DOUBLE, ATTR_CONST_NOTHROW_LIST)
449 DEF_C99_BUILTIN (BUILT_IN_CREALF, "crealf", BT_FN_FLOAT_COMPLEX_FLOAT, ATTR_CONST_NOTHROW_LIST)
450 DEF_C99_BUILTIN (BUILT_IN_CREALL, "creall", BT_FN_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_CONST_NOTHROW_LIST)
451 DEF_C99_BUILTIN (BUILT_IN_CSIN, "csin", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
452 DEF_C99_BUILTIN (BUILT_IN_CSINF, "csinf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
453 DEF_C99_BUILTIN (BUILT_IN_CSINH, "csinh", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
454 DEF_C99_BUILTIN (BUILT_IN_CSINHF, "csinhf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
455 DEF_C99_BUILTIN (BUILT_IN_CSINHL, "csinhl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
456 DEF_C99_BUILTIN (BUILT_IN_CSINL, "csinl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
457 DEF_C99_BUILTIN (BUILT_IN_CSQRT, "csqrt", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
458 DEF_C99_BUILTIN (BUILT_IN_CSQRTF, "csqrtf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
459 DEF_C99_BUILTIN (BUILT_IN_CSQRTL, "csqrtl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
460 DEF_C99_BUILTIN (BUILT_IN_CTAN, "ctan", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
461 DEF_C99_BUILTIN (BUILT_IN_CTANF, "ctanf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
462 DEF_C99_BUILTIN (BUILT_IN_CTANH, "ctanh", BT_FN_COMPLEX_DOUBLE_COMPLEX_DOUBLE, ATTR_MATHFN_FPROUNDING)
463 DEF_C99_BUILTIN (BUILT_IN_CTANHF, "ctanhf", BT_FN_COMPLEX_FLOAT_COMPLEX_FLOAT, ATTR_MATHFN_FPROUNDING)
464 DEF_C99_BUILTIN (BUILT_IN_CTANHL, "ctanhl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
465 DEF_C99_BUILTIN (BUILT_IN_CTANL, "ctanl", BT_FN_COMPLEX_LONGDOUBLE_COMPLEX_LONGDOUBLE, ATTR_MATHFN_FPROUNDING)
467 /* Category: string/memory builtins. */
468 /* bcmp, bcopy and bzero have traditionally accepted NULL pointers
469 when the length parameter is zero, so don't apply attribute
"nonnull".
*/
470 DEF_EXT_LIB_BUILTIN (BUILT_IN_BCMP
, "bcmp", BT_FN_INT_CONST_PTR_CONST_PTR_SIZE
, ATTR_PURE_NOTHROW_LIST
)
471 DEF_EXT_LIB_BUILTIN (BUILT_IN_BCOPY
, "bcopy", BT_FN_VOID_CONST_PTR_PTR_SIZE
, ATTR_NOTHROW_LIST
)
472 DEF_EXT_LIB_BUILTIN (BUILT_IN_BZERO
, "bzero", BT_FN_VOID_PTR_SIZE
, ATTR_NOTHROW_LIST
)
473 DEF_EXT_LIB_BUILTIN (BUILT_IN_INDEX
, "index", BT_FN_STRING_CONST_STRING_INT
, ATTR_PURE_NOTHROW_NONNULL
)
474 DEF_LIB_BUILTIN (BUILT_IN_MEMCMP
, "memcmp", BT_FN_INT_CONST_PTR_CONST_PTR_SIZE
, ATTR_PURE_NOTHROW_NONNULL
)
475 DEF_LIB_BUILTIN (BUILT_IN_MEMCPY
, "memcpy", BT_FN_PTR_PTR_CONST_PTR_SIZE
, ATTR_NOTHROW_NONNULL
)
476 DEF_LIB_BUILTIN (BUILT_IN_MEMMOVE
, "memmove", BT_FN_PTR_PTR_CONST_PTR_SIZE
, ATTR_NOTHROW_NONNULL
)
477 DEF_EXT_LIB_BUILTIN (BUILT_IN_MEMPCPY
, "mempcpy", BT_FN_PTR_PTR_CONST_PTR_SIZE
, ATTR_NOTHROW_NONNULL
)
478 DEF_LIB_BUILTIN (BUILT_IN_MEMSET
, "memset", BT_FN_PTR_PTR_INT_SIZE
, ATTR_NOTHROW_NONNULL
)
479 DEF_EXT_LIB_BUILTIN (BUILT_IN_RINDEX
, "rindex", BT_FN_STRING_CONST_STRING_INT
, ATTR_PURE_NOTHROW_NONNULL
)
480 DEF_EXT_LIB_BUILTIN (BUILT_IN_STPCPY
, "stpcpy", BT_FN_STRING_STRING_CONST_STRING
, ATTR_NOTHROW_NONNULL
)
481 DEF_EXT_LIB_BUILTIN (BUILT_IN_STPNCPY
, "stpncpy", BT_FN_STRING_STRING_CONST_STRING_SIZE
, ATTR_NOTHROW_NONNULL
)
482 DEF_EXT_LIB_BUILTIN (BUILT_IN_STRCASECMP
, "strcasecmp", BT_FN_INT_CONST_STRING_CONST_STRING
, ATTR_PURE_NOTHROW_NONNULL
)
483 DEF_LIB_BUILTIN (BUILT_IN_STRCAT
, "strcat", BT_FN_STRING_STRING_CONST_STRING
, ATTR_NOTHROW_NONNULL
)
484 DEF_LIB_BUILTIN (BUILT_IN_STRCHR
, "strchr", BT_FN_STRING_CONST_STRING_INT
, ATTR_PURE_NOTHROW_NONNULL
)
485 DEF_LIB_BUILTIN (BUILT_IN_STRCMP
, "strcmp", BT_FN_INT_CONST_STRING_CONST_STRING
, ATTR_PURE_NOTHROW_NONNULL
)
486 DEF_LIB_BUILTIN (BUILT_IN_STRCPY
, "strcpy", BT_FN_STRING_STRING_CONST_STRING
, ATTR_NOTHROW_NONNULL
)
487 DEF_LIB_BUILTIN (BUILT_IN_STRCSPN
, "strcspn", BT_FN_SIZE_CONST_STRING_CONST_STRING
, ATTR_PURE_NOTHROW_NONNULL
)
488 DEF_EXT_LIB_BUILTIN (BUILT_IN_STRDUP
, "strdup", BT_FN_STRING_CONST_STRING
, ATTR_MALLOC_NOTHROW_NONNULL
)
489 DEF_EXT_LIB_BUILTIN (BUILT_IN_STRNDUP
, "strndup", BT_FN_STRING_CONST_STRING_SIZE
, ATTR_MALLOC_NOTHROW_NONNULL
)
490 DEF_LIB_BUILTIN (BUILT_IN_STRLEN
, "strlen", BT_FN_SIZE_CONST_STRING
, ATTR_PURE_NOTHROW_NONNULL
)
491 DEF_EXT_LIB_BUILTIN (BUILT_IN_STRNCASECMP
, "strncasecmp", BT_FN_INT_CONST_STRING_CONST_STRING_SIZE
, ATTR_PURE_NOTHROW_NONNULL
)
492 DEF_LIB_BUILTIN (BUILT_IN_STRNCAT
, "strncat", BT_FN_STRING_STRING_CONST_STRING_SIZE
, ATTR_NOTHROW_NONNULL
)
493 DEF_LIB_BUILTIN (BUILT_IN_STRNCMP
, "strncmp", BT_FN_INT_CONST_STRING_CONST_STRING_SIZE
, ATTR_PURE_NOTHROW_NONNULL
)
494 DEF_LIB_BUILTIN (BUILT_IN_STRNCPY
, "strncpy", BT_FN_STRING_STRING_CONST_STRING_SIZE
, ATTR_NOTHROW_NONNULL
)
495 DEF_LIB_BUILTIN (BUILT_IN_STRPBRK
, "strpbrk", BT_FN_STRING_CONST_STRING_CONST_STRING
, ATTR_PURE_NOTHROW_NONNULL
)
496 DEF_LIB_BUILTIN (BUILT_IN_STRRCHR
, "strrchr", BT_FN_STRING_CONST_STRING_INT
, ATTR_PURE_NOTHROW_NONNULL
)
497 DEF_LIB_BUILTIN (BUILT_IN_STRSPN
, "strspn", BT_FN_SIZE_CONST_STRING_CONST_STRING
, ATTR_PURE_NOTHROW_NONNULL
)
498 DEF_LIB_BUILTIN (BUILT_IN_STRSTR
, "strstr", BT_FN_STRING_CONST_STRING_CONST_STRING
, ATTR_PURE_NOTHROW_NONNULL
)
500 /* Category
: stdio builtins.
*/
501 DEF_LIB_BUILTIN (BUILT_IN_FPRINTF
, "fprintf", BT_FN_INT_FILEPTR_CONST_STRING_VAR
, ATTR_FORMAT_PRINTF_2_3
)
502 DEF_EXT_LIB_BUILTIN (BUILT_IN_FPRINTF_UNLOCKED
, "fprintf_unlocked", BT_FN_INT_FILEPTR_CONST_STRING_VAR
, ATTR_FORMAT_PRINTF_2_3
)
503 DEF_LIB_BUILTIN (BUILT_IN_FPUTC
, "fputc", BT_FN_INT_INT_FILEPTR
, ATTR_NONNULL_LIST
)
504 DEF_EXT_LIB_BUILTIN (BUILT_IN_FPUTC_UNLOCKED
, "fputc_unlocked", BT_FN_INT_INT_FILEPTR
, ATTR_NONNULL_LIST
)
505 DEF_LIB_BUILTIN (BUILT_IN_FPUTS
, "fputs", BT_FN_INT_CONST_STRING_FILEPTR
, ATTR_NONNULL_LIST
)
506 DEF_EXT_LIB_BUILTIN (BUILT_IN_FPUTS_UNLOCKED
, "fputs_unlocked", BT_FN_INT_CONST_STRING_FILEPTR
, ATTR_NONNULL_LIST
)
507 DEF_LIB_BUILTIN (BUILT_IN_FSCANF
, "fscanf", BT_FN_INT_FILEPTR_CONST_STRING_VAR
, ATTR_FORMAT_SCANF_2_3
)
508 DEF_LIB_BUILTIN (BUILT_IN_FWRITE
, "fwrite", BT_FN_SIZE_CONST_PTR_SIZE_SIZE_FILEPTR
, ATTR_NONNULL_LIST
)
509 DEF_EXT_LIB_BUILTIN (BUILT_IN_FWRITE_UNLOCKED
, "fwrite_unlocked", BT_FN_SIZE_CONST_PTR_SIZE_SIZE_FILEPTR
, ATTR_NONNULL_LIST
)
510 DEF_LIB_BUILTIN (BUILT_IN_PRINTF
, "printf", BT_FN_INT_CONST_STRING_VAR
, ATTR_FORMAT_PRINTF_1_2
)
511 DEF_EXT_LIB_BUILTIN (BUILT_IN_PRINTF_UNLOCKED
, "printf_unlocked", BT_FN_INT_CONST_STRING_VAR
, ATTR_FORMAT_PRINTF_1_2
)
512 DEF_LIB_BUILTIN (BUILT_IN_PUTCHAR
, "putchar", BT_FN_INT_INT
, ATTR_NULL
)
513 DEF_EXT_LIB_BUILTIN (BUILT_IN_PUTCHAR_UNLOCKED
, "putchar_unlocked", BT_FN_INT_INT
, ATTR_NULL
)
514 DEF_LIB_BUILTIN (BUILT_IN_PUTS
, "puts", BT_FN_INT_CONST_STRING
, ATTR_NONNULL_LIST
)
515 DEF_EXT_LIB_BUILTIN (BUILT_IN_PUTS_UNLOCKED
, "puts_unlocked", BT_FN_INT_CONST_STRING
, ATTR_NONNULL_LIST
)
516 DEF_LIB_BUILTIN (BUILT_IN_SCANF
, "scanf", BT_FN_INT_CONST_STRING_VAR
, ATTR_FORMAT_SCANF_1_2
)
517 DEF_C99_BUILTIN (BUILT_IN_SNPRINTF
, "snprintf", BT_FN_INT_STRING_SIZE_CONST_STRING_VAR
, ATTR_FORMAT_PRINTF_3_4
)
518 DEF_LIB_BUILTIN (BUILT_IN_SPRINTF
, "sprintf", BT_FN_INT_STRING_CONST_STRING_VAR
, ATTR_FORMAT_PRINTF_2_3
)
519 DEF_LIB_BUILTIN (BUILT_IN_SSCANF
, "sscanf", BT_FN_INT_CONST_STRING_CONST_STRING_VAR
, ATTR_FORMAT_SCANF_2_3
)
520 DEF_LIB_BUILTIN (BUILT_IN_VFPRINTF
, "vfprintf", BT_FN_INT_FILEPTR_CONST_STRING_VALIST_ARG
, ATTR_FORMAT_PRINTF_2_0
)
521 DEF_C99_BUILTIN (BUILT_IN_VFSCANF
, "vfscanf", BT_FN_INT_FILEPTR_CONST_STRING_VALIST_ARG
, ATTR_FORMAT_SCANF_2_0
)
522 DEF_LIB_BUILTIN (BUILT_IN_VPRINTF
, "vprintf", BT_FN_INT_CONST_STRING_VALIST_ARG
, ATTR_FORMAT_PRINTF_1_0
)
523 DEF_C99_BUILTIN (BUILT_IN_VSCANF
, "vscanf", BT_FN_INT_CONST_STRING_VALIST_ARG
, ATTR_FORMAT_SCANF_1_0
)
524 DEF_C99_BUILTIN (BUILT_IN_VSNPRINTF
, "vsnprintf", BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG
, ATTR_FORMAT_PRINTF_3_0
)
525 DEF_LIB_BUILTIN (BUILT_IN_VSPRINTF
, "vsprintf", BT_FN_INT_STRING_CONST_STRING_VALIST_ARG
, ATTR_FORMAT_PRINTF_2_0
)
526 DEF_C99_BUILTIN (BUILT_IN_VSSCANF
, "vsscanf", BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG
, ATTR_FORMAT_SCANF_2_0
)
528 /* Category
: ctype builtins.
*/
529 DEF_LIB_BUILTIN (BUILT_IN_ISALNUM
, "isalnum", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
530 DEF_LIB_BUILTIN (BUILT_IN_ISALPHA
, "isalpha", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
531 DEF_EXT_LIB_BUILTIN (BUILT_IN_ISASCII
, "isascii", BT_FN_INT_INT
, ATTR_CONST_NOTHROW_LIST
)
532 DEF_C99_BUILTIN (BUILT_IN_ISBLANK
, "isblank", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
533 DEF_LIB_BUILTIN (BUILT_IN_ISCNTRL
, "iscntrl", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
534 DEF_LIB_BUILTIN (BUILT_IN_ISDIGIT
, "isdigit", BT_FN_INT_INT
, ATTR_CONST_NOTHROW_LIST
)
535 DEF_LIB_BUILTIN (BUILT_IN_ISGRAPH
, "isgraph", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
536 DEF_LIB_BUILTIN (BUILT_IN_ISLOWER
, "islower", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
537 DEF_LIB_BUILTIN (BUILT_IN_ISPRINT
, "isprint", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
538 DEF_LIB_BUILTIN (BUILT_IN_ISPUNCT
, "ispunct", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
539 DEF_LIB_BUILTIN (BUILT_IN_ISSPACE
, "isspace", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
540 DEF_LIB_BUILTIN (BUILT_IN_ISUPPER
, "isupper", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
541 DEF_LIB_BUILTIN (BUILT_IN_ISXDIGIT
, "isxdigit", BT_FN_INT_INT
, ATTR_CONST_NOTHROW_LIST
)
542 DEF_EXT_LIB_BUILTIN (BUILT_IN_TOASCII
, "toascii", BT_FN_INT_INT
, ATTR_CONST_NOTHROW_LIST
)
543 DEF_LIB_BUILTIN (BUILT_IN_TOLOWER
, "tolower", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
544 DEF_LIB_BUILTIN (BUILT_IN_TOUPPER
, "toupper", BT_FN_INT_INT
, ATTR_PURE_NOTHROW_LIST
)
546 /* Category
: wctype builtins.
*/
547 DEF_C94_BUILTIN (BUILT_IN_ISWALNUM
, "iswalnum", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
548 DEF_C94_BUILTIN (BUILT_IN_ISWALPHA
, "iswalpha", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
549 DEF_C99_BUILTIN (BUILT_IN_ISWBLANK
, "iswblank", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
550 DEF_C94_BUILTIN (BUILT_IN_ISWCNTRL
, "iswcntrl", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
551 DEF_C94_BUILTIN (BUILT_IN_ISWDIGIT
, "iswdigit", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
552 DEF_C94_BUILTIN (BUILT_IN_ISWGRAPH
, "iswgraph", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
553 DEF_C94_BUILTIN (BUILT_IN_ISWLOWER
, "iswlower", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
554 DEF_C94_BUILTIN (BUILT_IN_ISWPRINT
, "iswprint", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
555 DEF_C94_BUILTIN (BUILT_IN_ISWPUNCT
, "iswpunct", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
556 DEF_C94_BUILTIN (BUILT_IN_ISWSPACE
, "iswspace", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
557 DEF_C94_BUILTIN (BUILT_IN_ISWUPPER
, "iswupper", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
558 DEF_C94_BUILTIN (BUILT_IN_ISWXDIGIT
, "iswxdigit", BT_FN_INT_WINT
, ATTR_PURE_NOTHROW_LIST
)
559 DEF_C94_BUILTIN (BUILT_IN_TOWLOWER
, "towlower", BT_FN_WINT_WINT
, ATTR_PURE_NOTHROW_LIST
)
560 DEF_C94_BUILTIN (BUILT_IN_TOWUPPER
, "towupper", BT_FN_WINT_WINT
, ATTR_PURE_NOTHROW_LIST
)
562 /* Category
: miscellaneous builtins.
*/
563 DEF_LIB_BUILTIN (BUILT_IN_ABORT
, "abort", BT_FN_VOID
, ATTR_NORETURN_NOTHROW_LIST
)
564 DEF_LIB_BUILTIN (BUILT_IN_ABS
, "abs", BT_FN_INT_INT
, ATTR_CONST_NOTHROW_LIST
)
565 DEF_GCC_BUILTIN (BUILT_IN_AGGREGATE_INCOMING_ADDRESS
, "aggregate_incoming_address", BT_FN_PTR_VAR
, ATTR_NULL
)
566 DEF_EXT_LIB_BUILTIN (BUILT_IN_ALLOCA
, "alloca", BT_FN_PTR_SIZE
, ATTR_MALLOC_NOTHROW_LIST
)
567 DEF_GCC_BUILTIN (BUILT_IN_APPLY
, "apply", BT_FN_PTR_PTR_FN_VOID_VAR_PTR_SIZE
, ATTR_NULL
)
568 DEF_GCC_BUILTIN (BUILT_IN_APPLY_ARGS
, "apply_args", BT_FN_PTR_VAR
, ATTR_NULL
)
569 DEF_GCC_BUILTIN (BUILT_IN_ARGS_INFO
, "args_info", BT_FN_INT_INT
, ATTR_NULL
)
570 DEF_LIB_BUILTIN (BUILT_IN_CALLOC
, "calloc", BT_FN_PTR_SIZE_SIZE
, ATTR_MALLOC_NOTHROW_LIST
)
571 DEF_GCC_BUILTIN (BUILT_IN_CLASSIFY_TYPE
, "classify_type", BT_FN_INT_VAR
, ATTR_NULL
)
572 DEF_GCC_BUILTIN (BUILT_IN_CLZ
, "clz", BT_FN_INT_UINT
, ATTR_CONST_NOTHROW_LIST
)
573 DEF_GCC_BUILTIN (BUILT_IN_CLZIMAX
, "clzimax", BT_FN_INT_UINTMAX
, ATTR_CONST_NOTHROW_LIST
)
574 DEF_GCC_BUILTIN (BUILT_IN_CLZL
, "clzl", BT_FN_INT_ULONG
, ATTR_CONST_NOTHROW_LIST
)
575 DEF_GCC_BUILTIN (BUILT_IN_CLZLL
, "clzll", BT_FN_INT_ULONGLONG
, ATTR_CONST_NOTHROW_LIST
)
576 DEF_GCC_BUILTIN (BUILT_IN_CONSTANT_P
, "constant_p", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
577 DEF_GCC_BUILTIN (BUILT_IN_CTZ
, "ctz", BT_FN_INT_UINT
, ATTR_CONST_NOTHROW_LIST
)
578 DEF_GCC_BUILTIN (BUILT_IN_CTZIMAX
, "ctzimax", BT_FN_INT_UINTMAX
, ATTR_CONST_NOTHROW_LIST
)
579 DEF_GCC_BUILTIN (BUILT_IN_CTZL
, "ctzl", BT_FN_INT_ULONG
, ATTR_CONST_NOTHROW_LIST
)
580 DEF_GCC_BUILTIN (BUILT_IN_CTZLL
, "ctzll", BT_FN_INT_ULONGLONG
, ATTR_CONST_NOTHROW_LIST
)
581 DEF_EXT_LIB_BUILTIN (BUILT_IN_DCGETTEXT
, "dcgettext", BT_FN_STRING_CONST_STRING_CONST_STRING_INT
, ATTR_FORMAT_ARG_2
)
582 DEF_EXT_LIB_BUILTIN (BUILT_IN_DGETTEXT
, "dgettext", BT_FN_STRING_CONST_STRING_CONST_STRING
, ATTR_FORMAT_ARG_2
)
583 DEF_GCC_BUILTIN (BUILT_IN_DWARF_CFA
, "dwarf_cfa", BT_FN_PTR
, ATTR_NULL
)
584 DEF_GCC_BUILTIN (BUILT_IN_DWARF_SP_COLUMN
, "dwarf_sp_column", BT_FN_UINT
, ATTR_NULL
)
585 DEF_GCC_BUILTIN (BUILT_IN_EH_RETURN
, "eh_return", BT_FN_VOID_PTRMODE_PTR
, ATTR_NORETURN_NOTHROW_LIST
)
586 DEF_GCC_BUILTIN (BUILT_IN_EH_RETURN_DATA_REGNO
, "eh_return_data_regno", BT_FN_INT_INT
, ATTR_NULL
)
587 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXECL
, "execl", BT_FN_INT_CONST_STRING_CONST_STRING_VAR
, ATTR_SENTINEL_NOTHROW_LIST
)
588 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXECLP
, "execlp", BT_FN_INT_CONST_STRING_CONST_STRING_VAR
, ATTR_SENTINEL_NOTHROW_LIST
)
589 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXECLE
, "execle", BT_FN_INT_CONST_STRING_CONST_STRING_VAR
, ATTR_NOTHROW_SENTINEL_1
)
590 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXECV
, "execv", BT_FN_INT_CONST_STRING_PTR_CONST_STRING
, ATTR_NOTHROW_LIST
)
591 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXECVP
, "execvp", BT_FN_INT_CONST_STRING_PTR_CONST_STRING
, ATTR_NOTHROW_LIST
)
592 DEF_EXT_LIB_BUILTIN (BUILT_IN_EXECVE
, "execve", BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING
, ATTR_NOTHROW_LIST
)
593 DEF_LIB_BUILTIN (BUILT_IN_EXIT
, "exit", BT_FN_VOID_INT
, ATTR_NORETURN_NOTHROW_LIST
)
594 DEF_GCC_BUILTIN (BUILT_IN_EXPECT
, "expect", BT_FN_LONG_LONG_LONG
, ATTR_CONST_NOTHROW_LIST
)
595 DEF_GCC_BUILTIN (BUILT_IN_EXTEND_POINTER
, "extend_pointer", BT_FN_WORD_PTR
, ATTR_CONST_NOTHROW_LIST
)
596 DEF_GCC_BUILTIN (BUILT_IN_EXTRACT_RETURN_ADDR
, "extract_return_addr", BT_FN_PTR_PTR
, ATTR_NULL
)
597 DEF_EXT_LIB_BUILTIN (BUILT_IN_FFS
, "ffs", BT_FN_INT_INT
, ATTR_CONST_NOTHROW_LIST
)
598 DEF_EXT_LIB_BUILTIN (BUILT_IN_FFSIMAX
, "ffsimax", BT_FN_INT_INTMAX
, ATTR_CONST_NOTHROW_LIST
)
599 DEF_EXT_LIB_BUILTIN (BUILT_IN_FFSL
, "ffsl", BT_FN_INT_LONG
, ATTR_CONST_NOTHROW_LIST
)
600 DEF_EXT_LIB_BUILTIN (BUILT_IN_FFSLL
, "ffsll", BT_FN_INT_LONGLONG
, ATTR_CONST_NOTHROW_LIST
)
601 DEF_EXT_LIB_BUILTIN (BUILT_IN_FORK
, "fork", BT_FN_PID
, ATTR_NOTHROW_LIST
)
602 DEF_GCC_BUILTIN (BUILT_IN_FRAME_ADDRESS
, "frame_address", BT_FN_PTR_UINT
, ATTR_NULL
)
603 DEF_GCC_BUILTIN (BUILT_IN_FROB_RETURN_ADDR
, "frob_return_addr", BT_FN_PTR_PTR
, ATTR_NULL
)
604 DEF_EXT_LIB_BUILTIN (BUILT_IN_GETTEXT
, "gettext", BT_FN_STRING_CONST_STRING
, ATTR_FORMAT_ARG_1
)
605 DEF_C99_BUILTIN (BUILT_IN_IMAXABS
, "imaxabs", BT_FN_INTMAX_INTMAX
, ATTR_CONST_NOTHROW_LIST
)
606 DEF_GCC_BUILTIN (BUILT_IN_INIT_DWARF_REG_SIZES
, "init_dwarf_reg_size_table", BT_FN_VOID_PTR
, ATTR_NULL
)
607 DEF_EXT_LIB_BUILTIN (BUILT_IN_FINITE
, "finite", BT_FN_INT_DOUBLE
, ATTR_CONST_NOTHROW_LIST
)
608 DEF_EXT_LIB_BUILTIN (BUILT_IN_FINITEF
, "finitef", BT_FN_INT_FLOAT
, ATTR_CONST_NOTHROW_LIST
)
609 DEF_EXT_LIB_BUILTIN (BUILT_IN_FINITEL
, "finitel", BT_FN_INT_LONGDOUBLE
, ATTR_CONST_NOTHROW_LIST
)
610 DEF_C99_C90RES_BUILTIN (BUILT_IN_ISINF
, "isinf", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
611 DEF_EXT_LIB_BUILTIN (BUILT_IN_ISINFF
, "isinff", BT_FN_INT_FLOAT
, ATTR_CONST_NOTHROW_LIST
)
612 DEF_EXT_LIB_BUILTIN (BUILT_IN_ISINFL
, "isinfl", BT_FN_INT_LONGDOUBLE
, ATTR_CONST_NOTHROW_LIST
)
613 DEF_C99_C90RES_BUILTIN (BUILT_IN_ISNAN
, "isnan", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
614 DEF_EXT_LIB_BUILTIN (BUILT_IN_ISNANF
, "isnanf", BT_FN_INT_FLOAT
, ATTR_CONST_NOTHROW_LIST
)
615 DEF_EXT_LIB_BUILTIN (BUILT_IN_ISNANL
, "isnanl", BT_FN_INT_LONGDOUBLE
, ATTR_CONST_NOTHROW_LIST
)
616 DEF_GCC_BUILTIN (BUILT_IN_ISGREATER
, "isgreater", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
617 DEF_GCC_BUILTIN (BUILT_IN_ISGREATEREQUAL
, "isgreaterequal", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
618 DEF_GCC_BUILTIN (BUILT_IN_ISLESS
, "isless", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
619 DEF_GCC_BUILTIN (BUILT_IN_ISLESSEQUAL
, "islessequal", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
620 DEF_GCC_BUILTIN (BUILT_IN_ISLESSGREATER
, "islessgreater", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
621 DEF_GCC_BUILTIN (BUILT_IN_ISUNORDERED
, "isunordered", BT_FN_INT_VAR
, ATTR_CONST_NOTHROW_LIST
)
622 DEF_LIB_BUILTIN (BUILT_IN_LABS
, "labs", BT_FN_LONG_LONG
, ATTR_CONST_NOTHROW_LIST
)
623 DEF_C99_BUILTIN (BUILT_IN_LLABS
, "llabs", BT_FN_LONGLONG_LONGLONG
, ATTR_CONST_NOTHROW_LIST
)
624 DEF_GCC_BUILTIN (BUILT_IN_LONGJMP
, "longjmp", BT_FN_VOID_PTR_INT
, ATTR_NORETURN_NOTHROW_LIST
)
625 DEF_LIB_BUILTIN (BUILT_IN_MALLOC
, "malloc", BT_FN_PTR_SIZE
, ATTR_MALLOC_NOTHROW_LIST
)
626 DEF_GCC_BUILTIN (BUILT_IN_NEXT_ARG
, "next_arg", BT_FN_PTR_VAR
, ATTR_NULL
)
627 DEF_GCC_BUILTIN (BUILT_IN_PARITY
, "parity", BT_FN_INT_UINT
, ATTR_CONST_NOTHROW_LIST
)
628 DEF_GCC_BUILTIN (BUILT_IN_PARITYIMAX
, "parityimax", BT_FN_INT_UINTMAX
, ATTR_CONST_NOTHROW_LIST
)
629 DEF_GCC_BUILTIN (BUILT_IN_PARITYL
, "parityl", BT_FN_INT_ULONG
, ATTR_CONST_NOTHROW_LIST
)
630 DEF_GCC_BUILTIN (BUILT_IN_PARITYLL
, "parityll", BT_FN_INT_ULONGLONG
, ATTR_CONST_NOTHROW_LIST
)
631 DEF_GCC_BUILTIN (BUILT_IN_POPCOUNT
, "popcount", BT_FN_INT_UINT
, ATTR_CONST_NOTHROW_LIST
)
632 DEF_GCC_BUILTIN (BUILT_IN_POPCOUNTIMAX
, "popcountimax", BT_FN_INT_UINTMAX
, ATTR_CONST_NOTHROW_LIST
)
633 DEF_GCC_BUILTIN (BUILT_IN_POPCOUNTL
, "popcountl", BT_FN_INT_ULONG
, ATTR_CONST_NOTHROW_LIST
)
634 DEF_GCC_BUILTIN (BUILT_IN_POPCOUNTLL
, "popcountll", BT_FN_INT_ULONGLONG
, ATTR_CONST_NOTHROW_LIST
)
635 DEF_GCC_BUILTIN (BUILT_IN_PREFETCH
, "prefetch", BT_FN_VOID_CONST_PTR_VAR
, ATTR_NOVOPS_LIST
)
636 DEF_GCC_BUILTIN (BUILT_IN_RETURN
, "return", BT_FN_VOID_PTR
, ATTR_NORETURN_NOTHROW_LIST
)
637 DEF_GCC_BUILTIN (BUILT_IN_RETURN_ADDRESS
, "return_address", BT_FN_PTR_UINT
, ATTR_NULL
)
638 DEF_GCC_BUILTIN (BUILT_IN_SAVEREGS
, "saveregs", BT_FN_PTR_VAR
, ATTR_NULL
)
639 DEF_GCC_BUILTIN (BUILT_IN_SETJMP
, "setjmp", BT_FN_INT_PTR
, ATTR_NULL
)
640 DEF_GCC_BUILTIN (BUILT_IN_STDARG_START
, "stdarg_start", BT_FN_VOID_VALIST_REF_VAR
, ATTR_NULL
)
641 DEF_EXT_LIB_BUILTIN (BUILT_IN_STRFMON
, "strfmon", BT_FN_SSIZE_STRING_SIZE_CONST_STRING_VAR
, ATTR_FORMAT_STRFMON_3_4
)
642 DEF_LIB_BUILTIN (BUILT_IN_STRFTIME
, "strftime", BT_FN_SIZE_STRING_SIZE_CONST_STRING_CONST_PTR
, ATTR_FORMAT_STRFTIME_3_0
)
643 DEF_GCC_BUILTIN (BUILT_IN_TRAP
, "trap", BT_FN_VOID
, ATTR_NORETURN_NOTHROW_LIST
)
644 DEF_GCC_BUILTIN (BUILT_IN_UNWIND_INIT
, "unwind_init", BT_FN_VOID
, ATTR_NULL
)
645 DEF_GCC_BUILTIN (BUILT_IN_UPDATE_SETJMP_BUF
, "update_setjmp_buf", BT_FN_VOID_PTR_INT
, ATTR_NULL
)
646 DEF_GCC_BUILTIN (BUILT_IN_VA_COPY
, "va_copy", BT_FN_VOID_VALIST_REF_VALIST_ARG
, ATTR_NULL
)
647 DEF_GCC_BUILTIN (BUILT_IN_VA_END
, "va_end", BT_FN_VOID_VALIST_REF
, ATTR_NULL
)
648 DEF_GCC_BUILTIN (BUILT_IN_VA_START
, "va_start", BT_FN_VOID_VALIST_REF_VAR
, ATTR_NULL
)
649 DEF_EXT_LIB_BUILTIN (BUILT_IN__EXIT
, "_exit", BT_FN_VOID_INT
, ATTR_NORETURN_NOTHROW_LIST
)
650 DEF_C99_BUILTIN (BUILT_IN__EXIT2
, "_Exit", BT_FN_VOID_INT
, ATTR_NORETURN_NOTHROW_LIST
)
652 /* Implementing nested functions.
*/
653 DEF_BUILTIN_STUB (BUILT_IN_INIT_TRAMPOLINE
, "__builtin_init_trampoline")
654 DEF_BUILTIN_STUB (BUILT_IN_ADJUST_TRAMPOLINE
, "__builtin_adjust_trampoline")
655 DEF_BUILTIN_STUB (BUILT_IN_NONLOCAL_GOTO
, "__builtin_nonlocal_goto")
657 /* Implementing variable sized local variables.
*/
658 DEF_BUILTIN_STUB (BUILT_IN_STACK_SAVE
, "__builtin_stack_save")
659 DEF_BUILTIN_STUB (BUILT_IN_STACK_RESTORE
, "__builtin_stack_restore")
661 /* Profiling hooks.
*/
662 DEF_BUILTIN_STUB (BUILT_IN_PROFILE_FUNC_ENTER
, "profile_func_enter")
663 DEF_BUILTIN_STUB (BUILT_IN_PROFILE_FUNC_EXIT
, "profile_func_exit")
665 /* Synchronization Primitives. The
"_N" version is the one that the user
666 is supposed to be using. It
's overloaded, and is resolved to one of the
667 "_1" through "_8" versions, plus some extra casts. */
669 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_ADD_N, "__sync_fetch_and_add",
670 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
671 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_ADD_1, "__sync_fetch_and_add_1",
672 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
673 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_ADD_2, "__sync_fetch_and_add_2",
674 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
675 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_ADD_4, "__sync_fetch_and_add_4",
676 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
677 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_ADD_8, "__sync_fetch_and_add_8",
678 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
680 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_SUB_N, "__sync_fetch_and_sub",
681 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
682 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_SUB_1, "__sync_fetch_and_sub_1",
683 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
684 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_SUB_2, "__sync_fetch_and_sub_2",
685 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
686 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_SUB_4, "__sync_fetch_and_sub_4",
687 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
688 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_SUB_8, "__sync_fetch_and_sub_8",
689 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
691 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_OR_N, "__sync_fetch_and_or",
692 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
693 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_OR_1, "__sync_fetch_and_or_1",
694 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
695 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_OR_2, "__sync_fetch_and_or_2",
696 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
697 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_OR_4, "__sync_fetch_and_or_4",
698 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
699 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_OR_8, "__sync_fetch_and_or_8",
700 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
702 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_AND_N, "__sync_fetch_and_and",
703 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
704 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_AND_1, "__sync_fetch_and_and_1",
705 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
706 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_AND_2, "__sync_fetch_and_and_2",
707 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
708 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_AND_4, "__sync_fetch_and_and_4",
709 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
710 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_AND_8, "__sync_fetch_and_and_8",
711 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
713 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_XOR_N, "__sync_fetch_and_xor",
714 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
715 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_XOR_1, "__sync_fetch_and_xor_1",
716 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
717 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_XOR_2, "__sync_fetch_and_xor_2",
718 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
719 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_XOR_4, "__sync_fetch_and_xor_4",
720 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
721 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_XOR_8, "__sync_fetch_and_xor_8",
722 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
724 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_NAND_N, "__sync_fetch_and_nand",
725 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
726 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_NAND_1, "__sync_fetch_and_nand_1",
727 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
728 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_NAND_2, "__sync_fetch_and_nand_2",
729 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
730 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_NAND_4, "__sync_fetch_and_nand_4",
731 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
732 DEF_SYNC_BUILTIN (BUILT_IN_FETCH_AND_NAND_8, "__sync_fetch_and_nand_8",
733 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
735 DEF_SYNC_BUILTIN (BUILT_IN_ADD_AND_FETCH_N, "__sync_add_and_fetch",
736 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
737 DEF_SYNC_BUILTIN (BUILT_IN_ADD_AND_FETCH_1, "__sync_add_and_fetch_1",
738 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
739 DEF_SYNC_BUILTIN (BUILT_IN_ADD_AND_FETCH_2, "__sync_add_and_fetch_2",
740 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
741 DEF_SYNC_BUILTIN (BUILT_IN_ADD_AND_FETCH_4, "__sync_add_and_fetch_4",
742 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
743 DEF_SYNC_BUILTIN (BUILT_IN_ADD_AND_FETCH_8, "__sync_add_and_fetch_8",
744 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
746 DEF_SYNC_BUILTIN (BUILT_IN_SUB_AND_FETCH_N, "__sync_sub_and_fetch",
747 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
748 DEF_SYNC_BUILTIN (BUILT_IN_SUB_AND_FETCH_1, "__sync_sub_and_fetch_1",
749 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
750 DEF_SYNC_BUILTIN (BUILT_IN_SUB_AND_FETCH_2, "__sync_sub_and_fetch_2",
751 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
752 DEF_SYNC_BUILTIN (BUILT_IN_SUB_AND_FETCH_4, "__sync_sub_and_fetch_4",
753 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
754 DEF_SYNC_BUILTIN (BUILT_IN_SUB_AND_FETCH_8, "__sync_sub_and_fetch_8",
755 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
757 DEF_SYNC_BUILTIN (BUILT_IN_OR_AND_FETCH_N, "__sync_or_and_fetch",
758 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
759 DEF_SYNC_BUILTIN (BUILT_IN_OR_AND_FETCH_1, "__sync_or_and_fetch_1",
760 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
761 DEF_SYNC_BUILTIN (BUILT_IN_OR_AND_FETCH_2, "__sync_or_and_fetch_2",
762 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
763 DEF_SYNC_BUILTIN (BUILT_IN_OR_AND_FETCH_4, "__sync_or_and_fetch_4",
764 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
765 DEF_SYNC_BUILTIN (BUILT_IN_OR_AND_FETCH_8, "__sync_or_and_fetch_8",
766 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
768 DEF_SYNC_BUILTIN (BUILT_IN_AND_AND_FETCH_N, "__sync_and_and_fetch",
769 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
770 DEF_SYNC_BUILTIN (BUILT_IN_AND_AND_FETCH_1, "__sync_and_and_fetch_1",
771 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
772 DEF_SYNC_BUILTIN (BUILT_IN_AND_AND_FETCH_2, "__sync_and_and_fetch_2",
773 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
774 DEF_SYNC_BUILTIN (BUILT_IN_AND_AND_FETCH_4, "__sync_and_and_fetch_4",
775 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
776 DEF_SYNC_BUILTIN (BUILT_IN_AND_AND_FETCH_8, "__sync_and_and_fetch_8",
777 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
779 DEF_SYNC_BUILTIN (BUILT_IN_XOR_AND_FETCH_N, "__sync_xor_and_fetch",
780 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
781 DEF_SYNC_BUILTIN (BUILT_IN_XOR_AND_FETCH_1, "__sync_xor_and_fetch_1",
782 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
783 DEF_SYNC_BUILTIN (BUILT_IN_XOR_AND_FETCH_2, "__sync_xor_and_fetch_2",
784 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
785 DEF_SYNC_BUILTIN (BUILT_IN_XOR_AND_FETCH_4, "__sync_xor_and_fetch_4",
786 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
787 DEF_SYNC_BUILTIN (BUILT_IN_XOR_AND_FETCH_8, "__sync_xor_and_fetch_8",
788 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
790 DEF_SYNC_BUILTIN (BUILT_IN_NAND_AND_FETCH_N, "__sync_nand_and_fetch",
791 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
792 DEF_SYNC_BUILTIN (BUILT_IN_NAND_AND_FETCH_1, "__sync_nand_and_fetch_1",
793 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
794 DEF_SYNC_BUILTIN (BUILT_IN_NAND_AND_FETCH_2, "__sync_nand_and_fetch_2",
795 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
796 DEF_SYNC_BUILTIN (BUILT_IN_NAND_AND_FETCH_4, "__sync_nand_and_fetch_4",
797 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
798 DEF_SYNC_BUILTIN (BUILT_IN_NAND_AND_FETCH_8, "__sync_nand_and_fetch_8",
799 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
801 DEF_SYNC_BUILTIN (BUILT_IN_BOOL_COMPARE_AND_SWAP_N,
802 "__sync_bool_compare_and_swap",
803 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
804 DEF_SYNC_BUILTIN (BUILT_IN_BOOL_COMPARE_AND_SWAP_1,
805 "__sync_bool_compare_and_swap_1",
806 BT_FN_BOOL_VPTR_I1_I1, ATTR_NOTHROW_LIST)
807 DEF_SYNC_BUILTIN (BUILT_IN_BOOL_COMPARE_AND_SWAP_2,
808 "__sync_bool_compare_and_swap_2",
809 BT_FN_BOOL_VPTR_I2_I2, ATTR_NOTHROW_LIST)
810 DEF_SYNC_BUILTIN (BUILT_IN_BOOL_COMPARE_AND_SWAP_4,
811 "__sync_bool_compare_and_swap_4",
812 BT_FN_BOOL_VPTR_I4_I4, ATTR_NOTHROW_LIST)
813 DEF_SYNC_BUILTIN (BUILT_IN_BOOL_COMPARE_AND_SWAP_8,
814 "__sync_bool_compare_and_swap_8",
815 BT_FN_BOOL_VPTR_I8_I8, ATTR_NOTHROW_LIST)
817 DEF_SYNC_BUILTIN (BUILT_IN_VAL_COMPARE_AND_SWAP_N,
818 "__sync_val_compare_and_swap",
819 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
820 DEF_SYNC_BUILTIN (BUILT_IN_VAL_COMPARE_AND_SWAP_1,
821 "__sync_val_compare_and_swap_1",
822 BT_FN_I1_VPTR_I1_I1, ATTR_NOTHROW_LIST)
823 DEF_SYNC_BUILTIN (BUILT_IN_VAL_COMPARE_AND_SWAP_2,
824 "__sync_val_compare_and_swap_2",
825 BT_FN_I2_VPTR_I2_I2, ATTR_NOTHROW_LIST)
826 DEF_SYNC_BUILTIN (BUILT_IN_VAL_COMPARE_AND_SWAP_4,
827 "__sync_val_compare_and_swap_4",
828 BT_FN_I4_VPTR_I4_I4, ATTR_NOTHROW_LIST)
829 DEF_SYNC_BUILTIN (BUILT_IN_VAL_COMPARE_AND_SWAP_8,
830 "__sync_val_compare_and_swap_8",
831 BT_FN_I8_VPTR_I8_I8, ATTR_NOTHROW_LIST)
833 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_TEST_AND_SET_N, "__sync_lock_test_and_set",
834 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
835 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_TEST_AND_SET_1, "__sync_lock_test_and_set_1",
836 BT_FN_I1_VPTR_I1, ATTR_NOTHROW_LIST)
837 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_TEST_AND_SET_2, "__sync_lock_test_and_set_2",
838 BT_FN_I2_VPTR_I2, ATTR_NOTHROW_LIST)
839 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_TEST_AND_SET_4, "__sync_lock_test_and_set_4",
840 BT_FN_I4_VPTR_I4, ATTR_NOTHROW_LIST)
841 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_TEST_AND_SET_8, "__sync_lock_test_and_set_8",
842 BT_FN_I8_VPTR_I8, ATTR_NOTHROW_LIST)
844 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_RELEASE_N, "__sync_lock_release",
845 BT_FN_VOID_VAR, ATTR_NOTHROW_LIST)
846 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_RELEASE_1, "__sync_lock_release_1",
847 BT_FN_VOID_VPTR, ATTR_NOTHROW_LIST)
848 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_RELEASE_2, "__sync_lock_release_2",
849 BT_FN_VOID_VPTR, ATTR_NOTHROW_LIST)
850 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_RELEASE_4, "__sync_lock_release_4",
851 BT_FN_VOID_VPTR, ATTR_NOTHROW_LIST)
852 DEF_SYNC_BUILTIN (BUILT_IN_LOCK_RELEASE_8, "__sync_lock_release_8",
853 BT_FN_VOID_VPTR, ATTR_NOTHROW_LIST)
855 DEF_SYNC_BUILTIN (BUILT_IN_SYNCHRONIZE, "__sync_synchronize",
856 BT_FN_VOID, ATTR_NOTHROW_LIST)