Add a few more functions to TargetLibraryInfo. More of rdar://10500969.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier
2011-12-01 17:54:37 +00:00
parent 9b15ba934c
commit 32b6c59ad0
2 changed files with 52 additions and 1 deletions
+16 -1
View File
@@ -31,6 +31,9 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
"atan",
"atanl",
"atanf",
"atan2",
"atan2l",
"atan2f",
"ceil",
"ceill",
"ceilf",
@@ -56,6 +59,9 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
"floorl",
"floorf",
"fiprintf",
"fmod",
"fmodl",
"fmodf",
"fputs",
"fwrite",
"iprintf",
@@ -79,9 +85,18 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] =
"powf",
"powl",
"siprintf",
"sin",
"sinl",
"sinf",
"sqrt",
"sqrtl",
"sqrtf"
"sqrtf",
"tan",
"tanl",
"tanf",
"tanh",
"tanhl",
"tanhf"
};
/// initialize - Initialize the set of available library functions based on the