From 8ff4115ef0bcad0a46750bb2bd4376a61b346362 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 30 Nov 2011 19:19:00 +0000 Subject: Add a few functions to TargetLibraryInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145508 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/TargetLibraryInfo.cpp | 52 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) (limited to 'lib/Target/TargetLibraryInfo.cpp') diff --git a/lib/Target/TargetLibraryInfo.cpp b/lib/Target/TargetLibraryInfo.cpp index ba318e181f..f21e7ff9be 100644 --- a/lib/Target/TargetLibraryInfo.cpp +++ b/lib/Target/TargetLibraryInfo.cpp @@ -22,18 +22,66 @@ char TargetLibraryInfo::ID = 0; const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] = { + "acos", + "acosl", + "acosf", + "asin", + "asinl", + "asinf", + "atan", + "atanl", + "atanf", + "ceil", + "ceill", + "ceilf", + "cos", + "cosl", + "cosf", + "cosh", + "coshl", + "coshf", + "exp", + "expl", + "expf", + "exp2", + "exp2l", + "exp2f", + "expm1", + "expm1l", + "expl1f", + "fabs", + "fabsl", + "fabsf", + "floor", + "floorl", + "floorf", "fiprintf", "fputs", "fwrite", "iprintf", + "log", + "logl", + "logf", + "log2", + "log2l", + "log2f", + "log10", + "log10l", + "log10f", + "log1p", + "log1pl", + "log1pf", "memcpy", "memmove", "memset", "memset_pattern16", + "pow", + "powf", + "powl", "siprintf", "sqrt", - "sqrtf", - "sqrtl" + "sqrtl", + "sqrtf" }; /// initialize - Initialize the set of available library functions based on the -- cgit v1.2.3