mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
TargetLibraryInfo: add strn?cat, strn?cpy, and strn?len
llvm-svn: 160678
This commit is contained in:
parent
06ac861756
commit
aa177bbdbc
@ -187,6 +187,18 @@ namespace llvm {
|
||||
sqrtl,
|
||||
/// float sqrtf(float x);
|
||||
sqrtf,
|
||||
/// char *strcat(char *s1, const char *s2);
|
||||
strcat,
|
||||
/// 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,
|
||||
/// char *strncpy(char *s1, const char *s2, size_t n);
|
||||
strncpy,
|
||||
/// size_t strnlen(const char *s, size_t maxlen);
|
||||
strnlen,
|
||||
/// double tan(double x);
|
||||
tan,
|
||||
/// long double tanl(long double x);
|
||||
|
@ -108,6 +108,12 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
|
||||
"sqrt",
|
||||
"sqrtl",
|
||||
"sqrtf",
|
||||
"strcat",
|
||||
"strcpy",
|
||||
"strlen",
|
||||
"strncat",
|
||||
"strncpy",
|
||||
"strnlen",
|
||||
"tan",
|
||||
"tanl",
|
||||
"tanf",
|
||||
|
Loading…
Reference in New Issue
Block a user