diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2008-11-21 07:49:09 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2008-11-21 07:49:09 +0000 |
commit | 219ab405e6bea993da14cf3ce7b50983c3bb7a6f (patch) | |
tree | f91d265e59851bb2409eb6784c8a83b1d18b8267 /docs | |
parent | 137dccd5d86e0d0741f9560970f9b2952221d37c (diff) | |
download | external_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.html | 18 |
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 * <dest>, i8 * <src>, + i8 <len>, i32 <align>) + declare void @llvm.memcpy.i16(i8 * <dest>, i8 * <src>, + i16 <len>, i32 <align>) declare void @llvm.memcpy.i32(i8 * <dest>, i8 * <src>, i32 <len>, i32 <align>) declare void @llvm.memcpy.i64(i8 * <dest>, i8 * <src>, @@ -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 * <dest>, i8 * <src>, + i8 <len>, i32 <align>) + declare void @llvm.memmove.i16(i8 * <dest>, i8 * <src>, + i16 <len>, i32 <align>) declare void @llvm.memmove.i32(i8 * <dest>, i8 * <src>, i32 <len>, i32 <align>) declare void @llvm.memmove.i64(i8 * <dest>, i8 * <src>, @@ -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 * <dest>, i8 <val>, + i8 <len>, i32 <align>) + declare void @llvm.memset.i16(i8 * <dest>, i8 <val>, + i16 <len>, i32 <align>) declare void @llvm.memset.i32(i8 * <dest>, i8 <val>, i32 <len>, i32 <align>) declare void @llvm.memset.i64(i8 * <dest>, i8 <val>, |