aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/TargetLibraryInfo.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-12-01 17:54:37 +0000
committerChad Rosier <mcrosier@apple.com>2011-12-01 17:54:37 +0000
commit10fe1fe39e9abe4248fd95b9b0ce5e4ce464f8e9 (patch)
treebcb5430fd2092b6456449de4f99f51e80a8623df /llvm/lib/Target/TargetLibraryInfo.cpp
parentf433c08659f61fd34b970c83c6b99318534f8bfa (diff)
downloadllvm-10fe1fe39e9abe4248fd95b9b0ce5e4ce464f8e9.zip
llvm-10fe1fe39e9abe4248fd95b9b0ce5e4ce464f8e9.tar.gz
llvm-10fe1fe39e9abe4248fd95b9b0ce5e4ce464f8e9.tar.bz2
Add a few more functions to TargetLibraryInfo. More of rdar://10500969.
llvm-svn: 145596
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetLibraryInfo.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetLibraryInfo.cpp b/llvm/lib/Target/TargetLibraryInfo.cpp
index f21e7ff..0ab0d31 100644
--- a/llvm/lib/Target/TargetLibraryInfo.cpp
+++ b/llvm/lib/Target/TargetLibraryInfo.cpp
@@ -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