aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-21 07:49:09 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-21 07:49:09 +0000
commit219ab405e6bea993da14cf3ce7b50983c3bb7a6f (patch)
treef91d265e59851bb2409eb6784c8a83b1d18b8267 /docs
parent137dccd5d86e0d0741f9560970f9b2952221d37c (diff)
downloadexternal_llvm-219ab405e6bea993da14cf3ce7b50983c3bb7a6f.zip
external_llvm-219ab405e6bea993da14cf3ce7b50983c3bb7a6f.tar.gz
external_llvm-219ab405e6bea993da14cf3ce7b50983c3bb7a6f.tar.bz2
Make mem[cpy,move,set] intrinsics overloaded.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 59be63b..f0cb5d4 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -5070,7 +5070,13 @@ for more efficient code generation.
<div class="doc_text">
<h5>Syntax:</h5>
+<p>This is an overloaded intrinsic. You can use llvm.memcpy on any integer bit
+width. Not all targets support all bit widths however.</p>
<pre>
+ declare void @llvm.memcpy.i8(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
+ i8 &lt;len&gt;, i32 &lt;align&gt;)
+ declare void @llvm.memcpy.i16(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
+ i16 &lt;len&gt;, i32 &lt;align&gt;)
declare void @llvm.memcpy.i32(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
i32 &lt;len&gt;, i32 &lt;align&gt;)
declare void @llvm.memcpy.i64(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
@@ -5124,7 +5130,13 @@ be set to 0 or 1.
<div class="doc_text">
<h5>Syntax:</h5>
+<p>This is an overloaded intrinsic. You can use llvm.memmove on any integer bit
+width. Not all targets support all bit widths however.</p>
<pre>
+ declare void @llvm.memmove.i8(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
+ i8 &lt;len&gt;, i32 &lt;align&gt;)
+ declare void @llvm.memmove.i16(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
+ i16 &lt;len&gt;, i32 &lt;align&gt;)
declare void @llvm.memmove.i32(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
i32 &lt;len&gt;, i32 &lt;align&gt;)
declare void @llvm.memmove.i64(i8 * &lt;dest&gt;, i8 * &lt;src&gt;,
@@ -5179,7 +5191,13 @@ be set to 0 or 1.
<div class="doc_text">
<h5>Syntax:</h5>
+<p>This is an overloaded intrinsic. You can use llvm.memset on any integer bit
+width. Not all targets support all bit widths however.</p>
<pre>
+ declare void @llvm.memset.i8(i8 * &lt;dest&gt;, i8 &lt;val&gt;,
+ i8 &lt;len&gt;, i32 &lt;align&gt;)
+ declare void @llvm.memset.i16(i8 * &lt;dest&gt;, i8 &lt;val&gt;,
+ i16 &lt;len&gt;, i32 &lt;align&gt;)
declare void @llvm.memset.i32(i8 * &lt;dest&gt;, i8 &lt;val&gt;,
i32 &lt;len&gt;, i32 &lt;align&gt;)
declare void @llvm.memset.i64(i8 * &lt;dest&gt;, i8 &lt;val&gt;,