From 0841e63ede092283d824843a068df3f7b0b90dd8 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 24 Jul 2012 17:25:06 +0000 Subject: TargetLibraryInfo: add strn?cat, strn?cpy, and strn?len git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160678 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetLibraryInfo.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include') diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h index c8cacf2..0b7bc05 100644 --- a/include/llvm/Target/TargetLibraryInfo.h +++ b/include/llvm/Target/TargetLibraryInfo.h @@ -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); -- cgit v1.1