10 #ifndef LLVM_TARGET_TARGETLIBRARYINFO_H
11 #define LLVM_TARGET_TARGETLIBRARYINFO_H
658 virtual void anchor();
663 enum AvailabilityState {
669 AvailableArray[F/4] &= ~(3 << 2*(F&3));
670 AvailableArray[F/4] |= State << 2*(F&3);
673 return static_cast<AvailabilityState
>((AvailableArray[F/4] >> 2*(F&3)) & 3);
689 return getState(F) != Unavailable;
695 if (getState(F) == Unavailable)
723 AvailabilityState State = getState(F);
724 if (State == Unavailable)
726 if (State == StandardName)
727 return StandardNames[
F];
728 assert(State == CustomName);
729 return CustomNames.
find(F)->second;
735 setState(F, Unavailable);
739 setState(F, StandardName);
743 if (StandardNames[F] != Name) {
744 setState(F, CustomName);
745 CustomNames[
F] =
Name;
746 assert(CustomNames.
find(F) != CustomNames.
end());
748 setState(F, StandardName);
void flockfile(FILE *file);
int strcmp(const char *s1, const char *s2);
int fseeko(FILE *stream, off_t offset, int whence);
long ftell(FILE *stream);
int uname(struct utsname *name);
int sscanf(const char *s, const char *format, ... );
size_t fread(void *ptr, size_t size, size_t nitems, FILE *stream);
int sprintf(char *str, const char *format, ...);
void bcopy(const void *s1, void *s2, size_t n);
void *memcpy(void *s1, const void *s2, size_t n);
int fstatvfs64(int fildes, struct statvfs64 *buf);
char *__strndup(const char *s, size_t n);
int chmod(const char *path, mode_t mode);
long double tanl(long double x);
int fstat(int fildes, struct stat *buf);
char *strpbrk(const char *s1, const char *s2);
off64_t ftello64(FILE *stream)
int fstat64(int filedes, struct stat64 *buf)
void funlockfile(FILE *file);
FILE *fdopen(int fildes, const char *mode);.
int printf(const char *format, ...);
long double copysignl(long double x, long double y);
int strncasecmp(const char *s1, const char *s2, size_t n);
void setUnavailable(LibFunc::Func F)
long int strtol(const char *nptr, char **endptr, int base);
long double rintl(long double x);
long double truncl(long double x);
int lstat64(const char *path, struct stat64 *buf);
int open(const char *path, int oflag, ... );
DIR *opendir(const char *dirname);.
double frexp(double num, int *exp);
float strtof(const char *nptr, char **endptr);
long double sinl(long double x);
void setAvailableWithName(LibFunc::Func F, StringRef Name)
double __sinpi(double x);
long double logbl(long double x);
float modff(float, float *iptr);
int putc(int c, FILE *stream);
long double expl(long double x);
double nearbyint(double x);
char *strcat(char *s1, const char *s2);
void *reallocf(void *ptr, size_t size);
FILE *fopen(const char *filename, const char *mode);.
size_t strnlen(const char *s, size_t maxlen);
void *new(unsigned int, nothrow);
void operator delete[](void*, nothrow);
float atan2f(float y, float x);
int __isoc99_sscanf(const char *s, const char *format, ...)
ssize_t read(int fildes, void *buf, size_t nbyte);
double __sqrt_finite(double x);
int fclose(FILE *stream);
float __sqrt_finite(float x);
double strtod(const char *nptr, char **endptr);
long double nearbyintl(long double x);
long double roundl(long double x);
long double coshl(long double x);
long double __sqrt_finite(long double x);
long double fabsl(long double x);
int access(const char *path, int amode);
char *fgets(char *s, int n, FILE *stream);
long double frexpl(long double num, int *exp);
long double cosl(long double x);
int posix_memalign(void **memptr, size_t alignment, size_t size);
int ftrylockfile(FILE *file);
long double asinl(long double x);
uint32_t ntohl(uint32_t netlong);
int _IO_getc(_IO_FILE * __fp);
bool getLibFunc(StringRef funcName, LibFunc::Func &F) const
double __sincospi_stret(double x);
off_t ftello(FILE *stream);
bool has(LibFunc::Func F) const
bool hasOptimizedCodeGen(LibFunc::Func F) const
double copysign(double x, double y);
void operator delete[](void*);
double modf(double x, double *iptr);
double atof(const char *str);
void operator delete(void*);
char *strchr(const char *s, int c);
long double acoshl(long double x);
int gettimeofday(struct timeval *tp, void *tzp);
int strcoll(const char *s1, const char *s2);
ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset);
int __cxa_atexit(void (*f)(void *), void *p, void *d);
int atoi(const char *str);
int statvfs(const char *path, struct statvfs *buf);
long long atoll(const char *nptr);
ssize_t readlink(const char *path, char *buf, size_t bufsize);
int system(const char *command);
long long int strtoll(const char *nptr, char **endptr, int base);
size_t strxfrm(char *s1, const char *s2, size_t n);
long double asinhl(long double x);
char *stpncpy(char *s1, const char *s2, size_t n);
int rename(const char *old, const char *new);
double fmod(double x, double y);
int ungetc(int c, FILE *stream);
char *strndup(const char *s1, size_t n);
float fmodf(float x, float y);
int rmdir(const char *path);
void *new[](unsigned int);
int vprintf(const char *restrict format, va_list ap);
void memset_pattern16(void *b, const void *pattern16, size_t len);
int memcmp(const void *s1, const void *s2, size_t n);
char *realpath(const char *file_name, char *resolved_name);
int setvbuf(FILE *stream, char *buf, int type, size_t size);
char *strrchr(const char *s, int c);
long double sinhl(long double x);
int vfprintf(FILE *stream, const char *format, va_list ap);
int pclose(FILE *stream);
void *new(unsigned long);
long double cbrtl(long double x);
int lstat(const char *path, struct stat *buf);
void clearerr(FILE *stream);
long double floorl(long double x);
uint16_t ntohs(uint16_t netshort);
int getitimer(int which, struct itimerval *value);
int vsnprintf(char *s, size_t n, const char *format, va_list ap);
int __cxa_guard_acquire(guard_t *guard);
int fstatvfs(int fildes, struct statvfs *buf);
int bcmp(const void *s1, const void *s2, size_t n);
int fgetpos(FILE *stream, fpos_t *pos);
int fsetpos(FILE *stream, const fpos_t *pos);
void *realloc(void *ptr, size_t size);
long double exp10l(long double x);
int utimes(const char *path, const struct timeval times[2]);
int vfscanf(FILE *stream, const char *format, va_list arg);
long double strtold(const char *nptr, char **endptr);
int fseeko64(FILE *stream, off64_t offset, int whence)
int unlink(const char *path);
float __sincospi_stretf(float x);
void *valloc(size_t size);
int snprintf(char *s, size_t n, const char *format, ...);
double pow(double x, double y);
float frexpf(float num, int *exp);
void *new[](unsigned int, nothrow);
void *memchr(const void *s, int c, size_t n);
float nearbyintf(float x);
void perror(const char *s);
int _IO_putc(int __c, _IO_FILE * __fp);
void *memmove(void *s1, const void *s2, size_t n);
uint16_t htons(uint16_t hostshort);
int mkdir(const char *path, mode_t mode);
void *new[](unsigned long);
void *new[](unsigned long, nothrow);
char *strstr(const char *s1, const char *s2);
FILE *fopen64(const char *filename, const char *opentype)
long double expm1l(long double x);
int stat(const char *path, struct stat *buf);
int fputs(const char *s, FILE *stream);
clock_t times(struct tms *buffer);
int stat64(const char *path, struct stat64 *buf);
char *strdup(const char *s1);
char * __strdup(const char *s);
void setbuf(FILE *stream, char *buf);
int getc_unlocked(FILE *stream);
int chown(const char *path, uid_t owner, gid_t group);
long double tanhl(long double x);
char *strncat(char *s1, const char *s2, size_t n);
void *__memcpy_chk(void *s1, const void *s2, size_t n, size_t s1size);
int fiprintf(FILE *stream, const char *format, ...);
long double log10l(long double x);
struct passwd *getpwnam(const char *name);
int fprintf(FILE *stream, const char *format, ...);
int vsprintf(char *s, const char *format, va_list ap);
long double atan2l(long double y, long double x);
void *memccpy(void *s1, const void *s2, int c, size_t n);
size_t strcspn(const char *s1, const char *s2);
long double atanl(long double x);
unsigned long int strtoul(const char *nptr, char **endptr, int base);
long int labs(long int j);
int fflush(FILE *stream);
void *memset(void *b, int c, size_t len);
size_t strlen(const char *s);
char *stpcpy(char *s1, const char *s2);
int ffsll(long long int i);
double long double log2l(long double x);
void rewind(FILE *stream);
long double logl(long double x);
int open64(const char *filename, int flags[, mode_t mode])
long double log1pl(long double x);
float powf(float x, float y);
FILE *popen(const char *command, const char *mode);.
int statvfs64(const char *path, struct statvfs64 *buf)
long double acosl(long double x);
int fscanf(FILE *stream, const char *format, ... );
int vsscanf(const char *s, const char *format, va_list arg);
int fputc(int c, FILE *stream);
ssize_t write(int fildes, const void *buf, size_t nbyte);
long double atanhl(long double x);
double __cospi(double x);
long double ceill(long double x);
int unsetenv(const char *name);
int ferror(FILE *stream);
void *malloc(size_t size);
StringRef getName(LibFunc::Func F) const
void *new(unsigned long, nothrow);
int fseek(FILE *stream, long offset, int whence);
int utime(const char *path, const struct utimbuf *times);
char * __strtok_r(char *s, const char *delim, char **save_ptr);
void bzero(void *s, size_t n);
long double fmodl(long double x, long double y);
long double modfl(long double value, long double *iptr);
long long int llabs(long long int j);
int strcasecmp(const char *s1, const char *s2);
int getlogin_r(char *name, size_t namesize);
int fileno(FILE *stream);
void setAvailable(LibFunc::Func F)
int lchown(const char *path, uid_t owner, gid_t group);
double atan2(double y, double x);
void operator delete(void*, nothrow);
long double exp2l(long double x);
time_t mktime(struct tm *timeptr);
int scanf(const char *restrict format, ... );
char *strcpy(char *s1, const char *s2);
void *memalign(size_t boundary, size_t size);
int siprintf(char *str, const char *format, ...);
int __isoc99_scanf (const char *format, ...)
int strncmp(const char *s1, const char *s2, size_t n);
int vscanf(const char *format, va_list arg);
void __cxa_guard_release(guard_t *guard);
iterator find(const KeyT &Val)
long double powl(long double x, long double y);
char *getenv(const char *name);
float copysignf(float x, float y);
uint32_t htonl(uint32_t hostlong);
void *calloc(size_t count, size_t size);
int iprintf(const char *format, ...);
size_t strspn(const char *s1, const char *s2);
long double sqrtl(long double x);
void disableAllFunctions()
long atol(const char *str);
char *strncpy(char *s1, const char *s2, size_t n);