xref: /llvm-project/libc/config/darwin/arm/entrypoints.txt (revision 431ea2d076f8a5ca35b2c293dd5d62f5ce083f45)
1set(TARGET_LIBC_ENTRYPOINTS
2    # ctype.h entrypoints
3    libc.src.ctype.isalnum
4    libc.src.ctype.isalpha
5    libc.src.ctype.isascii
6    libc.src.ctype.isblank
7    libc.src.ctype.iscntrl
8    libc.src.ctype.isdigit
9    libc.src.ctype.isgraph
10    libc.src.ctype.islower
11    libc.src.ctype.isprint
12    libc.src.ctype.ispunct
13    libc.src.ctype.isspace
14    libc.src.ctype.isupper
15    libc.src.ctype.isxdigit
16    libc.src.ctype.toascii
17    libc.src.ctype.tolower
18    libc.src.ctype.toupper
19
20    # errno.h entrypoints
21    libc.src.errno.errno
22
23    # string.h entrypoints
24    libc.src.string.memccpy
25    libc.src.string.memchr
26    libc.src.string.memcmp
27    libc.src.string.memcpy
28    libc.src.string.memmem
29    libc.src.string.memmove
30    libc.src.string.mempcpy
31    libc.src.string.memrchr
32    libc.src.string.memset
33    libc.src.string.stpcpy
34    libc.src.string.stpncpy
35    libc.src.string.strcasestr
36    libc.src.string.strcat
37    libc.src.string.strchr
38    libc.src.string.strchrnul
39    libc.src.string.strcmp
40    libc.src.string.strcpy
41    libc.src.string.strcspn
42    libc.src.string.strlcat
43    libc.src.string.strlcpy
44    libc.src.string.strlen
45    libc.src.string.strncat
46    libc.src.string.strncmp
47    libc.src.string.strncpy
48    libc.src.string.strnlen
49    libc.src.string.strpbrk
50    libc.src.string.strrchr
51    libc.src.string.strspn
52    libc.src.string.strstr
53    libc.src.string.strtok
54    libc.src.string.strtok_r
55
56    # string.h entrypoints that depend on malloc
57    libc.src.string.strdup
58    libc.src.string.strndup
59
60    # strings.h entrypoints
61    libc.src.strings.bcmp
62    libc.src.strings.bcopy
63    libc.src.strings.bzero
64    libc.src.strings.strcasecmp
65    libc.src.strings.strncasecmp
66
67    # inttypes.h entrypoints
68    libc.src.inttypes.imaxabs
69    libc.src.inttypes.imaxdiv
70    libc.src.inttypes.strtoimax
71    libc.src.inttypes.strtoumax
72
73    # stdlib.h entrypoints
74    libc.src.stdlib.abs
75    libc.src.stdlib.atoi
76    libc.src.stdlib.atof
77    libc.src.stdlib.atol
78    libc.src.stdlib.atoll
79    libc.src.stdlib.bsearch
80    libc.src.stdlib.div
81    libc.src.stdlib.labs
82    libc.src.stdlib.ldiv
83    libc.src.stdlib.llabs
84    libc.src.stdlib.lldiv
85    libc.src.stdlib.qsort
86    libc.src.stdlib.rand
87    libc.src.stdlib.srand
88    libc.src.stdlib.strtod
89    libc.src.stdlib.strtof
90    libc.src.stdlib.strtol
91    libc.src.stdlib.strtold
92    libc.src.stdlib.strtoll
93    libc.src.stdlib.strtoul
94    libc.src.stdlib.strtoull
95
96    # stdlib.h external entrypoints
97    libc.src.stdlib.malloc
98    libc.src.stdlib.calloc
99    libc.src.stdlib.realloc
100    libc.src.stdlib.free
101)
102
103set(TARGET_LIBM_ENTRYPOINTS
104    # fenv.h entrypoints
105    libc.src.fenv.feclearexcept
106    libc.src.fenv.fedisableexcept
107    libc.src.fenv.feenableexcept
108    libc.src.fenv.fegetenv
109    libc.src.fenv.fegetexcept
110    libc.src.fenv.fegetexceptflag
111    libc.src.fenv.fegetround
112    libc.src.fenv.feholdexcept
113    libc.src.fenv.fesetenv
114    libc.src.fenv.fesetexcept
115    libc.src.fenv.fesetexceptflag
116    libc.src.fenv.fesetround
117    libc.src.fenv.feraiseexcept
118    libc.src.fenv.fetestexcept
119    libc.src.fenv.fetestexceptflag
120    libc.src.fenv.feupdateenv
121
122    # math.h entrypoints
123    libc.src.math.acosf
124    libc.src.math.acoshf
125    libc.src.math.asinf
126    libc.src.math.asinhf
127    libc.src.math.atan2
128    libc.src.math.atan2f
129    libc.src.math.atanf
130    libc.src.math.atanhf
131    libc.src.math.cbrt
132    libc.src.math.cbrtf
133    libc.src.math.copysign
134    libc.src.math.copysignf
135    libc.src.math.copysignl
136    libc.src.math.ceil
137    libc.src.math.ceilf
138    libc.src.math.ceill
139    libc.src.math.coshf
140    libc.src.math.cos
141    libc.src.math.cosf
142    libc.src.math.cospif
143    libc.src.math.dfmal
144    libc.src.math.dsqrtl
145    libc.src.math.ddivl
146    libc.src.math.erff
147    libc.src.math.exp
148    libc.src.math.expf
149    libc.src.math.exp10
150    libc.src.math.exp10f
151    libc.src.math.exp2
152    libc.src.math.exp2f
153    libc.src.math.expm1
154    libc.src.math.expm1f
155    libc.src.math.fabs
156    libc.src.math.fabsf
157    libc.src.math.fabsl
158    libc.src.math.fdim
159    libc.src.math.fdimf
160    libc.src.math.fdiml
161    libc.src.math.fdiv
162    libc.src.math.fdivl
163    libc.src.math.ffma
164    libc.src.math.ffmal
165    libc.src.math.floor
166    libc.src.math.floorf
167    libc.src.math.floorl
168    libc.src.math.fma
169    libc.src.math.fmaf
170    libc.src.math.fmax
171    libc.src.math.fmaxf
172    libc.src.math.fmaxl
173    libc.src.math.fmin
174    libc.src.math.fminf
175    libc.src.math.fminl
176    libc.src.math.fmod
177    libc.src.math.fmodf
178    libc.src.math.fmul
179    libc.src.math.frexp
180    libc.src.math.frexpf
181    libc.src.math.frexpl
182    libc.src.math.fsub
183    libc.src.math.fsubl
184    libc.src.math.hypot
185    libc.src.math.hypotf
186    libc.src.math.ilogb
187    libc.src.math.ilogbf
188    libc.src.math.ilogbl
189    libc.src.math.llrint
190    libc.src.math.llrintf
191    libc.src.math.llrintl
192    libc.src.math.llround
193    libc.src.math.llroundf
194    libc.src.math.llroundl
195    libc.src.math.lrint
196    libc.src.math.lrintf
197    libc.src.math.lrintl
198    libc.src.math.lround
199    libc.src.math.lroundf
200    libc.src.math.lroundl
201    libc.src.math.ldexp
202    libc.src.math.ldexpf
203    libc.src.math.ldexpl
204    libc.src.math.log10
205    libc.src.math.log10f
206    libc.src.math.log1p
207    libc.src.math.log1pf
208    libc.src.math.log2
209    libc.src.math.log2f
210    libc.src.math.log
211    libc.src.math.logf
212    libc.src.math.logb
213    libc.src.math.logbf
214    libc.src.math.logbl
215    libc.src.math.modf
216    libc.src.math.modff
217    libc.src.math.modfl
218    libc.src.math.nan
219    libc.src.math.nanf
220    libc.src.math.nanl
221    libc.src.math.nearbyint
222    libc.src.math.nearbyintf
223    libc.src.math.nearbyintl
224    libc.src.math.nextafter
225    libc.src.math.nextafterf
226    libc.src.math.nextafterl
227    libc.src.math.nexttoward
228    libc.src.math.nexttowardf
229    libc.src.math.nexttowardl
230    libc.src.math.pow
231    libc.src.math.powf
232    libc.src.math.remainderf
233    libc.src.math.remainder
234    libc.src.math.remainderl
235    libc.src.math.remquof
236    libc.src.math.remquo
237    libc.src.math.remquol
238    libc.src.math.rint
239    libc.src.math.rintf
240    libc.src.math.rintl
241    libc.src.math.round
242    libc.src.math.roundf
243    libc.src.math.roundl
244    libc.src.math.scalbln
245    libc.src.math.scalblnf
246    libc.src.math.scalblnl
247    libc.src.math.scalbn
248    libc.src.math.scalbnf
249    libc.src.math.scalbnl
250    libc.src.math.sincos
251    libc.src.math.sincosf
252    libc.src.math.sinhf
253    libc.src.math.sin
254    libc.src.math.sinf
255    libc.src.math.sinpif
256    libc.src.math.sqrt
257    libc.src.math.sqrtf
258    libc.src.math.sqrtl
259    libc.src.math.tan
260    libc.src.math.tanf
261    libc.src.math.tanhf
262    libc.src.math.totalordermag
263    libc.src.math.totalordermagf
264    libc.src.math.totalordermagl
265    libc.src.math.trunc
266    libc.src.math.truncf
267    libc.src.math.truncl
268)
269
270set(TARGET_LLVMLIBC_ENTRYPOINTS
271  ${TARGET_LIBC_ENTRYPOINTS}
272  ${TARGET_LIBM_ENTRYPOINTS}
273)
274