diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-12-01 17:54:37 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-12-01 17:54:37 +0000 |
commit | 10fe1fe39e9abe4248fd95b9b0ce5e4ce464f8e9 (patch) | |
tree | bcb5430fd2092b6456449de4f99f51e80a8623df /llvm/lib/Target/TargetLibraryInfo.cpp | |
parent | f433c08659f61fd34b970c83c6b99318534f8bfa (diff) | |
download | llvm-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.cpp | 17 |
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 |