mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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,
|
||||
/// 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
Block a user