llvm.org GIT mirror llvm / cdcbbfc
Grammar cop pullover: Corrected and improved some grammar in the description of the llvm.memset() intrinsic family. No content changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109863 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 9 years ago
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
61186118
61196119
Syntax:
61206120

This is an overloaded intrinsic. You can use llvm.memset on any integer bit

6121 width and for different address spaces. Not all targets support all bit
6122 widths however.

6121 width and for different address spaces. However, not all targets support all
6122 bit widths.

61236123
61246124

                  
                
61256125 declare void @llvm.memset.p0i8.i32(i8* <dest>, i8 <val>,
61336133 particular byte value.

61346134
61356135

Note that, unlike the standard libc function, the llvm.memset

6136 intrinsic does not return a value, takes extra alignment/volatile arguments,
6137 and the destination can be in an arbitrary address space.

6136 intrinsic does not return a value and takes extra alignment/volatile
6137 arguments. Also, the destination can be in an arbitrary address space.

61386138
61396139
Arguments:
61406140

The first argument is a pointer to the destination to fill, the second is the

6141 byte value to fill it with, the third argument is an integer argument
6141 byte value with which to fill it, the third argument is an integer argument
61426142 specifying the number of bytes to fill, and the fourth argument is the known
6143 alignment of destination location.

6143 alignment of the destination location.

61446144
61456145

If the call to this intrinsic has an alignment value that is not 0 or 1,

61466146 then the caller guarantees that the destination pointer is aligned to that