Sean McQuillan
2009-Jun-18 01:11 UTC
[LLVMdev] User question, using IRBuilder to generate a llvm.memcpy instruction.
Hello, If this is not the correct list to ask this question on I apologize. I am attempting to generate a llvm.memcpy instruction with an IRBuilder but I cannot find the appropriate way to do this. Thanks in advance, Sean -- Sean (Fritz) McQuillan - http://sean-mcquillan.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090617/d52bbce6/attachment.html>
Jeffrey Yasskin
2009-Jun-18 01:34 UTC
[LLVMdev] User question, using IRBuilder to generate a llvm.memcpy instruction.
http://code.google.com/p/unladen-swallow/source/browse/trunk/Python/llvm_fbuilder.cc#733 has an example of creating a memcpy call. For non-Python code, you'll want to cast the arguments to "TypeBuilder<llvm::types::i<8>*, true>::get()" instead. On Wed, Jun 17, 2009 at 6:11 PM, Sean McQuillan<mcquillan.sean at gmail.com> wrote:> Hello, > If this is not the correct list to ask this question on IĀ apologize. > I am attempting to generate a llvm.memcpy instruction with an IRBuilder but > I cannot find the appropriate way to do this. > Thanks in advance, > Sean > -- > Sean (Fritz) McQuillan - http://sean-mcquillan.com/