mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-23 01:30:19 +00:00
add a few more functions to TargetLibraryInfo:
fputc, memchr, memcmp, putchar, puts, strchr, strncmp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
23a62cbaf5
commit
8d32463a9f
@ -104,6 +104,8 @@ namespace llvm {
|
|||||||
fmodl,
|
fmodl,
|
||||||
/// float fmodf(float x, float y);
|
/// float fmodf(float x, float y);
|
||||||
fmodf,
|
fmodf,
|
||||||
|
/// int fputc(int c, FILE *stream);
|
||||||
|
fputc,
|
||||||
/// int fputs(const char *s, FILE *stream);
|
/// int fputs(const char *s, FILE *stream);
|
||||||
fputs,
|
fputs,
|
||||||
/// size_t fwrite(const void *ptr, size_t size, size_t nitems,
|
/// size_t fwrite(const void *ptr, size_t size, size_t nitems,
|
||||||
@ -135,6 +137,10 @@ namespace llvm {
|
|||||||
log1pl,
|
log1pl,
|
||||||
/// float log1pf(float x);
|
/// float log1pf(float x);
|
||||||
log1pf,
|
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);
|
/// void *memcpy(void *s1, const void *s2, size_t n);
|
||||||
memcpy,
|
memcpy,
|
||||||
/// void *memmove(void *s1, const void *s2, size_t n);
|
/// void *memmove(void *s1, const void *s2, size_t n);
|
||||||
@ -155,6 +161,10 @@ namespace llvm {
|
|||||||
powf,
|
powf,
|
||||||
/// long double powl(long double x, long double y);
|
/// long double powl(long double x, long double y);
|
||||||
powl,
|
powl,
|
||||||
|
/// int putchar(int c);
|
||||||
|
putchar,
|
||||||
|
/// int puts(const char *s);
|
||||||
|
puts,
|
||||||
/// double rint(double x);
|
/// double rint(double x);
|
||||||
rint,
|
rint,
|
||||||
/// float rintf(float x);
|
/// float rintf(float x);
|
||||||
@ -189,12 +199,16 @@ namespace llvm {
|
|||||||
sqrtf,
|
sqrtf,
|
||||||
/// char *strcat(char *s1, const char *s2);
|
/// char *strcat(char *s1, const char *s2);
|
||||||
strcat,
|
strcat,
|
||||||
|
/// char *strchr(const char *s, int c);
|
||||||
|
strchr,
|
||||||
/// char *strcpy(char *s1, const char *s2);
|
/// char *strcpy(char *s1, const char *s2);
|
||||||
strcpy,
|
strcpy,
|
||||||
/// size_t strlen(const char *s);
|
/// size_t strlen(const char *s);
|
||||||
strlen,
|
strlen,
|
||||||
/// char *strncat(char *s1, const char *s2, size_t n);
|
/// char *strncat(char *s1, const char *s2, size_t n);
|
||||||
strncat,
|
strncat,
|
||||||
|
/// int strncmp(const char *s1, const char *s2, size_t n);
|
||||||
|
strncmp,
|
||||||
/// char *strncpy(char *s1, const char *s2, size_t n);
|
/// char *strncpy(char *s1, const char *s2, size_t n);
|
||||||
strncpy,
|
strncpy,
|
||||||
/// size_t strnlen(const char *s, size_t maxlen);
|
/// size_t strnlen(const char *s, size_t maxlen);
|
||||||
|
@ -67,6 +67,7 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||||||
"fmod",
|
"fmod",
|
||||||
"fmodl",
|
"fmodl",
|
||||||
"fmodf",
|
"fmodf",
|
||||||
|
"fputc",
|
||||||
"fputs",
|
"fputs",
|
||||||
"fwrite",
|
"fwrite",
|
||||||
"iprintf",
|
"iprintf",
|
||||||
@ -82,6 +83,8 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||||||
"log1p",
|
"log1p",
|
||||||
"log1pl",
|
"log1pl",
|
||||||
"log1pf",
|
"log1pf",
|
||||||
|
"memchr",
|
||||||
|
"memcmp",
|
||||||
"memcpy",
|
"memcpy",
|
||||||
"memmove",
|
"memmove",
|
||||||
"memset",
|
"memset",
|
||||||
@ -92,6 +95,8 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||||||
"pow",
|
"pow",
|
||||||
"powf",
|
"powf",
|
||||||
"powl",
|
"powl",
|
||||||
|
"putchar",
|
||||||
|
"puts",
|
||||||
"rint",
|
"rint",
|
||||||
"rintf",
|
"rintf",
|
||||||
"rintl",
|
"rintl",
|
||||||
@ -109,9 +114,11 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
|||||||
"sqrtl",
|
"sqrtl",
|
||||||
"sqrtf",
|
"sqrtf",
|
||||||
"strcat",
|
"strcat",
|
||||||
|
"strchr",
|
||||||
"strcpy",
|
"strcpy",
|
||||||
"strlen",
|
"strlen",
|
||||||
"strncat",
|
"strncat",
|
||||||
|
"strncmp",
|
||||||
"strncpy",
|
"strncpy",
|
||||||
"strnlen",
|
"strnlen",
|
||||||
"tan",
|
"tan",
|
||||||
|
Loading…
Reference in New Issue
Block a user