diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-11-09 04:10:41 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-11-09 04:10:41 +0000 |
| commit | 950c75f13508bdbd1be313d6a1c5668fc6a6eef1 (patch) | |
| tree | 9d8ef128b88e067b8ac0c2c3933c0877d3295f08 /llvm/lib | |
| parent | 5011b956a971d29c81069669c9bf4a86d37988e8 (diff) | |
| download | bcm5719-llvm-950c75f13508bdbd1be313d6a1c5668fc6a6eef1.tar.gz bcm5719-llvm-950c75f13508bdbd1be313d6a1c5668fc6a6eef1.zip | |
Add more functions
llvm-svn: 9826
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index 5ee3d3cfa93..200e81fa26c 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -126,6 +126,12 @@ static const char * const KnownExternalFunctions[] = { "__strtod_l", "__strtold_l", + // Math functions + "exp", "sqrt", "cbrt", "hypot", + "log", "log10", "pow", + "sin", "cos", "tan", + "asin", "acos", "atan", "atan2", + // Locale functions "__uselocale", "__newlocale", @@ -143,6 +149,8 @@ static const char * const KnownExternalFunctions[] = { // Random stuff "__assert_fail", "__errno_location", + "clock", "time", + "__main", }; |

