diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-24 21:00:36 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-24 21:00:36 +0000 |
commit | 8d32463a9fa2aba9de552350a5019099edf0b90d (patch) | |
tree | 00c84e992a2e6cd6ec09bf0b359c31139bfc7ee0 /include/llvm/Target | |
parent | 23a62cbaf5ea046c8f6e5581c460f8618396d6eb (diff) | |
download | external_llvm-8d32463a9fa2aba9de552350a5019099edf0b90d.zip external_llvm-8d32463a9fa2aba9de552350a5019099edf0b90d.tar.gz external_llvm-8d32463a9fa2aba9de552350a5019099edf0b90d.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetLibraryInfo.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h index 0b7bc05..83a8293 100644 --- a/include/llvm/Target/TargetLibraryInfo.h +++ b/include/llvm/Target/TargetLibraryInfo.h @@ -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); |