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 | 32b6c59ad068d2bb2466dd33bc17d8c865760215 (patch) | |
tree | 627e5e70bf4027e103fd474e131d18192f03df64 /lib/Target/TargetLibraryInfo.cpp | |
parent | 9b15ba934ceb7015d82fedb169781ab645682e36 (diff) |
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
Diffstat (limited to 'lib/Target/TargetLibraryInfo.cpp')
-rw-r--r-- | lib/Target/TargetLibraryInfo.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/Target/TargetLibraryInfo.cpp b/lib/Target/TargetLibraryInfo.cpp index f21e7ff9be..0ab0d3123b 100644 --- a/lib/Target/TargetLibraryInfo.cpp +++ b/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 |