brintos

brintos / llvm-project-archived public Read only

0
0
Text · 7.9 KiB · e899bf9 Raw
311 lines · plain
1set(TARGET_LIBC_ENTRYPOINTS2    # ctype.h entrypoints3    libc.src.ctype.isalnum4    libc.src.ctype.isalpha5    libc.src.ctype.isascii6    libc.src.ctype.isblank7    libc.src.ctype.iscntrl8    libc.src.ctype.isdigit9    libc.src.ctype.isgraph10    libc.src.ctype.islower11    libc.src.ctype.isprint12    libc.src.ctype.ispunct13    libc.src.ctype.isspace14    libc.src.ctype.isupper15    libc.src.ctype.isxdigit16    libc.src.ctype.toascii17    libc.src.ctype.tolower18    libc.src.ctype.toupper19 20    # search.h entrypoints21    libc.src.search.lfind22 23    # string.h entrypoints24    libc.src.string.memccpy25    libc.src.string.memchr26    libc.src.string.memcmp27    libc.src.string.memcpy28    libc.src.string.memmem29    libc.src.string.memmove30    libc.src.string.mempcpy31    libc.src.string.memrchr32    libc.src.string.memset33    libc.src.string.stpcpy34    libc.src.string.stpncpy35    libc.src.string.strcat36    libc.src.string.strchr37    libc.src.string.strchrnul38    libc.src.string.strcmp39    libc.src.string.strcpy40    libc.src.string.strcspn41    libc.src.string.strlcat42    libc.src.string.strlcpy43    libc.src.string.strlen44    libc.src.string.strncat45    libc.src.string.strncmp46    libc.src.string.strncpy47    libc.src.string.strnlen48    libc.src.string.strpbrk49    libc.src.string.strrchr50    libc.src.string.strspn51    libc.src.string.strstr52    libc.src.string.strtok53    libc.src.string.strtok_r54 55    # string.h entrypoints that depend on malloc56    libc.src.string.strdup57    libc.src.string.strndup58 59    # strings.h entrypoints60    libc.src.strings.bcmp61    libc.src.strings.bzero62 63    # inttypes.h entrypoints64    libc.src.inttypes.imaxabs65    libc.src.inttypes.imaxdiv66    libc.src.inttypes.strtoimax67    libc.src.inttypes.strtoumax68 69    # stdlib.h entrypoints70    libc.src.stdlib.abs71    libc.src.stdlib.atoi72    libc.src.stdlib.atof73    libc.src.stdlib.atol74    libc.src.stdlib.atoll75    libc.src.stdlib.bsearch76    libc.src.stdlib.div77    libc.src.stdlib.labs78    libc.src.stdlib.ldiv79    libc.src.stdlib.llabs80    libc.src.stdlib.lldiv81    libc.src.stdlib.memalignment82    libc.src.stdlib.qsort83    libc.src.stdlib.strtod84    libc.src.stdlib.strtof85    libc.src.stdlib.strtol86    libc.src.stdlib.strtold87    libc.src.stdlib.strtoll88    libc.src.stdlib.strtoul89    libc.src.stdlib.strtoull90 91    # stdlib.h external entrypoints92    libc.src.stdlib.malloc93    libc.src.stdlib.calloc94    libc.src.stdlib.realloc95    libc.src.stdlib.free96)97 98set(TARGET_LIBM_ENTRYPOINTS99    # fenv disabled on x86_64 MacOS for now.100    # # fenv.h entrypoints101    # libc.src.fenv.feclearexcept102    # libc.src.fenv.fedisableexcept103    # libc.src.fenv.feenableexcept104    # libc.src.fenv.fegetenv105    # libc.src.fenv.fegetexcept106    # libc.src.fenv.fegetexceptflag107    # libc.src.fenv.fegetround108    # libc.src.fenv.feholdexcept109    # libc.src.fenv.fesetenv110    # libc.src.fenv.fesetexcept111    # libc.src.fenv.fesetexceptflag112    # libc.src.fenv.fesetround113    # libc.src.fenv.feraiseexcept114    # libc.src.fenv.fetestexcept115    # libc.src.fenv.fetestexceptflag116    # libc.src.fenv.feupdateenv117 118    ## Currently disabled for failing tests.119    # math.h entrypoints120    #libc.src.math.copysign121    #libc.src.math.copysignf122    #libc.src.math.copysignl123    #libc.src.math.ceil124    #libc.src.math.ceilf125    #libc.src.math.ceill126    #libc.src.math.coshf127    #libc.src.math.cosf128    #libc.src.math.daddl129    #libc.src.math.ddivl130    #libc.src.math.dfmal131    #libc.src.math.dsqrtl132    #libc.src.math.dsubl133    #libc.src.math.expf134    #libc.src.math.exp2f135    #libc.src.math.expm1f136    #libc.src.math.fabs137    #libc.src.math.fabsf138    #libc.src.math.fabsl139    #libc.src.math.fdim140    #libc.src.math.fdimf141    #libc.src.math.fdiml142    #libc.src.math.fdiv143    #libc.src.math.fdivl144    #libc.src.math.ffma145    #libc.src.math.ffmal146    #libc.src.math.floor147    #libc.src.math.floorf148    #libc.src.math.floorl149    #libc.src.math.fma150    #libc.src.math.fmaf151    #libc.src.math.fmax152    #libc.src.math.fmaxf153    #libc.src.math.fmaxl154    #libc.src.math.fmin155    #libc.src.math.fminf156    #libc.src.math.fminl157    #libc.src.math.fmod158    #libc.src.math.fmodf159    #libc.src.math.frexp160    #libc.src.math.frexpf161    #libc.src.math.frexpl162    #libc.src.math.fsub163    #libc.src.math.fsubl164    #libc.src.math.hypot165    #libc.src.math.hypotf166    #libc.src.math.ilogb167    #libc.src.math.ilogbf168    #libc.src.math.ilogbl169    #libc.src.math.llrint170    #libc.src.math.llrintf171    #libc.src.math.llrintl172    #libc.src.math.llround173    #libc.src.math.llroundf174    #libc.src.math.llroundl175    #libc.src.math.lrint176    #libc.src.math.lrintf177    #libc.src.math.lrintl178    #libc.src.math.lround179    #libc.src.math.lroundf180    #libc.src.math.lroundl181    #libc.src.math.ldexp182    #libc.src.math.ldexpf183    #libc.src.math.ldexpl184    #libc.src.math.log10f185    #libc.src.math.log1pf186    #libc.src.math.log2f187    #libc.src.math.logf188    #libc.src.math.logb189    #libc.src.math.logbf190    #libc.src.math.logbl191    #libc.src.math.modf192    #libc.src.math.modff193    #libc.src.math.modfl194    #libc.src.math.nan195    #libc.src.math.nanf196    #libc.src.math.nanl197    #libc.src.math.nearbyint198    #libc.src.math.nearbyintf199    #libc.src.math.nearbyintl200    #libc.src.math.nextafter201    #libc.src.math.nextafterf202    #libc.src.math.nextafterl203    #libc.src.math.nexttoward204    #libc.src.math.nexttowardf205    #libc.src.math.nexttowardl206    #libc.src.math.remainderf207    #libc.src.math.remainder208    #libc.src.math.remainderl209    #libc.src.math.remquof210    #libc.src.math.remquo211    #libc.src.math.remquol212    #libc.src.math.rint213    #libc.src.math.rintf214    #libc.src.math.rintl215    #libc.src.math.round216    #libc.src.math.roundf217    #libc.src.math.roundl218    #libc.src.math.sincosf219    #libc.src.math.sinhf220    #libc.src.math.sinf221    #libc.src.math.sqrt222    #libc.src.math.sqrtf223    #libc.src.math.sqrtl224    #libc.src.math.tanf225    #libc.src.math.tanhf226    #libc.src.math.totalordermag227    #libc.src.math.totalordermagf228    #libc.src.math.totalordermagl229    #libc.src.math.trunc230    #libc.src.math.truncf231    #libc.src.math.truncl232)233 234list(APPEND TARGET_LIBM_ENTRYPOINTS235  # bfloat16 entrypoints236  libc.src.math.bf16add237  libc.src.math.bf16addf238  libc.src.math.bf16addl239  libc.src.math.bf16div240  libc.src.math.bf16divf241  libc.src.math.bf16divl242  libc.src.math.bf16fma243  libc.src.math.bf16fmaf244  libc.src.math.bf16fmal245  libc.src.math.bf16mul246  libc.src.math.bf16mulf247  libc.src.math.bf16mull248  libc.src.math.bf16sub249  libc.src.math.bf16subf250  libc.src.math.bf16subl251  libc.src.math.canonicalizebf16252  libc.src.math.ceilbf16253  libc.src.math.copysignbf16254  libc.src.math.fabsbf16255  libc.src.math.fdimbf16256  libc.src.math.floorbf16257  libc.src.math.fmaxbf16258  libc.src.math.fmaximumbf16259  libc.src.math.fmaximum_magbf16260  libc.src.math.fmaximum_mag_numbf16261  libc.src.math.fmaximum_numbf16262  libc.src.math.fminbf16263  libc.src.math.fminimumbf16264  libc.src.math.fminimum_magbf16265  libc.src.math.fminimum_mag_numbf16266  libc.src.math.fminimum_numbf16267  libc.src.math.fmodbf16268  libc.src.math.frexpbf16269  libc.src.math.fromfpbf16270  libc.src.math.fromfpxbf16271  libc.src.math.getpayloadbf16272  libc.src.math.ilogbbf16273  libc.src.math.iscanonicalbf16274  libc.src.math.issignalingbf16275  libc.src.math.ldexpbf16276  libc.src.math.llogbbf16277  libc.src.math.llrintbf16278  libc.src.math.llroundbf16279  libc.src.math.log_bf16280  libc.src.math.logbbf16281  libc.src.math.lrintbf16282  libc.src.math.lroundbf16283  libc.src.math.modfbf16284  libc.src.math.nanbf16285  libc.src.math.nearbyintbf16286  libc.src.math.nextafterbf16287  libc.src.math.nextdownbf16288  libc.src.math.nexttowardbf16289  libc.src.math.nextupbf16290  libc.src.math.remainderbf16291  libc.src.math.remquobf16292  libc.src.math.rintbf16293  libc.src.math.roundbf16294  libc.src.math.roundevenbf16295  libc.src.math.scalblnbf16296  libc.src.math.scalbnbf16297  libc.src.math.setpayloadbf16298  libc.src.math.setpayloadsigbf16299  libc.src.math.sqrtbf16300  libc.src.math.truncbf16301  libc.src.math.totalorderbf16302  libc.src.math.totalordermagbf16303  libc.src.math.ufromfpbf16304  libc.src.math.ufromfpxbf16305)306 307set(TARGET_LLVMLIBC_ENTRYPOINTS308  ${TARGET_LIBC_ENTRYPOINTS}309  ${TARGET_LIBM_ENTRYPOINTS}310)311