aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
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
commit32b6c59ad068d2bb2466dd33bc17d8c865760215 (patch)
tree627e5e70bf4027e103fd474e131d18192f03df64 /include/llvm
parent9b15ba934ceb7015d82fedb169781ab645682e36 (diff)
downloadexternal_llvm-32b6c59ad068d2bb2466dd33bc17d8c865760215.zip
external_llvm-32b6c59ad068d2bb2466dd33bc17d8c865760215.tar.gz
external_llvm-32b6c59ad068d2bb2466dd33bc17d8c865760215.tar.bz2
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 'include/llvm')
-rw-r--r--include/llvm/Target/TargetLibraryInfo.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLibraryInfo.h b/include/llvm/Target/TargetLibraryInfo.h
index a474f9e..2509870 100644
--- a/include/llvm/Target/TargetLibraryInfo.h
+++ b/include/llvm/Target/TargetLibraryInfo.h
@@ -36,6 +36,12 @@ namespace llvm {
atanl,
/// float atanf(float x);
atanf,
+ /// double atan2(double y, double x);
+ atan2,
+ /// long double atan2l(long double y, long double x);
+ atan2l,
+ /// float atan2f(float y, float x);
+ atan2f,
/// double ceil(double x);
ceil,
/// long double ceill(long double x);
@@ -86,6 +92,12 @@ namespace llvm {
floorf,
/// int fiprintf(FILE *stream, const char *format, ...);
fiprintf,
+ /// double fmod(double x, double y);
+ fmod,
+ /// long double fmodl(long double x, long double y);
+ fmodl,
+ /// float fmodf(float x, float y);
+ fmodf,
/// int fputs(const char *s, FILE *stream);
fputs,
/// size_t fwrite(const void *ptr, size_t size, size_t nitems,
@@ -131,6 +143,18 @@ namespace llvm {
powf,
/// long double powl(long double x, long double y);
powl,
+ /// double sin(double x);
+ sin,
+ /// long double sinl(long double x);
+ sinl,
+ /// float sinf(float x);
+ sinf,
+ /// double sinh(double x);
+ sinh,
+ /// long double sinhl(long double x);
+ sinhl,
+ /// float sinhf(float x);
+ sinhf,
/// int siprintf(char *str, const char *format, ...);
siprintf,
/// double sqrt(double x);
@@ -139,6 +163,18 @@ namespace llvm {
sqrtl,
/// float sqrtf(float x);
sqrtf,
+ /// double tan(double x);
+ tan,
+ /// long double tanl(long double x);
+ tanl,
+ /// float tanf(float x);
+ tanf,
+ /// double tanh(double x);
+ tanh,
+ /// long double tanhl(long double x);
+ tanhl,
+ /// float tanhf(float x);
+ tanhf,
NumLibFuncs
};