From 7f7390e035c20ec2dcbf122330bd76c18b98049b Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru
Date: Wed, 25 Jul 2012 22:01:31 +0000
Subject: Fix two typos in the doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160762 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LangRef.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/LangRef.html')
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 04c1bf8..4d05392 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2780,7 +2780,7 @@ second_end:
make it fit in TYPE.
inttoptr (CST to TYPE)
- Convert a integer constant to a pointer constant. TYPE must be a pointer
+ Convert an integer constant to a pointer constant. TYPE must be a pointer
type. CST must be of integer type. The CST value is zero extended,
truncated, or unchanged to make it fit in a pointer size. This one is
really dangerous!
--
cgit v1.1
From 27db99fcee85939f0b7580ad55303c4c60a3b98d Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Thu, 26 Jul 2012 17:43:27 +0000
Subject: Add a floor intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160791 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LangRef.html | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
(limited to 'docs/LangRef.html')
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 4d05392..ef58b98 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -258,6 +258,7 @@
'llvm.log.*' Intrinsic
'llvm.fma.*' Intrinsic
'llvm.fabs.*' Intrinsic
+ 'llvm.floor.*' Intrinsic
Bit Manipulation Intrinsics
@@ -7544,6 +7545,40 @@ LLVM.
+
+
+
+
+
+
Syntax:
+
This is an overloaded intrinsic. You can use llvm.floor on any
+ floating point or vector of floating point type. Not all targets support all
+ types however.
+
+
+ declare float @llvm.floor.f32(float %Val)
+ declare double @llvm.floor.f64(double %Val)
+ declare x86_fp80 @llvm.floor.f80(x86_fp80 %Val)
+ declare fp128 @llvm.floor.f128(fp128 %Val)
+ declare ppc_fp128 @llvm.floor.ppcf128(ppc_fp128 %Val)
+
+
+
Overview:
+
The 'llvm.floor.*' intrinsics return the floor of
+ the operand.
+
+
Arguments:
+
The argument and return value are floating point numbers of the same
+ type.
+
+
Semantics:
+
This function returns the same values as the libm floor functions
+ would, and handles error conditions in the same way.
+
+
+
--
cgit v1.1
From 249d670dd0f6f151858195701df64fbd005615e7 Mon Sep 17 00:00:00 2001
From: Chad Rosier
Date: Fri, 10 Aug 2012 00:00:22 +0000
Subject: [ms-inline asm] Add a new Inline Asm Non-Standard Dialect attribute.
This new attribute is intended to be used by the backend to determine how
the inline asm string should be parsed/printed. This patch adds the
ia_nsdialect attribute and also adds a test case to ensure the IR is
correctly parsed, but there is no functional change at this time.
The standard dialect is assumed to be AT&T. Therefore, this attribute
should only be added to MS-style inline assembly statements, which use
the Intel dialect. If we ever support more dialects we'll need to
add additional state to the attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161641 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LangRef.html | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'docs/LangRef.html')
diff --git a/docs/LangRef.html b/docs/LangRef.html
index ef58b98..0ea83dd 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -1208,6 +1208,13 @@ define void @f() optsize { ... }
may make calls to the function faster, at the cost of extra program
startup time if the function is not called during program startup.
+ ia_nsdialect
+ This attribute indicates the associated inline assembly call is using a
+ non-standard assembly dialect. The standard dialect is ATT, which is
+ assumed when this attribute is not present. When present, the dialect
+ is assumed to be Intel. Currently, ATT and Intel are the only supported
+ dialects.
+
inlinehint
This attribute indicates that the source code contained a hint that inlining
this function is desirable (such as the "inline" keyword in C/C++). It
--
cgit v1.1
From 32811bef956e0fae4329e6515420d85f7e510660 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Fri, 17 Aug 2012 18:33:14 +0000
Subject: Change the `linker_private_weak_def_auto' linkage to
`linkonce_odr_auto_hide' to make it more consistent with its intended
semantics.
The `linker_private_weak_def_auto' linkage type was meant to automatically hide
globals which never had their addresses taken. It has nothing to do with the
`linker_private' linkage type, which outputs the symbols with a `l' (ell) prefix
among other things.
The intended semantic is more like the `linkonce_odr' linkage type.
Change the name of the linkage type to `linkonce_odr_auto_hide'. And therefore
changing the semantics so that it produces the correct output for the linker.
Note: The old linkage name `linker_private_weak_def_auto' will still parse but
is not a synonym for `linkonce_odr_auto_hide'. This should be removed in 4.0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162114 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LangRef.html | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
(limited to 'docs/LangRef.html')
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 0ea83dd..810fce5 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -25,7 +25,6 @@
'private' Linkage
'linker_private' Linkage
'linker_private_weak' Linkage
- 'linker_private_weak_def_auto' Linkage
'internal' Linkage
'available_externally' Linkage
'linkonce' Linkage
@@ -34,6 +33,7 @@
'appending' Linkage
'extern_weak' Linkage
'linkonce_odr' Linkage
+ 'linkonce_odr_auto_hide' Linkage
'weak_odr' Linkage
'external' Linkage
'dllimport' Linkage
@@ -576,15 +576,6 @@ define i32 @main() { ; i32()*
linker. The symbols are removed by the linker from the final linked image
(executable or dynamic library).
- linker_private_weak_def_auto
- Similar to "linker_private_weak", but it's known that the address
- of the object is not taken. For instance, functions that had an inline
- definition, but the compiler decided not to inline it. Note,
- unlike linker_private and linker_private_weak,
- linker_private_weak_def_auto may have only default
- visibility. The symbols are removed by the linker from the final linked
- image (executable or dynamic library).
-
internal
Similar to private, but the value shows as a local symbol
(STB_LOCAL in the case of ELF) in the object file. This
@@ -653,6 +644,14 @@ define i32 @main() { ; i32()*
be merged with equivalent globals. These linkage types are otherwise the
same as their non-odr versions.
+ linkonce_odr_auto_hide
+ Similar to "linkonce_odr", but nothing in the translation unit
+ takes the address of this definition. For instance, functions that had an
+ inline definition, but the compiler decided not to inline it.
+ linkonce_odr_auto_hide may have only default visibility.
+ The symbols are removed by the linker from the final linked image
+ (executable or dynamic library).
+
external
If none of the above identifiers are used, the global is externally
visible, meaning that it participates in linkage and can be used to
--
cgit v1.1