Debian Codegraph @

share/compliance/gcc_builtins.json

raw
1 {
2 "description":"GCC builtins supported by Frama-C",
3 "source":"Mostly https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html, from pages with 'Builtins' in their title",
4 "notes": {
5 "rettype":"Return type of the builtin. Whitespace is important: types are matched as exact strings, with a single space between components.",
6 "args":"List of the types of the builtin arguments. Whitespace is important: types are matched as exact strings, with a single space between components. The full list of 'known' type names is available in cil_builtins.ml.",
7 "types":"When present, a list indicating that this is a builtin template, to be instantiated for each type in the list. Instantiation is the replacement of each occurrence of 'type' in 'rettype' and 'args' with the elements of this list.",
8 "variadic":"When present, this builtin behaves as a variadic function.",
9 "_comment": [
10 "Complex types are unsupported, so the following builtins cannot be added:",
11 "cabs",
12 "cabsf",
13 "cabsh",
14 "cacos",
15 "cacosf",
16 "cacosl",
17 "cacosh",
18 "cacoshf",
19 "cacoshl",
20 "carg",
21 "cargf",
22 "cargl",
23 "casin",
24 "casinf",
25 "casinl",
26 "casinh",
27 "casinhf",
28 "casinhl",
29 "catan",
30 "catanf",
31 "catanl",
32 "catanh",
33 "catanhf",
34 "catanhl",
35 "ccos",
36 "ccosf",
37 "ccosl",
38 "ccosh",
39 "ccoshf",
40 "ccoshl",
41 "cexp",
42 "cexpf",
43 "cexpl",
44 "cimag",
45 "cimagf",
46 "cimagl",
47 "clog",
48 "clogf",
49 "clogl",
50 "conj",
51 "conjf",
52 "conjl",
53 "cpow",
54 "cpowf",
55 "cpowl",
56 "cproj",
57 "cprojf",
58 "cprojl",
59 "creal",
60 "crealf",
61 "creall",
62 "csin",
63 "csinf",
64 "csinl",
65 "csinh",
66 "csinhf",
67 "csinhl",
68 "csqrt",
69 "csqrtf",
70 "csqrtl",
71 "ctan",
72 "ctanf",
73 "ctanl",
74 "ctanh",
75 "ctanhf",
76 "ctanhl",
77 "Also, the type 'wint_t' is not specified in 'theMachine', so the following builtins that use it cannot be added:",
78 "iswalnum",
79 "iswalpha",
80 "iswblank",
81 "iswcntrl",
82 "iswdigit",
83 "iswgraph",
84 "iswlower",
85 "iswprint",
86 "iswpunct",
87 "iswspace",
88 "iswupper",
89 "iswxdigit",
90 "towlower",
91 "towupper"
92 ]
93 },
94 "data":{
95 "__builtin__Exit": {
96 "rettype":"void",
97 "args": ["int"]
98 },
99 "__builtin___fprintf_chk": {
100 "rettype":"int",
101 "args": ["void *","int","char const *"],
102 "variadic":true
103 },
104 "__builtin___memcpy_chk": {
105 "rettype":"void *",
106 "args": ["void *","void const *","size_t","size_t"]
107 },
108 "__builtin___memmove_chk": {
109 "rettype":"void *",
110 "args": ["void *","void const *","size_t","size_t"]
111 },
112 "__builtin___mempcpy_chk": {
113 "rettype":"void *",
114 "args": ["void *","void const *","size_t","size_t"]
115 },
116 "__builtin___memset_chk": {
117 "rettype":"void *",
118 "args": ["void *","int","size_t","size_t"]
119 },
120 "__builtin___printf_chk": {
121 "rettype":"int",
122 "args": ["int","char const *"],
123 "variadic":true
124 },
125 "__builtin___snprintf_chk": {
126 "rettype":"int",
127 "args": ["char *","size_t","int","size_t","char const *"],
128 "variadic":true
129 },
130 "__builtin___sprintf_chk": {
131 "rettype":"int",
132 "args": ["char *","int","size_t","char const *"],
133 "variadic":true
134 },
135 "__builtin___stpcpy_chk": {
136 "rettype":"char *",
137 "args": ["char *","char const *","size_t"]
138 },
139 "__builtin___strcat_chk": {
140 "rettype":"char *",
141 "args": ["char *","char const *","size_t"]
142 },
143 "__builtin___strcpy_chk": {
144 "rettype":"char *",
145 "args": ["char *","char const *","size_t"]
146 },
147 "__builtin___strncat_chk": {
148 "rettype":"char *",
149 "args": ["char *","char const *","size_t","size_t"]
150 },
151 "__builtin___strncpy_chk": {
152 "rettype":"char *",
153 "args": ["char *","char const *","size_t","size_t"]
154 },
155 "__builtin___vfprintf_chk": {
156 "rettype":"int",
157 "args": ["void *","int","char const *","__builtin_va_list"]
158 },
159 "__builtin___vprintf_chk": {
160 "rettype":"int",
161 "args": ["int","char const *","__builtin_va_list"]
162 },
163 "__builtin___vsnprintf_chk": {
164 "rettype":"int",
165 "args": ["char *","size_t","int","size_t","char const *","__builtin_va_list"]
166 },
167 "__builtin___vsprintf_chk": {
168 "rettype":"int",
169 "args": ["char *","int","size_t","char const *","__builtin_va_list"]
170 },
171 "__builtin_abs": {
172 "rettype":"int",
173 "args": ["int"]
174 },
175 "__builtin_acos": {
176 "rettype":"double",
177 "args": ["double"]
178 },
179 "__builtin_acosf": {
180 "rettype":"float",
181 "args": ["float"]
182 },
183 "__builtin_acosh": {
184 "rettype":"double",
185 "args": ["double"]
186 },
187 "__builtin_acoshf": {
188 "rettype":"float",
189 "args": ["float"]
190 },
191 "__builtin_acoshl": {
192 "rettype":"long double",
193 "args": ["long double"]
194 },
195 "__builtin_acosl": {
196 "rettype":"long double",
197 "args": ["long double"]
198 },
199 "__builtin_alloca": {
200 "rettype":"void *",
201 "args": ["size_t"]
202 },
203 "__builtin_asin": {
204 "rettype":"double",
205 "args": ["double"]
206 },
207 "__builtin_asinf": {
208 "rettype":"float",
209 "args": ["float"]
210 },
211 "__builtin_asinh": {
212 "rettype":"double",
213 "args": ["double"]
214 },
215 "__builtin_asinhf": {
216 "rettype":"float",
217 "args": ["float"]
218 },
219 "__builtin_asinhl": {
220 "rettype":"long double",
221 "args": ["long double"]
222 },
223 "__builtin_asinl": {
224 "rettype":"long double",
225 "args": ["long double"]
226 },
227 "__builtin_atan": {
228 "rettype":"double",
229 "args": ["double"]
230 },
231 "__builtin_atan2": {
232 "rettype":"double",
233 "args": ["double","double"]
234 },
235 "__builtin_atan2f": {
236 "rettype":"float",
237 "args": ["float","float"]
238 },
239 "__builtin_atan2l": {
240 "rettype":"long double",
241 "args": ["long double","long double"]
242 },
243 "__builtin_atanf": {
244 "rettype":"float",
245 "args": ["float"]
246 },
247 "__builtin_atanh": {
248 "rettype":"double",
249 "args": ["double"]
250 },
251 "__builtin_atanhf": {
252 "rettype":"float",
253 "args": ["float"]
254 },
255 "__builtin_atanhl": {
256 "rettype":"long double",
257 "args": ["long double"]
258 },
259 "__builtin_atanl": {
260 "rettype":"long double",
261 "args": ["long double"]
262 },
263 "__builtin_bswap16": {
264 "rettype":"uint16_t",
265 "args": ["uint16_t"]
266 },
267 "__builtin_bswap32": {
268 "rettype":"uint32_t",
269 "args": ["uint32_t"]
270 },
271 "__builtin_bswap64": {
272 "rettype":"uint64_t",
273 "args": ["uint64_t"]
274 },
275 "__builtin_calloc": {
276 "rettype":"void *",
277 "args": ["size_t","size_t"]
278 },
279 "__builtin_cbrt": {
280 "rettype":"double",
281 "args": ["double"]
282 },
283 "__builtin_cbrtf": {
284 "rettype":"float",
285 "args": ["float"]
286 },
287 "__builtin_cbrtl": {
288 "rettype":"long double",
289 "args": ["long double"]
290 },
291 "__builtin_ceil": {
292 "rettype":"double",
293 "args": ["double"]
294 },
295 "__builtin_ceilf": {
296 "rettype":"float",
297 "args": ["float"]
298 },
299 "__builtin_ceill": {
300 "rettype":"long double",
301 "args": ["long double"]
302 },
303 "__builtin_constant_p": {
304 "rettype":"int",
305 "args": ["int"]
306 },
307 "__builtin_copysign": {
308 "rettype":"double",
309 "args": ["double","double"]
310 },
311 "__builtin_copysignf": {
312 "rettype":"float",
313 "args": ["float","float"]
314 },
315 "__builtin_copysignl": {
316 "rettype":"long double",
317 "args": ["long double","long double"]
318 },
319 "__builtin_cos": {
320 "rettype":"double",
321 "args": ["double"]
322 },
323 "__builtin_cosf": {
324 "rettype":"float",
325 "args": ["float"]
326 },
327 "__builtin_cosh": {
328 "rettype":"double",
329 "args": ["double"]
330 },
331 "__builtin_coshf": {
332 "rettype":"float",
333 "args": ["float"]
334 },
335 "__builtin_coshl": {
336 "rettype":"long double",
337 "args": ["long double"]
338 },
339 "__builtin_cosl": {
340 "rettype":"long double",
341 "args": ["long double"]
342 },
343 "__builtin_erf": {
344 "rettype":"double",
345 "args": ["double"]
346 },
347 "__builtin_erfc": {
348 "rettype":"double",
349 "args": ["double"]
350 },
351 "__builtin_erfcf": {
352 "rettype":"float",
353 "args": ["float"]
354 },
355 "__builtin_erfcl": {
356 "rettype":"long double",
357 "args": ["long double"]
358 },
359 "__builtin_erff": {
360 "rettype":"float",
361 "args": ["float"]
362 },
363 "__builtin_erfl": {
364 "rettype":"long double",
365 "args": ["long double"]
366 },
367 "__builtin_exit": {
368 "rettype":"void",
369 "args": ["int"]
370 },
371 "__builtin_exp": {
372 "rettype":"double",
373 "args": ["double"]
374 },
375 "__builtin_exp2": {
376 "rettype":"double",
377 "args": ["double"]
378 },
379 "__builtin_exp2f": {
380 "rettype":"float",
381 "args": ["float"]
382 },
383 "__builtin_exp2l": {
384 "rettype":"long double",
385 "args": ["long double"]
386 },
387 "__builtin_expect": {
388 "rettype":"long",
389 "args": ["long","long"]
390 },
391 "__builtin_expf": {
392 "rettype":"float",
393 "args": ["float"]
394 },
395 "__builtin_expl": {
396 "rettype":"long double",
397 "args": ["long double"]
398 },
399 "__builtin_expm1": {
400 "rettype":"double",
401 "args": ["double"]
402 },
403 "__builtin_expm1f": {
404 "rettype":"float",
405 "args": ["float"]
406 },
407 "__builtin_expm1l": {
408 "rettype":"long double",
409 "args": ["long double"]
410 },
411 "__builtin_fabs": {
412 "rettype":"double",
413 "args": ["double"]
414 },
415 "__builtin_fabsf": {
416 "rettype":"float",
417 "args": ["float"]
418 },
419 "__builtin_fabsl": {
420 "rettype":"long double",
421 "args": ["long double"]
422 },
423 "__builtin_fdim": {
424 "rettype":"double",
425 "args": ["double","double"]
426 },
427 "__builtin_fdimf": {
428 "rettype":"float",
429 "args": ["float","float"]
430 },
431 "__builtin_fdiml": {
432 "rettype":"long double",
433 "args": ["long double","long double"]
434 },
435 "__builtin_ffs": {
436 "rettype":"int",
437 "args": ["int"]
438 },
439 "__builtin_ffsl": {
440 "rettype":"int",
441 "args": ["long"]
442 },
443 "__builtin_ffsll": {
444 "rettype":"int",
445 "args": ["long long"]
446 },
447 "__builtin_floor": {
448 "rettype":"double",
449 "args": ["double"]
450 },
451 "__builtin_floorf": {
452 "rettype":"float",
453 "args": ["float"]
454 },
455 "__builtin_floorl": {
456 "rettype":"long double",
457 "args": ["long double"]
458 },
459 "__builtin_fma": {
460 "rettype":"double",
461 "args": ["double","double","double"]
462 },
463 "__builtin_fmaf": {
464 "rettype":"float",
465 "args": ["float","float","float"]
466 },
467 "__builtin_fmal": {
468 "rettype":"long double",
469 "args": ["long double","long double","long double"]
470 },
471 "__builtin_fmax": {
472 "rettype":"double",
473 "args": ["double","double"]
474 },
475 "__builtin_fmaxf": {
476 "rettype":"float",
477 "args": ["float","float"]
478 },
479 "__builtin_fmaxl": {
480 "rettype":"long double",
481 "args": ["long double","long double"]
482 },
483 "__builtin_fmin": {
484 "rettype":"double",
485 "args": ["double","double"]
486 },
487 "__builtin_fminf": {
488 "rettype":"float",
489 "args": ["float","float"]
490 },
491 "__builtin_fminl": {
492 "rettype":"long double",
493 "args": ["long double","long double"]
494 },
495 "__builtin_fmod": {
496 "rettype":"double",
497 "args": ["double"]
498 },
499 "__builtin_fmodf": {
500 "rettype":"float",
501 "args": ["float"]
502 },
503 "__builtin_fmodl": {
504 "rettype":"long double",
505 "args": ["long double"]
506 },
507 "__builtin_fprintf": {
508 "rettype":"int",
509 "args": ["void *","char const *"],
510 "variadic":true
511 },
512 "__builtin_fputs": {
513 "rettype":"int",
514 "args": ["char const *","void *"]
515 },
516 "__builtin_frame_address": {
517 "rettype":"void *",
518 "args": ["unsigned int"]
519 },
520 "__builtin_free": {
521 "rettype":"void",
522 "args": ["void *"]
523 },
524 "__builtin_frexp": {
525 "rettype":"double",
526 "args": ["double","int *"]
527 },
528 "__builtin_frexpf": {
529 "rettype":"float",
530 "args": ["float","int *"]
531 },
532 "__builtin_frexpl": {
533 "rettype":"long double",
534 "args": ["long double","int *"]
535 },
536 "__builtin_fscanf": {
537 "rettype":"int",
538 "args": ["void *","char const *"],
539 "variadic":true
540 },
541 "__builtin_huge_val": {
542 "rettype":"double",
543 "args": []
544 },
545 "__builtin_huge_valf": {
546 "rettype":"float",
547 "args": []
548 },
549 "__builtin_huge_vall": {
550 "rettype":"long double",
551 "args": []
552 },
553 "__builtin_hypot": {
554 "rettype":"double",
555 "args": ["double","double"]
556 },
557 "__builtin_hypotf": {
558 "rettype":"float",
559 "args": ["float","float"]
560 },
561 "__builtin_hypotl": {
562 "rettype":"long double",
563 "args": ["long double","long double"]
564 },
565 "__builtin_ia32_lfence": {
566 "rettype":"void",
567 "args": []
568 },
569 "__builtin_ia32_mfence": {
570 "rettype":"void",
571 "args": []
572 },
573 "__builtin_ia32_sfence": {
574 "rettype":"void",
575 "args": []
576 },
577 "__builtin_ilogb": {
578 "rettype":"double",
579 "args": ["double"]
580 },
581 "__builtin_ilogbf": {
582 "rettype":"float",
583 "args": ["float"]
584 },
585 "__builtin_ilogbl": {
586 "rettype":"long double",
587 "args": ["long double"]
588 },
589 "__builtin_inf": {
590 "rettype":"double",
591 "args": []
592 },
593 "__builtin_inff": {
594 "rettype":"float",
595 "args": []
596 },
597 "__builtin_infl": {
598 "rettype":"long double",
599 "args": []
600 },
601 "__builtin_isalnum": {
602 "rettype":"int",
603 "args": ["int"]
604 },
605 "__builtin_isalpha": {
606 "rettype":"int",
607 "args": ["int"]
608 },
609 "__builtin_isblank": {
610 "rettype":"int",
611 "args": ["int"]
612 },
613 "__builtin_iscntrl": {
614 "rettype":"int",
615 "args": ["int"]
616 },
617 "__builtin_isdigit": {
618 "rettype":"int",
619 "args": ["int"]
620 },
621 "__builtin_isgraph": {
622 "rettype":"int",
623 "args": ["int"]
624 },
625 "__builtin_islower": {
626 "rettype":"int",
627 "args": ["int"]
628 },
629 "__builtin_isprint": {
630 "rettype":"int",
631 "args": ["int"]
632 },
633 "__builtin_ispunct": {
634 "rettype":"int",
635 "args": ["int"]
636 },
637 "__builtin_isspace": {
638 "rettype":"int",
639 "args": ["int"]
640 },
641 "__builtin_isupper": {
642 "rettype":"int",
643 "args": ["int"]
644 },
645 "__builtin_isxdigit": {
646 "rettype":"int",
647 "args": ["int"]
648 },
649 "__builtin_labs": {
650 "rettype":"long",
651 "args": ["long"]
652 },
653 "__builtin_ldexp": {
654 "rettype":"double",
655 "args": ["double","int"]
656 },
657 "__builtin_ldexpf": {
658 "rettype":"float",
659 "args": ["float","int"]
660 },
661 "__builtin_ldexpl": {
662 "rettype":"long double",
663 "args": ["long double","int"]
664 },
665 "__builtin_lgamma": {
666 "rettype":"double",
667 "args": ["double"]
668 },
669 "__builtin_lgammaf": {
670 "rettype":"float",
671 "args": ["float"]
672 },
673 "__builtin_lgammal": {
674 "rettype":"long double",
675 "args": ["long double"]
676 },
677 "__builtin_llabs": {
678 "rettype":"long long",
679 "args": ["long long"]
680 },
681 "__builtin_llrint": {
682 "rettype":"long long",
683 "args": ["double"]
684 },
685 "__builtin_llrintf": {
686 "rettype":"long long",
687 "args": ["float"]
688 },
689 "__builtin_llrintl": {
690 "rettype":"long long",
691 "args": ["long double"]
692 },
693 "__builtin_llround": {
694 "rettype":"long long",
695 "args": ["double"]
696 },
697 "__builtin_llroundf": {
698 "rettype":"long long",
699 "args": ["float"]
700 },
701 "__builtin_llroundl": {
702 "rettype":"long long",
703 "args": ["long double"]
704 },
705 "__builtin_log": {
706 "rettype":"double",
707 "args": ["double"]
708 },
709 "__builtin_log10": {
710 "rettype":"double",
711 "args": ["double"]
712 },
713 "__builtin_log10f": {
714 "rettype":"float",
715 "args": ["float"]
716 },
717 "__builtin_log10l": {
718 "rettype":"long double",
719 "args": ["long double"]
720 },
721 "__builtin_log1p": {
722 "rettype":"double",
723 "args": ["double"]
724 },
725 "__builtin_log1pf": {
726 "rettype":"float",
727 "args": ["float"]
728 },
729 "__builtin_log1pl": {
730 "rettype":"long double",
731 "args": ["long double"]
732 },
733 "__builtin_log2": {
734 "rettype":"double",
735 "args": ["double"]
736 },
737 "__builtin_log2f": {
738 "rettype":"float",
739 "args": ["float"]
740 },
741 "__builtin_log2l": {
742 "rettype":"long double",
743 "args": ["long double"]
744 },
745 "__builtin_logb": {
746 "rettype":"double",
747 "args": ["double"]
748 },
749 "__builtin_logbf": {
750 "rettype":"float",
751 "args": ["float"]
752 },
753 "__builtin_logbl": {
754 "rettype":"long double",
755 "args": ["long double"]
756 },
757 "__builtin_logf": {
758 "rettype":"float",
759 "args": ["float"]
760 },
761 "__builtin_logl": {
762 "rettype":"long double",
763 "args": ["long double"]
764 },
765 "__builtin_lrint": {
766 "rettype":"long",
767 "args": ["double"]
768 },
769 "__builtin_lrintf": {
770 "rettype":"long",
771 "args": ["float"]
772 },
773 "__builtin_lrintl": {
774 "rettype":"long",
775 "args": ["long double"]
776 },
777 "__builtin_lround": {
778 "rettype":"long",
779 "args": ["double"]
780 },
781 "__builtin_lroundf": {
782 "rettype":"long",
783 "args": ["float"]
784 },
785 "__builtin_lroundl": {
786 "rettype":"long",
787 "args": ["long double"]
788 },
789 "__builtin_malloc": {
790 "rettype":"void *",
791 "args": ["size_t"]
792 },
793 "__builtin_memchr": {
794 "rettype":"void *",
795 "args": ["void const *","int","size_t"]
796 },
797 "__builtin_memcmp": {
798 "rettype":"int",
799 "args": ["void const *","void const *","size_t"]
800 },
801 "__builtin_memcpy": {
802 "rettype":"void *",
803 "args": ["void *","void const *","size_t"]
804 },
805 "__builtin_mempcpy": {
806 "rettype":"void *",
807 "args": ["void *","void const *","size_t"]
808 },
809 "__builtin_memset": {
810 "rettype":"void *",
811 "args": ["void *","int","size_t"]
812 },
813 "__builtin_modf": {
814 "rettype":"double",
815 "args": ["double","double *"]
816 },
817 "__builtin_modff": {
818 "rettype":"float",
819 "args": ["float","float *"]
820 },
821 "__builtin_modfl": {
822 "rettype":"long double",
823 "args": ["long double","long double *"]
824 },
825 "__builtin_nan": {
826 "rettype":"double",
827 "args": ["char const *"]
828 },
829 "__builtin_nanf": {
830 "rettype":"float",
831 "args": ["char const *"]
832 },
833 "__builtin_nanl": {
834 "rettype":"long double",
835 "args": ["char const *"]
836 },
837 "__builtin_nans": {
838 "rettype":"double",
839 "args": ["char const *"]
840 },
841 "__builtin_nansf": {
842 "rettype":"float",
843 "args": ["char const *"]
844 },
845 "__builtin_nansl": {
846 "rettype":"long double",
847 "args": ["char const *"]
848 },
849 "__builtin_nearbyint": {
850 "rettype":"double",
851 "args": ["double"]
852 },
853 "__builtin_nearbyintf": {
854 "rettype":"float",
855 "args": ["float"]
856 },
857 "__builtin_nearbyintl": {
858 "rettype":"long double",
859 "args": ["long double"]
860 },
861 "__builtin_nextafter": {
862 "rettype":"double",
863 "args": ["double","double"]
864 },
865 "__builtin_nextafterf": {
866 "rettype":"float",
867 "args": ["float","float"]
868 },
869 "__builtin_nextafterl": {
870 "rettype":"long double",
871 "args": ["long double","long double"]
872 },
873 "__builtin_nexttoward": {
874 "rettype":"double",
875 "args": ["double","long double"]
876 },
877 "__builtin_nexttowardf": {
878 "rettype":"float",
879 "args": ["float","long double"]
880 },
881 "__builtin_nexttowardl": {
882 "rettype":"long double",
883 "args": ["long double","long double"]
884 },
885 "__builtin_object_size": {
886 "rettype":"size_t",
887 "args": ["void *","int"]
888 },
889 "__builtin_offsetof": {
890 "rettype":"size_t",
891 "args": ["size_t"]
892 },
893 "__builtin_parity": {
894 "rettype":"int",
895 "args": ["unsigned int"]
896 },
897 "__builtin_parityl": {
898 "rettype":"int",
899 "args": ["unsigned long"]
900 },
901 "__builtin_parityll": {
902 "rettype":"int",
903 "args": ["unsigned long long"]
904 },
905 "__builtin_pow": {
906 "rettype":"double",
907 "args": ["double","double"]
908 },
909 "__builtin_powf": {
910 "rettype":"float",
911 "args": ["float","float"]
912 },
913 "__builtin_powi": {
914 "rettype":"double",
915 "args": ["double","int"]
916 },
917 "__builtin_powif": {
918 "rettype":"float",
919 "args": ["float","int"]
920 },
921 "__builtin_powil": {
922 "rettype":"long double",
923 "args": ["long double","int"]
924 },
925 "__builtin_powl": {
926 "rettype":"long double",
927 "args": ["long double","long double"]
928 },
929 "__builtin_prefetch": {
930 "rettype":"void",
931 "args": ["void const *"],
932 "variadic":true
933 },
934 "__builtin_printf": {
935 "rettype":"int",
936 "args": ["char const *"],
937 "variadic":true
938 },
939 "__builtin_putchar": {
940 "rettype":"int",
941 "args": ["int"]
942 },
943 "__builtin_puts": {
944 "rettype":"int",
945 "args": ["char const *"]
946 },
947 "__builtin_realloc": {
948 "rettype":"void *",
949 "args": ["void *","size_t"]
950 },
951 "__builtin_remainder": {
952 "rettype":"double",
953 "args": ["double","double"]
954 },
955 "__builtin_remainderf": {
956 "rettype":"float",
957 "args": ["float","float"]
958 },
959 "__builtin_remainderl": {
960 "rettype":"long double",
961 "args": ["long double","long double"]
962 },
963 "__builtin_remquo": {
964 "rettype":"double",
965 "args": ["double","double","int *"]
966 },
967 "__builtin_remquof": {
968 "rettype":"float",
969 "args": ["float","float","int *"]
970 },
971 "__builtin_remquol": {
972 "rettype":"long double",
973 "args": ["long double","long double","int *"]
974 },
975 "__builtin_return": {
976 "rettype":"void",
977 "args": ["void const *"]
978 },
979 "__builtin_return_address": {
980 "rettype":"void *",
981 "args": ["unsigned int"]
982 },
983 "__builtin_rint": {
984 "rettype":"double",
985 "args": ["double"]
986 },
987 "__builtin_rintf": {
988 "rettype":"float",
989 "args": ["float"]
990 },
991 "__builtin_rintl": {
992 "rettype":"long double",
993 "args": ["long double"]
994 },
995 "__builtin_round": {
996 "rettype":"double",
997 "args": ["double"]
998 },
999 "__builtin_roundf": {
1000 "rettype":"float",
1001 "args": ["float"]
1002 },
1003 "__builtin_roundl": {
1004 "rettype":"long double",
1005 "args": ["long double"]
1006 },
1007 "__builtin_scalbln": {
1008 "rettype":"double",
1009 "args": ["double","long"]
1010 },
1011 "__builtin_scalblnf": {
1012 "rettype":"float",
1013 "args": ["float","long"]
1014 },
1015 "__builtin_scalblnl": {
1016 "rettype":"long double",
1017 "args": ["long double","long"]
1018 },
1019 "__builtin_scalbn": {
1020 "rettype":"double",
1021 "args": ["double","int"]
1022 },
1023 "__builtin_scalbnf": {
1024 "rettype":"float",
1025 "args": ["float","int"]
1026 },
1027 "__builtin_scalbnl": {
1028 "rettype":"long double",
1029 "args": ["long double","int"]
1030 },
1031 "__builtin_scanf": {
1032 "rettype":"int",
1033 "args": ["char const *"],
1034 "variadic":true
1035 },
1036 "__builtin_sin": {
1037 "rettype":"double",
1038 "args": ["double"]
1039 },
1040 "__builtin_sinf": {
1041 "rettype":"float",
1042 "args": ["float"]
1043 },
1044 "__builtin_sinh": {
1045 "rettype":"double",
1046 "args": ["double"]
1047 },
1048 "__builtin_sinhf": {
1049 "rettype":"float",
1050 "args": ["float"]
1051 },
1052 "__builtin_sinhl": {
1053 "rettype":"long double",
1054 "args": ["long double"]
1055 },
1056 "__builtin_sinl": {
1057 "rettype":"long double",
1058 "args": ["long double"]
1059 },
1060 "__builtin_snprintf": {
1061 "rettype":"int",
1062 "args": ["char *","size_t","char const *"],
1063 "variadic":true
1064 },
1065 "__builtin_sprintf": {
1066 "rettype":"int",
1067 "args": ["char *","char const *"],
1068 "variadic":true
1069 },
1070 "__builtin_sqrt": {
1071 "rettype":"double",
1072 "args": ["double"]
1073 },
1074 "__builtin_sqrtf": {
1075 "rettype":"float",
1076 "args": ["float"]
1077 },
1078 "__builtin_sqrtl": {
1079 "rettype":"long double",
1080 "args": ["long double"]
1081 },
1082 "__builtin_sscanf": {
1083 "rettype":"int",
1084 "args": ["char const *","char const *"],
1085 "variadic":true
1086 },
1087 "__builtin_stdarg_start": {
1088 "rettype":"void",
1089 "args": ["__builtin_va_list"]
1090 },
1091 "__builtin_stpcpy": {
1092 "rettype":"char *",
1093 "args": ["char *","char const *"]
1094 },
1095 "__builtin_strcat": {
1096 "rettype":"char *",
1097 "args": ["char *","char const *"]
1098 },
1099 "__builtin_strchr": {
1100 "rettype":"char *",
1101 "args": ["char *","int"]
1102 },
1103 "__builtin_strcmp": {
1104 "rettype":"int",
1105 "args": ["char const *","char const *"]
1106 },
1107 "__builtin_strcpy": {
1108 "rettype":"char *",
1109 "args": ["char *","char const *"]
1110 },
1111 "__builtin_strcspn": {
1112 "rettype":"size_t",
1113 "args": ["char const *","char const *"]
1114 },
1115 "__builtin_strlen": {
1116 "rettype":"size_t",
1117 "args": ["char const *"]
1118 },
1119 "__builtin_strncat": {
1120 "rettype":"char *",
1121 "args": ["char *","char const *","size_t"]
1122 },
1123 "__builtin_strncmp": {
1124 "rettype":"int",
1125 "args": ["char const *","char const *","size_t"]
1126 },
1127 "__builtin_strncpy": {
1128 "rettype":"char *",
1129 "args": ["char *","char const *","size_t"]
1130 },
1131 "__builtin_strpbrk": {
1132 "rettype":"char *",
1133 "args": ["char const *","char const *"]
1134 },
1135 "__builtin_strrchr": {
1136 "rettype":"char *",
1137 "args": ["char const *","int"]
1138 },
1139 "__builtin_strspn": {
1140 "rettype":"size_t",
1141 "args": ["char const *","char const *"]
1142 },
1143 "__builtin_strstr": {
1144 "rettype":"char *",
1145 "args": ["char const *","char const *"]
1146 },
1147 "__builtin_tan": {
1148 "rettype":"double",
1149 "args": ["double"]
1150 },
1151 "__builtin_tanf": {
1152 "rettype":"float",
1153 "args": ["float"]
1154 },
1155 "__builtin_tanh": {
1156 "rettype":"double",
1157 "args": ["double"]
1158 },
1159 "__builtin_tanhf": {
1160 "rettype":"float",
1161 "args": ["float"]
1162 },
1163 "__builtin_tanhl": {
1164 "rettype":"long double",
1165 "args": ["long double"]
1166 },
1167 "__builtin_tanl": {
1168 "rettype":"long double",
1169 "args": ["long double"]
1170 },
1171 "__builtin_tgamma": {
1172 "rettype":"double",
1173 "args": ["double"]
1174 },
1175 "__builtin_tgammaf": {
1176 "rettype":"float",
1177 "args": ["float"]
1178 },
1179 "__builtin_tgammal": {
1180 "rettype":"long double",
1181 "args": ["long double"]
1182 },
1183 "__builtin_tolower": {
1184 "rettype":"int",
1185 "args": ["int"]
1186 },
1187 "__builtin_toupper": {
1188 "rettype":"int",
1189 "args": ["int"]
1190 },
1191 "__builtin_trunc": {
1192 "rettype":"double",
1193 "args": ["double"]
1194 },
1195 "__builtin_truncf": {
1196 "rettype":"float",
1197 "args": ["float"]
1198 },
1199 "__builtin_truncl": {
1200 "rettype":"long double",
1201 "args": ["long double"]
1202 },
1203 "__builtin_types_compatible_p": {
1204 "rettype":"int",
1205 "args": ["size_t","size_t"]
1206 },
1207 "__builtin_unreachable": {
1208 "rettype":"void",
1209 "args": []
1210 },
1211 "__builtin_vfprintf": {
1212 "rettype":"int",
1213 "args": ["void *","char const *","__builtin_va_list"]
1214 },
1215 "__builtin_vfscanf": {
1216 "rettype":"int",
1217 "args": ["void *","char const *","__builtin_va_list"]
1218 },
1219 "__builtin_vprintf": {
1220 "rettype":"int",
1221 "args": ["char const *","__builtin_va_list"]
1222 },
1223 "__builtin_vscanf": {
1224 "rettype":"int",
1225 "args": ["char const *","__builtin_va_list"]
1226 },
1227 "__builtin_vsnprintf": {
1228 "rettype":"int",
1229 "args": ["char *","size_t","char const *","__builtin_va_list"]
1230 },
1231 "__builtin_vsprintf": {
1232 "rettype":"int",
1233 "args": ["char *","char const *","__builtin_va_list"]
1234 },
1235 "__builtin_vsscanf": {
1236 "rettype":"int",
1237 "args": ["char const *","char const *","__builtin_va_list"]
1238 },
1239 "__sync_add_and_fetch": {
1240 "rettype":"T",
1241 "args": ["T volatile *", "T"],
1242 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1243 "variadic":true
1244 },
1245 "__sync_and_and_fetch": {
1246 "rettype":"T",
1247 "args": ["T volatile *", "T"],
1248 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1249 "variadic":true
1250 },
1251 "__sync_bool_compare_and_swap": {
1252 "rettype":"int",
1253 "args": ["T volatile *", "T", "T"],
1254 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1255 "variadic":true
1256 },
1257 "__sync_fetch_and_add": {
1258 "rettype":"T",
1259 "args": ["T volatile *", "T"],
1260 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1261 "variadic":true
1262 },
1263 "__sync_fetch_and_and": {
1264 "rettype":"T",
1265 "args": ["T volatile *", "T"],
1266 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1267 "variadic":true
1268 },
1269 "__sync_fetch_and_nand": {
1270 "rettype":"T",
1271 "args": ["T volatile *", "T"],
1272 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1273 "variadic":true
1274 },
1275 "__sync_fetch_and_or": {
1276 "rettype":"T",
1277 "args": ["T volatile *", "T"],
1278 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1279 "variadic":true
1280 },
1281 "__sync_fetch_and_sub": {
1282 "rettype":"T",
1283 "args": ["T volatile *", "T"],
1284 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1285 "variadic":true
1286 },
1287 "__sync_fetch_and_xor": {
1288 "rettype":"T",
1289 "args": ["T volatile *", "T"],
1290 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1291 "variadic":true
1292 },
1293 "__sync_lock_release": {
1294 "rettype":"void",
1295 "args": ["T volatile *"],
1296 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1297 "variadic":true
1298 },
1299 "__sync_lock_test_and_set": {
1300 "rettype":"T",
1301 "args": ["T volatile *", "T"],
1302 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1303 "variadic":true
1304 },
1305 "__sync_nand_and_fetch": {
1306 "rettype":"T",
1307 "args": ["T volatile *", "T"],
1308 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1309 "variadic":true
1310 },
1311 "__sync_or_and_fetch": {
1312 "rettype":"T",
1313 "args": ["T volatile *", "T"],
1314 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1315 "variadic":true
1316 },
1317 "__sync_sub_and_fetch": {
1318 "rettype":"T",
1319 "args": ["T volatile *", "T"],
1320 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1321 "variadic":true
1322 },
1323 "__sync_val_compare_and_swap": {
1324 "rettype":"T",
1325 "args": ["T volatile *","T","T"],
1326 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1327 "variadic":true
1328 },
1329 "__sync_xor_and_fetch": {
1330 "rettype":"T",
1331 "args": ["T volatile *", "T"],
1332 "types":["int8_t", "int16_t", "int32_t", "int64_t", "uint8_t", "uint16_t", "uint32_t", "uint64_t"],
1333 "variadic":true
1334 }
1335 }
1336 }