forked from OSchip/llvm-project
add a few more functions to TargetLibraryInfo:
fputc, memchr, memcmp, putchar, puts, strchr, strncmp llvm-svn: 160690
This commit is contained in:
parent
52cb218149
commit
342cf787ef
|
@ -104,6 +104,8 @@ namespace llvm {
|
|||
fmodl,
|
||||
/// float fmodf(float x, float y);
|
||||
fmodf,
|
||||
/// int fputc(int c, FILE *stream);
|
||||
fputc,
|
||||
/// int fputs(const char *s, FILE *stream);
|
||||
fputs,
|
||||
/// size_t fwrite(const void *ptr, size_t size, size_t nitems,
|
||||
|
@ -135,6 +137,10 @@ namespace llvm {
|
|||
log1pl,
|
||||
/// float log1pf(float x);
|
||||
log1pf,
|
||||
/// void *memchr(const void *s, int c, size_t n);
|
||||
memchr,
|
||||
/// int memcmp(const void *s1, const void *s2, size_t n);
|
||||
memcmp,
|
||||
/// void *memcpy(void *s1, const void *s2, size_t n);
|
||||
memcpy,
|
||||
/// void *memmove(void *s1, const void *s2, size_t n);
|
||||
|
@ -155,6 +161,10 @@ namespace llvm {
|
|||
powf,
|
||||
/// long double powl(long double x, long double y);
|
||||
powl,
|
||||
/// int putchar(int c);
|
||||
putchar,
|
||||
/// int puts(const char *s);
|
||||
puts,
|
||||
/// double rint(double x);
|
||||
rint,
|
||||
/// float rintf(float x);
|
||||
|
@ -189,12 +199,16 @@ namespace llvm {
|
|||
sqrtf,
|
||||
/// char *strcat(char *s1, const char *s2);
|
||||
strcat,
|
||||
/// char *strchr(const char *s, int c);
|
||||
strchr,
|
||||
/// char *strcpy(char *s1, const char *s2);
|
||||
strcpy,
|
||||
/// size_t strlen(const char *s);
|
||||
strlen,
|
||||
/// char *strncat(char *s1, const char *s2, size_t n);
|
||||
strncat,
|
||||
/// int strncmp(const char *s1, const char *s2, size_t n);
|
||||
strncmp,
|
||||
/// char *strncpy(char *s1, const char *s2, size_t n);
|
||||
strncpy,
|
||||
/// size_t strnlen(const char *s, size_t maxlen);
|
||||
|
|
|
@ -67,6 +67,7 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||
"fmod",
|
||||
"fmodl",
|
||||
"fmodf",
|
||||
"fputc",
|
||||
"fputs",
|
||||
"fwrite",
|
||||
"iprintf",
|
||||
|
@ -82,6 +83,8 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||
"log1p",
|
||||
"log1pl",
|
||||
"log1pf",
|
||||
"memchr",
|
||||
"memcmp",
|
||||
"memcpy",
|
||||
"memmove",
|
||||
"memset",
|
||||
|
@ -92,6 +95,8 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||
"pow",
|
||||
"powf",
|
||||
"powl",
|
||||
"putchar",
|
||||
"puts",
|
||||
"rint",
|
||||
"rintf",
|
||||
"rintl",
|
||||
|
@ -109,9 +114,11 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||
"sqrtl",
|
||||
"sqrtf",
|
||||
"strcat",
|
||||
"strchr",
|
||||
"strcpy",
|
||||
"strlen",
|
||||
"strncat",
|
||||
"strncmp",
|
||||
"strncpy",
|
||||
"strnlen",
|
||||
"tan",
|
||||
|
|
Loading…
Reference in New Issue