[llvm-dev] intrinsics

Friedman, Eli via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 11 11:33:10 PDT 2017

On 7/11/2017 11:19 AM, Anastasiya Ruzhanskaya wrote:
> And are such intrinsics, as memset, memcpy, memmove replaced by 
> standard library calls? This is said in sources, that it looks for 
> such functions in global symbol table.

The backend will sometimes generate a call to the C library memset, 
memcpy, or memmove to lower a call to the LLVM intrinsics with the same 
name.  Depending on the target/optimization flags/length of the 
operation, in some cases it will generate inline code, or generate a 
call to a function with a different name.


Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170711/f495eb62/attachment.html>

More information about the llvm-dev mailing list