summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-09-24 18:38:21 +0000
committerDale Johannesen <dalej@apple.com>2009-09-24 18:38:21 +0000
commit68f971b1d67d51272f5c141fc9e4740e27e279f4 (patch)
treef55ebbcbd8592791d51919c20746d4915868e8b3 /llvm/docs
parent21bd8c9fc5e3a17b0d593c5b6f9c66c353a2eed8 (diff)
downloadbcm5719-llvm-68f971b1d67d51272f5c141fc9e4740e27e279f4.tar.gz
bcm5719-llvm-68f971b1d67d51272f5c141fc9e4740e27e279f4.zip
Clarify that llvm attaches C language semantics to
functions with names that match the C library. llvm-svn: 82701
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index bdc9e170642..1331b021c10 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -5045,6 +5045,13 @@ Loop: ; Infinite loop that counts from 0 on up...
%ZZ = call zeroext i32 @bar() <i>; Return value is %zero extended</i>
</pre>
+<p>llvm treats calls to some functions with names and arguments that match the
+standard C library as being the C library functions, and may perform
+optimizations or generate code for them under that assumption. These
+functions currently include:
+acos, asin, atan, atan2, ceil, cos, cosf, cosh, exp, fabs, floor, fmod, log,
+log10, malloc, pow, sin, sinh, sqrt, sqrtf, sin, sinf, tan, tanh.</p>
+
</div>
<!-- _______________________________________________________________________ -->
OpenPOWER on IntegriCloud