simplify memcpy/memmove/memset intrinsics