search for: __memcpy_atomic

Displaying 1 result from an estimated 1 matches for "__memcpy_atomic".

2016 Nov 11
2
RFC: Add atomic versions of the llvm.memcpy, llvm.memmove and llvm.memset intrinsics
...emcpy_atomic is equivalent to the explicit IR loop in which each load and store is marked as unordered atomic. This definition should give sufficient freedom to the optimizer while allowing us to transform pre-existing IR loops into this intrinsics. 'memcpy_atomic' will be lowered into '__memcpy_atomic' library call (I'm not really certain about choosing function name). 'memset_atomic' and 'memmove_atomic' both can be defined in a similar way. It's tempting to model atomic behaviour by adding additional argument to the existing intrinsics. However by doing so we will...