projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d728e8
)
Add more functions
author
Chris Lattner
<sabre@nondot.org>
Sun, 9 Nov 2003 04:10:41 +0000
(
04:10
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 9 Nov 2003 04:10:41 +0000
(
04:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9826
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/IPA/CallGraph.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/IPA/CallGraph.cpp
b/lib/Analysis/IPA/CallGraph.cpp
index 5ee3d3cfa93523cd673526c5685d8db6498891e8..200e81fa26c25f49a5c9aec6aa9fa7ae4c2dd1a9 100644
(file)
--- a/
lib/Analysis/IPA/CallGraph.cpp
+++ b/
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",
};