Add a few functions to TargetLibraryInfo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier
2011-11-30 19:19:00 +00:00
parent 13af222bab
commit 8ff4115ef0
2 changed files with 148 additions and 15 deletions

View File

@ -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